[issue5117] os.path.relpath problem with root directory

2010-10-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Well, I said msg80877 past, and I think so too, but os.path module of python2.x seems not to support UNC correctly, and I'm not sure if the behavior change is allowed here. Probably UNC support is new feature, so I'll attach the

[issue1710703] zipfile.ZipFile behavior inconsistent.

2010-10-02 Thread Alan McIntyre
Changes by Alan McIntyre alan.mcint...@gmail.com: Removed file: http://bugs.python.org/file9144/empty-zipfile.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1710703 ___

[issue10017] pprint.pprint raises TypeError on dictionaries with user-defined types as keys

2010-10-02 Thread Arnaud Delobelle
New submission from Arnaud Delobelle arno...@googlemail.com: The pprint function in the python 3.1 pprint module fails when printing a dictionary containing more than one item and with one item being a user-defined type. It seems pprint tries to sort the keys but fails, (maybe because calling

[issue1710703] zipfile.ZipFile behavior inconsistent.

2010-10-02 Thread Alan McIntyre
Alan McIntyre alan.mcint...@gmail.com added the comment: My apologies if Georg was waiting on me to say, Yes. :-) I've attached an updated patch that has the NEWS/doc changes Antoine mentioned. I also just checked that the tests still pass on Linux against the current trunk, and that the

[issue1710703] zipfile.ZipFile behavior inconsistent.

2010-10-02 Thread Alan McIntyre
Changes by Alan McIntyre alan.mcint...@gmail.com: Removed file: http://bugs.python.org/file18534/zipfile_empty2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1710703 ___

[issue4661] email.parser: impossible to read messages encoded in a different encoding

2010-10-02 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Rietveld issue, with a small doc addition compared to pach4: http://codereview.appspot.com/2362041 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4661

[issue9647] os.confstr() does not handle value changing length between calls

2010-10-02 Thread David Watson
David Watson bai...@users.sourceforge.net added the comment: If I understood correctly, you don't want the value to be truncated if the variable grows between the two calls to confstr(). Which behaviour would you expect? A Python exception? A return size larger than the buffer is

[issue6792] Distutils-based installer does not detect 64bit versions of Python

2010-10-02 Thread dontbugme
dontbugme pythonbugsbugme...@spamavert.com added the comment: you can add InstallPath key with the corresponding value at [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.6\] if you want disutils installer to detect your python That makes him detect and install the librarys or

[issue4661] email.parser: impossible to read messages encoded in a different encoding

2010-10-02 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Upload svn patch, so that Martin's new rietveld support will (hopefully) create an automatic review link. -- Added file: http://bugs.python.org/file19113/email_parse_bytes5.diff ___ Python

[issue6792] Distutils-based installer does not detect 64bit versions of Python

2010-10-02 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6792 ___ ___

[issue10017] pprint.pprint raises TypeError on dictionaries with user-defined types as keys

2010-10-02 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10017 ___ ___

[issue9369] const char* for PyObject_CallMethod and PyObject_CallFunction

2010-10-02 Thread Andreas Stührk
Changes by Andreas Stührk andy-pyt...@hammerhartes.de: -- nosy: +Trundle ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9369 ___ ___

[issue1210680] Split email headers near a space

2010-10-02 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Since no test case has been provided I am closing this issue. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1210680

[issue6792] Distutils-based installer does not detect 64bit versions of Python

2010-10-02 Thread Jeremy Kloth
Changes by Jeremy Kloth jeremy.kl...@gmail.com: -- nosy: +jkloth ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6792 ___ ___ Python-bugs-list

[issue9800] Fast path for small int-indexing of lists and tuples

2010-10-02 Thread Daniel Stutzbach
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment: For what it's worth, a similar fast path existed in Python 2 for lists (but not tuples). It was removed for Python 3. I'm not sure why it was removed, but it may have been part of removing the PyInt type. -- nosy:

[issue1078919] email.Header (via add_header) encodes non-ASCII content incorrectly

2010-10-02 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I don't believe either the example that other mailers reject or the one that they accept are in fact RFC compliant. Encoded words are not supposed to occur in (structured) MIME headers. The behavior observed is a consequence of all

[issue9873] urllib.parse: Allow bytes in some APIs that use string literals internally

2010-10-02 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: As per RDM's email to python-dev, a better way to create the pseudo_str values would be by decoding as ascii with a surrogate escape error handler rather than by decoding as latin-1. -- ___ Python

[issue1078919] email.Header (via add_header) encodes non-ASCII content incorrectly

2010-10-02 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Here is a patch. -- keywords: +patch stage: unit test needed - patch review Added file: http://bugs.python.org/file19114/add_header.patch ___ Python tracker rep...@bugs.python.org

[issue6302] email.header.decode_header data types are inconsistent and incorrectly documented

2010-10-02 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Here is a patch that makes the output consistently (bytes, string) pairs. This is definitely a potential backward compatibility issue, but in general code which compensates for the old behavior should work fine with the new behavior,

[issue6302] email.header.decode_header data types are inconsistent and incorrectly documented

2010-10-02 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6302 ___ ___

[issue10018] IDLE not loading in xp pro due to tcl issue

2010-10-02 Thread Grant Andrew
New submission from Grant Andrew gveg...@gmail.com: I'm attempting to use Python for the first time and am running into issues before I'm out the door. I started with 3.2 and have worked backward installing older versions in hopes that IDLE would load on my xp pro laptop. After reading

<    1   2