[ python-Feature Requests-1144057 ] future warning in commets
SourceForge.net
noreply at sourceforge.net
Mon Feb 21 10:17:43 CET 2005
Feature Requests item #1144057, was opened at 2005-02-18 22:10
Message generated for change (Comment added) made by doerwalter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1144057&group_id=5470
Category: Parser/Compiler
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Grzegorz Makarewicz (makaron)
Assigned to: Nobody/Anonymous (nobody)
Summary: future warning in commets
Initial Comment:
Python uses '#' as start of comment, generally these
lines can (should) be ignored by python compiler but ..
deprecation warnings are issued when comment contains
non ascii letters - ord(ch) not in range 0-127
can we disable it in this situation ?
----------------------------------------------------------------------
>Comment By: Walter Dörwald (doerwalter)
Date: 2005-02-21 10:17
Message:
Logged In: YES
user_id=89016
I don't think we should change this. The encoding is
something that affects the whole file not just the
executable part of it. When a file that claims to be ASCII
contains bytes > 0x7f there's something fishy going on, no
matter where these bytes are.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1144057&group_id=5470
More information about the Python-bugs-list
mailing list