[issue13141] get rid of old threading API in the examples

2011-10-24 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13141 ___ ___

[issue13253] 2to3 fix_renames renames sys.maxint only in imports

2011-10-24 Thread Ezio Melotti
New submission from Ezio Melotti ezio.melo...@gmail.com: $ cat deleteme.py from sys import maxint print 'maxint', maxint $ 2to3 deleteme.py RefactoringTool: Skipping implicit fixer: buffer RefactoringTool: Skipping implicit fixer: idioms RefactoringTool: Skipping implicit fixer: set_literal

[issue13241] Assertion failed in _PyUnicode_CheckConsistency during build of default branch on Mac OS X

2011-10-24 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Oleg, thanks. That is consistent with previous reports; so far, this issue has only been reported with llvm-gcc, not the plain gcc-4.2's shipped in Xcode prior to 4.2. -- ___ Python tracker

[issue13252] new decumulate() function in itertools module

2011-10-24 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13252 ___ ___ Python-bugs-list

[issue8828] Atomic function to rename a file

2011-10-24 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: MoveFileTransacted is only available under Vista or later. You should be able to use MoveFileEx for the same effect. Nice. The solution? Let's remember that metadata changes are atomic. Rename is such a case. Hmmm. Is he

[issue13018] dictobject.c: refleak

2011-10-24 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- keywords: +needs review, patch nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13018 ___

[issue13017] pyexpat.c: refleak

2011-10-24 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- keywords: +after moratorium, needs review, patch nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13017 ___

[issue13016] selectmodule.c: refleak

2011-10-24 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- keywords: +needs review, patch nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13016 ___

[issue11440] fix_callable should be dropped from lib2to3 / changed

2011-10-24 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11440 ___ ___

[issue11440] fix_callable should be dropped from lib2to3 / changed

2011-10-24 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: The decision should be left to the user. IMHO, we could disable this automatic fixer. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11440

[issue11440] fix_callable should be dropped from lib2to3 / changed

2011-10-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11440 ___ ___

[issue12501] callable(): remove/amend the deprecation warning in Python 2.7

2011-10-24 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12501 ___ ___

[issue8828] Atomic function to rename a file

2011-10-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The solution? Let's remember that metadata changes are atomic. Rename is such a case. Hmmm. Is he referring to the standard rename? The blog doesn't evoke a specific function, but if it was the case, then why bother at all? Standard

[issue13254] maildir.items() broken

2011-10-24 Thread marco ghidinelli
New submission from marco ghidinelli marc...@gmail.com: since python 2.7.2 maildir.items() doesn't return anything: from mailbox import Maildir x = Maildir('test') x.items() [] untils something was written on the maildir. x.add('bubu') '1319447613.M259111P6097Q1.deeppurple' x.items()

[issue13248] deprecated in 3.2, should be removed in 3.3

2011-10-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 221638ba5d2a by Mark Dickinson in branch 'default': Issue #13248, issue #8540: Remove deprecated Context._clamp attribute from Decimal module. http://hg.python.org/cpython/rev/221638ba5d2a -- nosy:

[issue8540] Make Context._clamp public in decimal module

2011-10-24 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: New changeset 221638ba5d2a by Mark Dickinson in branch 'default': Issue #13248, issue #8540: Remove deprecated Context._clamp attribute from Decimal module. http://hg.python.org/cpython/rev/221638ba5d2a --

[issue13254] maildir.items() broken

2011-10-24 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +r.david.murray versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13254 ___

[issue13254] maildir.items() broken

2011-10-24 Thread marco ghidinelli
marco ghidinelli marc...@gmail.com added the comment: i verified now, and the 2.7.1 version is ok, the bug is present since the 2.7.2 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13254

[issue13254] maildir.items() broken

2011-10-24 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13254 ___ ___ Python-bugs-list

[issue13254] maildir.items() broken

2011-10-24 Thread marco ghidinelli
marco ghidinelli marc...@gmail.com added the comment: 3.1 is ok 3.2.2 is affected -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13254 ___ ___

[issue13248] deprecated in 3.2, should be removed in 3.3

2011-10-24 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: I missed these warnings in C modules. *array* fromstring and tostring methods *io* (like _pyio) argument max_buffer_size of BufferedWriter and BufferedRWPair *sys* sys.getcheckinterval and sys.setcheckinterval and some

[issue13248] deprecated in 3.2, should be removed in 3.3

2011-10-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: *array* fromstring and tostring methods I think these ones (and other well-known 2.x methods) should be kept to ease porting to 3.x. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org

[issue13252] new decumulate() function in itertools module

2011-10-24 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: OK, looking at the code I realised what you're trying to get at is the idea of reporting the differences between values in a series, such that: x = list(accumulate(seq)) assert x == list(accumulate(differences(x))) I don't think the use cases

[issue12296] Minor clarification in devguide

2011-10-24 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: PEP 387 explains the rules about backward compatibility. The paragraph could just link to that. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12296

[issue13255] wrong docstring for array.fromunicode

2011-10-24 Thread Florent Xicluna
New submission from Florent Xicluna florent.xicl...@gmail.com: The docstring should say ustr.encode instead of ustr.decode. The documentation page is correct. print(array.array.fromunicode.__doc__) fromunicode(ustr) Extends this array with data from the unicode string ustr. The array must be

[issue13255] wrong docstrings in array module

2011-10-24 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed title: wrong docstring for array.fromunicode - wrong docstrings in array module ___ Python tracker

[issue13255] wrong docstring for array.fromunicode

2011-10-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 451fa5782145 by Florent Xicluna in branch '3.2': Issue #13255: wrong docstrings in array module. http://hg.python.org/cpython/rev/451fa5782145 -- nosy: +python-dev ___

[issue13256] Document and test new socket options

2011-10-24 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: The commit c64216addd7f for issue #6560 added various socket option, but some of them are not well documented or tested. Authentication: * SO_PASSCRED, SO_PEERCRED, LOCAL_PEERCRED * SCM_RIGHTS, SCM_CREDENTIALS, SCM_CREDS SCTP:

[issue13256] Document and test new socket options

2011-10-24 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Another issue: the version added tag is not used, it's not possible to know that socket.SO_PEERCRED was added in Python 3.3. -- ___ Python tracker rep...@bugs.python.org

[issue12394] packaging: generate scripts from callable (dotted paths)

2011-10-24 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: FYI: In pythonv, the build_scripts functionality provides identical support for dotted callables to what Éric proposed, while preserving existing functionality for ordinary script files. Thus: scripts = demo1 demo2 = amodule.main

[issue13237] subprocess docs should emphasise convenience functions

2011-10-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 2184df0e0f89 by Nick Coghlan in branch '2.7': Issue #13237: Rearrange subprocess module documentation to emphasise the convenience functions and commonly needed arguments

[issue12394] packaging: generate scripts from callable (dotted paths)

2011-10-24 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Re. the launcher changes, those improvements by Guy Rozendorn are welcome. I noticed some differences from the approach taken by Mark Hammond and Curt Hagenlocher in the PEP 397 implementation, which I ported to C: The Ctrl-C is ignored

[issue13238] Add shell command helpers to shutil module

2011-10-24 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Unfortunately, I don't think including implicit shlex.quote() calls is going to have the effect I was originally looking for: subprocess.call(du -hs ../py*, shell=True) 593M../py3k 577M../py3k_pristine 479M../python27 300M

[issue13237] subprocess docs should emphasise convenience functions

2011-10-24 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: I'm reasonably happy with the changes I just checked in, but rather than doing multiple forward ports, my plan is to let them settle for a while, update them based on any feedback I get, then incorporate the final version into the 3.x series.

[issue13254] maildir.items() broken

2011-10-24 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I'm assigning this to myself so I don't lose it, but if someone wants to work on a patch please do. It'll be a bit before I can look at it. -- assignee: - r.david.murray priority: normal - high stage: - needs patch

[issue13254] maildir.items() broken

2011-10-24 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Since this is a regression I'm upping the priority further to release blocker, so that we don't put out another release with the regression still in it. -- nosy: +benjamin.peterson, georg.brandl priority: high - release blocker

[issue2470] Need fixer for dl (removed) - ctypes module

2011-10-24 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: for the RTLD_ constants, refer to issue #13226. -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2470 ___

[issue13244] WebSocket schemes in urlparse

2011-10-24 Thread Tobias Oberstein
Tobias Oberstein tobias.oberst...@tavendo.de added the comment: ok, there was feedback on Hybi list: http://www.ietf.org/mail-archive/web/hybi/current/msg09270.html 1. ws://example.com/something#somewhere 2. ws://example.com/something#somewhere/ 3.

[issue13193] test_packaging and test_distutils failures

2011-10-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Spamlib-0.1.dist-info is in a directory on sys.path, so the error makes no sense to me. Can you inspect the content of that directory? (i.e os.listdir and file contents) Also, if you can interrupt the test to get a Python or pdb shell, could

[issue12394] packaging: generate scripts from callable (dotted paths)

2011-10-24 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: FYI: In pythonv, the build_scripts functionality provides identical support for dotted callables to what Éric proposed, while preserving existing functionality for ordinary script files. My current preference is to use only new-style

[issue8828] Atomic function to rename a file

2011-10-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I see that Sun/Oracle Java trusts MoveFileEx to do atomic renames: 290 // atomic case 291 if (atomicMove) { 292 try { 293 MoveFileEx(sourcePath, targetPath, MOVEFILE_REPLACE_EXISTING);

[issue10332] Multiprocessing maxtasksperchild results in hang

2011-10-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3465a9b2d25c by Charles-François Natali in branch '2.7': Issue #10332: multiprocessing: fix a race condition when a Pool is closed http://hg.python.org/cpython/rev/3465a9b2d25c New changeset 52c98a729a71 by

[issue12618] py_compile cannot create files in current directory

2011-10-24 Thread Sjoerd de Vries
Sjoerd de Vries sjdv1...@gmail.com added the comment: Hi Éric, There you go, adapted from http://effbot.org/librarybook/py-compile.htm : # File: py-compile-example-1.py import py_compile # explicitly compile this module

[issue13215] multiprocessing Manager.connect() aggressively retries refused connections

2011-10-24 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: While a 20 second timeout may make sense for *unresponsive* servers, ECONNREFUSED probably indicates that the server is not listening on this port, so hammering it with 1,999 more connection attempts isn't going to help. That's

[issue12394] packaging: generate scripts from callable (dotted paths)

2011-10-24 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: We’ll have to think about the shebang munging and decide if we keep it.  I think  recommending that people use “/usr/bin/env python” (or python3) and not doing anything to the shebang may be the best thing. What about Windows

[issue10364] Color coding fails after running program.

2011-10-24 Thread Ariel
Ariel arielb...@walla.com added the comment: Excuse me for budging in, I was having the same problem (both python 3.2 and 2.7, on both win XP and 7) without knowing the file extention is the cause. Why doesn't IDLE editor save files with the .py extention unless specificly ordered to? The

[issue13256] Document and test new socket options

2011-10-24 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - docs@python components: +Documentation, Tests nosy: +docs@python stage: - needs patch versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13256

[issue10332] Multiprocessing maxtasksperchild results in hang

2011-10-24 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: James, thanks for the report! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue13018] dictobject.c: refleak

2011-10-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 5d7164febff1 by Petri Lehtinen in branch '2.7': Issue #13018: Fix reference leaks in error paths in dictobject.c. http://hg.python.org/cpython/rev/5d7164febff1 New changeset df24a8b57148 by Petri Lehtinen in branch

[issue13018] dictobject.c: refleak

2011-10-24 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Thanks for the patch, fixed. -- keywords: -needs review resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue13218] test_ssl failures on Ubuntu 11.10

2011-10-24 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Still investigating, but FTR, this isn't technically an Ubuntu issue as much as it is a Debian issue (and thus inherited by Ubuntu). I can reproduce the failure in Python 3.3 on Debian Wheezy. --

[issue13218] test_ssl failures on Debian/Ubuntu

2011-10-24 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- title: test_ssl failures on Ubuntu 11.10 - test_ssl failures on Debian/Ubuntu ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13218 ___

[issue13257] Move importlib over to PEP 3151 exceptions

2011-10-24 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: Importlib uses the errno module explicitly for properly checking OSError for EEXIST and IOError for EACCES. Thanks to PEP 3151, however, neither check is needed since those exceptions correspond to FileExistsError and PermissionError,

[issue13193] test_packaging and test_distutils failures

2011-10-24 Thread Francisco Martín Brugué
Francisco Martín Brugué franci...@email.de added the comment: Hi Eli, I cannot find the file/Distro: find / -name *'dist-info' 2 /dev/null /home/ci/cpython/Lib/packaging/tests/fake_dists/grammar-1.0a4.dist-info /home/ci/cpython/Lib/packaging/tests/fake_dists/towel_stuff-0.1.dist-info

[issue13193] test_packaging and test_distutils failures

2011-10-24 Thread Francisco Martín Brugué
Francisco Martín Brugué franci...@email.de added the comment: The changeset was: $ hg tip changeset: 73075:d4839fea4a5a [...] -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13193 ___

[issue13258] replace hasattr(obj, '__call__') with callable(obj)

2011-10-24 Thread Florent Xicluna
New submission from Florent Xicluna florent.xicl...@gmail.com: Now that callable() is back in 3.2, we may replace hasattr(obj, '__call__') with callable(obj). The built-in function is easier to read and gives better performance than attribute lookup. $ ./python -m timeit hasattr(None,

[issue13258] replace hasattr(obj, '__call__') with callable(obj)

2011-10-24 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Proposed patch. -- keywords: +patch Added file: http://bugs.python.org/file23510/issue13258_callable.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13258

[issue13247] os.path.abspath returns unicode paths as question marks

2011-10-24 Thread Yuval Greenfield
Yuval Greenfield ubershme...@gmail.com added the comment: An example error with abspath and bytes input: os.path.abspath('.') 'C:\\Users\\yuv\\Desktop\\YuvDesktop\\\u05d0\u05d1\u05d2\u05d3\u05d4\u05d5' os.path.abspath(b'.') b'C:\\Users\\yuv\\Desktop\\YuvDesktop\\??'

[issue13258] replace hasattr(obj, '__call__') with callable(obj)

2011-10-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: For packaging I'm not sure it's worth complicating backporting. -- nosy: +eric.araujo, pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13258

[issue13258] replace hasattr(obj, '__call__') with callable(obj)

2011-10-24 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Updated with a special note for packaging. -- Added file: http://bugs.python.org/file23511/issue13258_callable_v2.diff ___ Python tracker rep...@bugs.python.org

[issue10364] IDLE: make .py default added extension on save

2011-10-24 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I am guessing that because the extension could be either .py or .pyw, the initial save does not add either but forces the user to type one or the other. I find this annoying too, so I am thinking about separating the choices and see if .py,

[issue13258] replace hasattr(obj, '__call__') with callable(obj)

2011-10-24 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: callable() is not just faster, it's also more correct: hasattr(obj, __call__) doesn't call base classes. See callable() of the six module: def callable(obj): return any(__call__ in klass.__dict__ for klass in type(obj).__mro__)

[issue13258] replace hasattr(obj, '__call__') with callable(obj)

2011-10-24 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: We have so many alternatives, it's funny ... def callable(obj): return hasattr(obj, '__call__') or hasattr(obj, '__bases__') def callable(obj): return isinstance(obj, collections.abc.Callable) def callable(obj): return

[issue8036] Interpreter crashes on invalid arg to spawnl on Windows

2011-10-24 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8036 ___ ___

[issue13258] replace hasattr(obj, '__call__') with callable(obj)

2011-10-24 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Is it actually appropiate to commit this to 3.2?. I am neutral to it, just asking. -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13258

[issue8036] Interpreter crashes on invalid arg to spawnl on Windows

2011-10-24 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: @nvetoshkin: Can you please also write tests (in Lib/test/test_os.py) for your patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8036

[issue13258] replace hasattr(obj, '__call__') with callable(obj)

2011-10-24 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Is it actually appropiate to commit this to 3.2? If it fixes a bug, the fix should be backported to 3.2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13258

[issue13232] Logging: Unicode Error

2011-10-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 4bb1dc4e2cec by Vinay Sajip in branch '2.7': Closes #13232: Handle multiple encodings in exception logging. http://hg.python.org/cpython/rev/4bb1dc4e2cec -- nosy: +python-dev resolution: - fixed stage: test

[issue13193] test_packaging and test_distutils failures

2011-10-24 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: Spamlib-0.1.dist-info is in a directory on sys.path, so the error makes no sense to me. Can you inspect the content of that directory? (i.e os.listdir and file contents) Also, if you can interrupt the test to get a Python or pdb

[issue13237] subprocess docs should emphasise convenience functions

2011-10-24 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- assignee: docs@python - ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13237 ___ ___

[issue13259] __bytes__ not documented

2011-10-24 Thread Arkadiusz Wahlig
New submission from Arkadiusz Wahlig arkadiusz.wah...@gmail.com: It looks like Python 3 supports the __bytes__ magic method (called by bytes(obj)). However, it's not documented anywhere. Also, I could not find any reference to BDFL accepting it but it looks like it got in anyway. Here are

[issue13193] test_packaging and test_distutils failures

2011-10-24 Thread Francisco Martín Brugué
Francisco Martín Brugué franci...@email.de added the comment: Where should be the distro? You won't find it in the hg repository - it gets created by the test, and then deleted afterwards. Thanks for the info The changeset was: $ hg tip changeset: 73075:d4839fea4a5a [...] That's

[issue13259] __bytes__ not documented

2011-10-24 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Indeed. I didn't even remember we had that. There are tests, however, in Lib/test/test_bytes.py. This was added in issue #2415, by the way. -- nosy: +pitrou stage: - needs patch versions: -Python 3.1, Python 3.4

[issue13218] test_ssl failures on Debian/Ubuntu

2011-10-24 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: TL;DR: Let's rip out the false assumption that an SSLv23 client cannot connect to an SSLv3/TLSv1 server. I now believe this is simply an erroneous assumption on the part of the Python test suite, namely that SSLv23 method clients cannot

[issue13234] os.listdir breaks with literal paths

2011-10-24 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: I'd also like to point out that Unicode path is handled correctly in both 2.7.x and 3.x: Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win 32 Type help, copyright, credits or license for more

[issue13234] os.listdir breaks with literal paths

2011-10-24 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: There are also several other edge cases to be taken care of: Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win 32 Type help, copyright, credits or license for more information. import os

[issue13260] distutils and cross-compiling the extensions

2011-10-24 Thread Alexander Myodov
New submission from Alexander Myodov amyo...@gmail.com: I was recently trying to cross-compile several extensions (host: Linux, target: Win32) using mingw-gcc, and noticed that there is quite a little amount of changes needed to distutils code to at least make proper win32-compabible modules.

[issue13234] os.listdir breaks with literal paths

2011-10-24 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: Additionally, there might be issues in other APIs when handling with extended path lengths: D:\Temp\tempdirdir Volume in drive D is Data Volume Serial Number is 7E3D-EC81 Directory of D:\Temp\tempdir 10/24/2011 04:22 PMDIR

[issue13259] __bytes__ not documented

2011-10-24 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 199d9e3fe0ce by Benjamin Peterson in branch '3.2': document __bytes__ special method (closes #13259) http://hg.python.org/cpython/rev/199d9e3fe0ce New changeset 4128de054937 by Benjamin Peterson in branch 'default':

[issue3982] support .format for bytes

2011-10-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3982 ___ ___ Python-bugs-list