[issue7077] SysLogHandler can't handle Unicode

2010-07-26 Thread Georg Brandl
Georg Brandl added the comment: There is indeed a problem with the patch: the BOM is put in front of the angle brackets indicating the priority/facility, so the syslog can't find it anymore. The BOM should be put after the brackets. -- nosy: +georg.brandl status: closed -&

[issue9354] file_wrapper fails to provide getsockopt()

2010-07-28 Thread Georg Brandl
Georg Brandl added the comment: Applied in r83201. Thanks! -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue1682942] ConfigParser support for alt delimiters

2010-07-28 Thread Georg Brandl
Georg Brandl added the comment: Looks good to me. -- ___ Python tracker <http://bugs.python.org/issue1682942> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1682942] ConfigParser support for alt delimiters

2010-07-28 Thread Georg Brandl
Georg Brandl added the comment: Committed an extensively edited patch in r83202. Thanks all! -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue6538] MatchObject is not a hyperlink in the 're' module documentation

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Should be fixed now in r83218. I've removed the "class" directives, and put generic class name substitutes "regex" and "pattern" in the method descriptions, like we do for "contextmanager.__enter__". I've

[issue9411] configparser doesn't support specifying encoding in read()

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Applied in r83220. The **kwds change for some methods should be done separately. -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9412] test_smtpd leaks references

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: The culprit was indeed DummyServer.messages. Fixed in r83222. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9414] infinite loop with specific regexp

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: This is very probably a duplicate of #1662581. When testing both your regexes with the new engine from #2636, the match is not found/found instantaneously. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -&g

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Wishlist item: could you give the regex and match classes nicer names, so that they can be referenced as `regex.Pattern` (or `regex.Regex`) and `regex.Match`? -- ___ Python tracker <http://bugs.python.org/issue2

[issue3874] documentation bug: HTMLParser needs to document unknown_decl

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Applied with some tweaks in r83223. Thanks Jeff and Terry! -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9399] Provide a 'print' action for argparse

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Sounds like a good addition to me. -- assignee: -> bethard nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/iss

[issue965065] document docs.python.org in PEP-101

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Yes, the current wording in the PEP should be sufficient. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/is

[issue3964] quiet the freeze makefile

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Isn't the usual way to use "make -s" if you don't want echoed commands? -- nosy: +georg.brandl ___ Python tracker <http://bu

[issue5945] PyMapping_Check returns 1 for lists

2010-07-29 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> priority: high -> normal ___ Python tracker <http://bugs.python.org/issue5945> ___ ___ Python-bugs-

[issue8077] cgi handling of POSTed files is broken

2010-07-29 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> ___ Python tracker <http://bugs.python.org/issue8077> ___ ___ Python-bugs-list mailing list Unsubscri

[issue745002] <> in attrs in sgmllib not handled

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Setting #1504333 which has a patch as superseder. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> sgmllib should allow angle brackets in quoted values ___ Python track

[issue3964] quiet the freeze makefile

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Well, at least -s is mentioned in my POSIX make(1p) manpage, and I found it in an online version of the OpenBSD manpages. -- ___ Python tracker <http://bugs.python.org/issue3

[issue1090076] Defaults in ConfigParser.get overrides section values

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Committed doc patch similar to Raghuram's in r83226. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.or

[issue9407] ConfigParser documentation does not mention ConfigParser.Error as base exception class for ConfigParser exceptions

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Applied in r83229. Thanks! -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue7447] Sum() doc and behavior mismatch

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: from_iterable() was marked up wrongly in the itertools docs; this is fixed now in r83230. -- ___ Python tracker <http://bugs.python.org/issue7

[issue9401] automatically try forward operations when reverse operations are NotImplemented

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: This might work for (normally) commutative operations like multiplication and addition, but what about those like subtraction? If the interpreter uses the non-reversed method automatically, it has to apply semantics, but the semantics depend on the type and

[issue9397] Remove references to the missing dbm.bsd module

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Removed in r83231, thanks. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9388] locale documentation describes non-existing ERA_YEAR constant

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r83232. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9386] Bad indentation in urllib import fixer with multiple imports

2010-07-29 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> benjamin.peterson ___ Python tracker <http://bugs.python.org/issue9386> ___ ___ Python-bugs-list mailing list Un

[issue9418] Move _formatter_* methods from string type into _string module

2010-07-29 Thread Georg Brandl
New submission from Georg Brandl : Currently, the string type has two single-underscore methods, _formatter_parser and _formatter_field_name_split, that expose details of the new string formatting implementation to Python, so that it can be used by the string.Formatter class. This patch

[issue9417] Declaring a class creates circular references

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: I couldn't imagine why a metaclass would want to have a __del__ method... -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/i

[issue1581182] Definition of a "character" is wrong

2010-07-29 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> ___ Python tracker <http://bugs.python.org/issue1581182> ___ ___ Python-bugs-list mailing list Unsubscri

[issue6522] docs for unittest.expectedFailure do not syntactically show it's a decorator

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Done in r83234. Thanks for the suggestion! -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9417] Declaring a class creates circular references

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Whether this is a bug is not clear. Sometimes it's just impossible not to create cycles, and classes may just be one instance of that. -- ___ Python tracker <http://bugs.python.org/i

[issue9417] Declaring a class creates circular references

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: This is not so easy: the __mro__ tuple, as its name says, is used internally for method resolution, or finding attributes on the type's bases. __objclass__ is used whenever the descriptor is accessed. These operations are involved in every method call

[issue1195571] simple callback system for Py_FatalError

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Amaury, any interest in getting this committed for 3.2? -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue1195

[issue6480] code.runsource() parsing bug

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: code.runsource() uses the "single" start symbol by default, which will parse only a single statement. Only your second snippet is a single statement, while the others are two statements. -- nosy: +georg.brandl resolution: -> invalid

[issue6504] infinite recursion from calling builtins.open()

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Cannot reproduce with current 3.2 trunk, closing. -- resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6612] 'import site' fails when called from an unlinked directory

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: I'm quite sure nobody will want to do anything about it... -- nosy: +georg.brandl status: open -> languishing ___ Python tracker <http://bugs.python.or

[issue6630] string.Template custom pattern not working

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Added in r83236. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue6535] optparse required field for Options

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: I don't think optparse will get this update -- new features should go into argparse instead. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed ___ Python tracker <http://b

[issue1710703] zipfile.ZipFile behavior inconsistent.

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Alan, I've updated the patch for current 3.2 trunk, see attached, but the new test now fails. Can you find out why? -- nosy: +georg.brandl versions: +Python 3.2 -Python 2.7 Added file: http://bugs.python.org/file18257/zipfile_empty

[issue6156] Error compiling valid regex

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Closing in favor of #2636, which allows this regex to be compiled. -- resolution: -> out of date status: open -> closed superseder: -> Regexp 2.7 (modifications to current re 2.2.2) ___ Python track

[issue4108] robotparser.py fail when more than one User-Agent: * is present

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the patch, fixed in r83238. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue1773632] Remove references to _xmlrpclib from xmlrpclib.py

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Same here. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue9366] Reference leak for local new style class

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: This is caused by the fact that new-style classes create reference cycles. Try calling the cyclic garbage collector using gc.collect() after the function call, and the leaked references will vanish again. -- nosy: +georg.brandl resolution

[issue6612] 'import site' fails when called from an unlinked directory

2010-07-29 Thread Georg Brandl
Georg Brandl added the comment: Thanks! Reopening. -- components: +Library (Lib) stage: -> patch review status: languishing -> open type: -> behavior versions: +Python 3.1, Python 3.2 -Python 2.5, Python 2.6 ___ Python track

[issue4179] pdb: Allow the "list" command to return to the currently debugged line

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Implemented in r83260. Thanks for the patch! -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9230] pdb.Pdb.checkline() throws AttributeError if called before starting a debug session

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r83261. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue1437051] "continue" in .pdbrc has no effect

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the patience, this is now fixed in r83262. I also added a -c option so that you can give the "continue" on the command line, not put it in the .pdbrc file. -- nosy: +georg.brandl resolution: -> fixed status: o

[issue7964] "-m pdb" SyntaxError for "\r\n" formatted py files

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: This is fixed in py3k trunk by other means; exec() now accepts bytestrings with "unusual" newlines. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed ___ Pytho

[issue8015] pdb "commands" command throws you into postmortem if you enter an empty command

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r83265. Thanks! -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue1472251] pdb 'run' crashes when the it's first argument is non-string

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Committed in trunk r83266; file objects are no longer allowed for exec(), therefore I dropped mentions of that. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker

[issue7539] unicode exceptions terminate pdb.pm() loop

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Thanks, applied to 2.7 branch in r83267. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue8048] doctest assumes sys.displayhook hasn't been touched

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Thanks, applied to 3k in r83268. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue4938] Pdb cannot access doctest source in postmortem

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: I think this is just too complicated to implement in a sane way. doctest+pdb is just a bit too hacky to be fully supported. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___ Python t

[issue6719] pdb messes up when debugging an non-ascii program

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Thanks, applied in r83269. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue5727] doctest pdb readline broken

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r83271. I think the first patch's approach is better, since it does not affect pdb, only doctest's adaption of pdb. Consequently, I couldn't use the test case; thanks anyway for that! -- resolution: -> fixed stat

[issue5294] pdb "break" command messes up "continue"

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r83272 with a slightly different patch. Thanks very much for the report! -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue3143] Make the left sidebar in the doc collapsible

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Now used in trunk docs, r83274. -- resolution: remind -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue809887] Improve pdb breakpoint feedback

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the patch; I've committed a modified and extended version in r83275. -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.python.o

[issue7964] "-m pdb" SyntaxError for "\r\n" formatted py files

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Yes, you're right. Committed in r83283. -- ___ Python tracker <http://bugs.python.org/issue7964> ___ ___ Python-bugs-list m

[issue1503502] Pdb doesn't call flush on its stdout file descriptor

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: This has been implemented in the course of r83286. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue6246] Python debugger ignores exception if instructed to return from generator

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: This is no special behavior with generators. If you remove the "yield" statement, you will get similar output with the exception bubbling up the stack. -- nosy: +georg.brandl resolution: -> works for me status: o

[issue7245] better Ctrl-C support in pdb (program can be resumed) (issue216067)

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: I committed the "commands" part of the patch in r83308. For the SIGINT part, I'm concerned that the SIGINT handler is set in the Pdb constructor, since it's a processwide setting I think it should a) be set only before sys.settrace(

[issue7245] better Ctrl-C support in pdb (program can be resumed) (issue216067)

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Adding the rest of the patch adapted for py3k trunk as of today. -- keywords: +patch Added file: http://bugs.python.org/file18277/pdb-keyboardinterrupt.diff ___ Python tracker <http://bugs.python.org/issue7

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Deferring to after 3.2a1. -- priority: release blocker -> deferred blocker ___ Python tracker <http://bugs.python.org/iss

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: This will have to wait until after alpha1, as well. -- dependencies: +Rewrite import machinery to work with unicode paths nosy: +georg.brandl priority: release blocker -> deferred blocker ___ Python tracker &l

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Committed 2.6 patch in r83314. -- ___ Python tracker <http://bugs.python.org/issue2986> ___ ___ Python-bugs-list mailin

[issue9430] Document str() and repr() of timedelta.

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Committed in r83341. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9432] unquote(None) raises AttributeError - Instead of TypeError

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: I'd say keep the AttributeError too. This is not different from many other functions that fail variously with random types fed into them. -- nosy: +georg.brandl status: open -> closed ___ Python tracke

[issue4650] getopt need re-factor...

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: getopt.error is now in 3k for a few releases, so the opportunity to remove is gone. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9431] 2to3 reapplies fix_dict

2010-07-31 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue9431> ___ ___ Python-

[issue9429] 2to3 does not rename test.test_support to test.support

2010-07-31 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue9429> ___ ___ Python-

[issue9116] test_capi.test_no_FatalError_infinite_loop crash on Windows

2010-07-31 Thread Georg Brandl
Changes by Georg Brandl : -- priority: release blocker -> deferred blocker ___ Python tracker <http://bugs.python.org/issue9116> ___ ___ Python-bugs-list mai

[issue9435] test_distutils fails without zlib

2010-07-31 Thread Georg Brandl
New submission from Georg Brandl : Noticed it in 3.2a1, but probably present on other branches. It should not fail, but skip these tests. -- assignee: tarek components: Distutils messages: 112157 nosy: georg.brandl, tarek priority: normal severity: normal stage: needs patch status

[issue9410] Add Unladen Swallow's optimizations to Python 3's pickle.

2010-07-31 Thread Georg Brandl
Changes by Georg Brandl : -- title: Add Unladden Swallow's optimizations to Python 3's pickle. -> Add Unladen Swallow's optimizations to Python 3's pickle. ___ Python tracker <http:/

[issue9440] Remove bad assert in TestDateTime.test_microsecond_rounding

2010-07-31 Thread Georg Brandl
New submission from Georg Brandl : The last assertion in TestDateTime.test_microsecond_rounding does not test a predictable outcome. For example, on my box it passes with pydebug enabled and fails without. It should just be removed. -- assignee: belopolsky components: Tests messages

[issue9440] Remove bad assert in TestDateTime.test_microsecond_rounding

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Removed in r83352. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue9440> ___ __

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-07-31 Thread Georg Brandl
Changes by Georg Brandl : -- priority: deferred blocker -> release blocker ___ Python tracker <http://bugs.python.org/issue2986> ___ ___ Python-bugs-list mai

[issue9116] test_capi.test_no_FatalError_infinite_loop crash on Windows

2010-07-31 Thread Georg Brandl
Changes by Georg Brandl : -- priority: deferred blocker -> release blocker ___ Python tracker <http://bugs.python.org/issue9116> ___ ___ Python-bugs-list mai

[issue8611] Python3 doesn't support locale different than utf8 and an non-ASCII path (POSIX)

2010-07-31 Thread Georg Brandl
Changes by Georg Brandl : -- priority: deferred blocker -> release blocker ___ Python tracker <http://bugs.python.org/issue8611> ___ ___ Python-bugs-list mai

[issue8638] Remove suggestion for name mangling from the tutorial

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: No objections noted, closing. -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue8638> ___ ___ Py

[issue8005] datetime's comparison methods do not return NotImplemented when they should

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Closing now. -- nosy: +georg.brandl resolution: out of date -> wont fix status: pending -> closed ___ Python tracker <http://bugs.python.org/

[issue9328] str.__format__.__doc__ backport glitch

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r83354. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue1711605] CGIHttpServer leaves traces of previous requests in env

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: #9272 has a patch. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> CGIHTTPServer poisons os.environ ___ Python tracker <http://bugs.python.org/

[issue5778] sys.version format differs between MSC and GCC

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Hmm, in Python/getcompiler.c there is an explicit \n before [GCC ...], and this is why: r17259 | gvanrossum | 2000-09-05 06:40:39 +0200 (Di, 05. Sep 2000) The GCC version is loong

[issue2830] Copy cgi.escape() to html

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: In light of #9061, it should also start quoting single quotes when the arg is true. Since this function is called a LOT, it might also make sense to trivially implement it in C. If there are no objections, I can do that for 3.2. -- nosy

[issue1700304] pydoc.help samples sys.stdout and sys.stdin at import time

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Duplicate of #8198. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> Importing pydoc and overwriting sys.stdout, causes one char to be sent to the console when cal

[issue6829] Frendly error message when inheriting from function

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: In Python 3, due to the new class creation the somewhat confusing message augmentation has been removed altogether, and for me there seems to be no way to add a better message about base class types somewhere without making too many assumptions

[issue9061] cgi.escape Can Lead To XSS Vulnerabilities

2010-07-31 Thread Georg Brandl
Changes by Georg Brandl : -- priority: normal -> release blocker ___ Python tracker <http://bugs.python.org/issue9061> ___ ___ Python-bugs-list mailing list Un

[issue5778] sys.version format differs between MSC and GCC

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Agreed. I've also added a sentence in the docs (r83357) that a newline may be present. -- resolution: -> wont fix status: open -> closed ___ Python tracker <http://bugs.python

[issue9442] Update sys.version doc

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Yes, this is even better than my fix for #5778. Changed in r83358 to: A string containing the version number of the Python interpreter plus additional information on the build number and compiler used. This string is displayed when the interactive

[issue1286] fileinput, StringIO, and cStringIO do not support the with protocol

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: For 3.x, the builtin io.StringIO and io.BytesIO already have context manager capability. Added fileinput in r83359. -- resolution: -> accepted status: open -> closed ___ Python tracker <http://bugs.p

[issue9442] Update sys.version doc

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: I think it meant that '3.2' is the string used for determining the /usr/lib/python3.2 directory name. -- ___ Python tracker <http://bugs.python.

[issue3788] test_cookie isn't comprehensive

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Committed new tests together with extensive cleanup of http.cookies in r83361, coverage is now at 95%. -- nosy: +georg.brandl resolution: -> accepted status: open -> closed ___ Python tracker

[issue1144533] htmllib quote parse error within a

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Now that htmllib has been removed in Python 3, I don't think this is worth working on. As Richard notes, it is much more useful to use a dedicated parser insensitive to all kinds of wrong markup anyway. -- nosy: +georg.brandl resolution: ->

[issue1015249] cgi.FieldStorage.__len__ eventually throws TypeError

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: I don't see the bug here. -- nosy: +georg.brandl resolution: -> works for me status: open -> closed ___ Python tracker <http://bugs.python.or

[issue1174606] Reading /dev/zero causes SystemError

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Don't think this qualifies for 2.6 anymore. -- nosy: +georg.brandl status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue8910] Write a text file explaining why Lib/test/data exists

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Added in r83362. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue1375] hotshot IndexError when loading stats

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Duplicate of #1019882. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> hotshot start / stop stats bug ___ Python tracker <http://bugs.python.o

[issue1019882] hotshot start / stop stats bug

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: #1375 has a patch. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue1019882> ___ ___ Python-bugs-list mailin

[issue1019882] hotshot start / stop stats bug

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r83365 with patch from #1375. -- resolution: -> fixed status: open -> closed versions: +Python 2.7 -Python 2.6 ___ Python tracker <http://bugs.python.org/iss

[issue7909] os.path.abspath(os.devnull) returns \\\\nul should be nul?

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Followed Amaury's suggestion in r83368. \\.\ and \\?\ as prefixes now cause normpath() to return the argument as-is. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tra

[issue8198] Importing pydoc and overwriting sys.stdout, causes one char to be sent to the console when calling help()

2010-07-31 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r83370 by making input and output properties -- as Daniel noted, that is a nice and backwards compatible solution. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python t

<    43   44   45   46   47   48   49   50   51   52   >