[issue15026] Faster UTF-16 encoding

2012-06-15 Thread STINNER Victor
STINNER Victor added the comment: It would be nice to mention the improvement in the What's New in Python 3.3 doc (Optimizations section). -- ___ Python tracker ___ ___

[issue15026] Faster UTF-16 encoding

2012-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 35667fc5f785 by Antoine Pitrou in branch 'default': Mention the UTF-16 encoding speedup in the whatsnew (issue #15026). http://hg.python.org/cpython/rev/35667fc5f785 -- ___ Python tracker

[issue14059] Implement multiprocessing.Barrier

2012-06-15 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue15080] Cookie library doesn't parse date properly

2012-06-15 Thread Roger Serwy
Roger Serwy added the comment: 2.6.8 is the latest source-only release of the 2.6 series. Here's what I get: Python 2.6.8 (unknown, Jun 15 2012, 15:51:46) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import Cookie >>> cook

[issue15080] Cookie library doesn't parse date properly

2012-06-15 Thread Jeremy Gillick
Jeremy Gillick added the comment: I'm using Python 2.6.1 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue15078] Change os.sendfile so its arguments are stable

2012-06-15 Thread Larry Hastings
Larry Hastings added the comment: > os.sendfile(out, in, offset, nbytes, *, headers=None, trailers=None, > diskio=True, wait=True, sync=False) I probably prefer this. If the original implementers are okay with it then I'd be happy to do it that way. But at the very least I want to get rid o

[issue15078] Change os.sendfile so its arguments are stable

2012-06-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14982] pkgutil.walk_packages seems to not work properly on Python 3.3a

2012-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset b92fa1c5a96b by Brett Cannon in branch 'default': Closes issue #14982: Document that pkgutil's walk_packages() and http://hg.python.org/cpython/rev/b92fa1c5a96b -- nosy: +python-dev ___ Python tracker <

[issue14982] pkgutil.walk_packages seems to not work properly on Python 3.3a

2012-06-15 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue15078] Change os.sendfile so its arguments are stable

2012-06-15 Thread STINNER Victor
STINNER Victor added the comment: > As I keep saying on python-dev: I think that the argument list for a function > should be stable. There are some other functions with strange/variable prototype: http://docs.python.org/dev/library/fcntl.html?highlight=ioctl#fcntl.ioctl http://docs.python.org

[issue13959] Re-implement parts of imp in pure Python

2012-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 034c814eb187 by Brett Cannon in branch 'default': Issue #13959: Add to imp.find_module() and load_module's docstrings http://hg.python.org/cpython/rev/034c814eb187 -- ___ Python tracker

[issue9247] imp.reload() doesn't take import lock

2012-06-15 Thread Brett Cannon
Brett Cannon added the comment: We have gone this long without a lock for reload(), I don't see a reason to start caring now. -- resolution: -> works for me status: open -> closed ___ Python tracker _

[issue14938] 'import my_pkg.__init__' creates duplicate modules

2012-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 240b7467e65c by Brett Cannon in branch 'default': Issue #14938: importlib.abc.SourceLoader.is_package() now takes the http://hg.python.org/cpython/rev/240b7467e65c -- nosy: +python-dev ___ Python tracker

[issue14938] 'import my_pkg.__init__' creates duplicate modules

2012-06-15 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue15006] Allow equality comparison between naive and aware datetime objects

2012-06-15 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Added documentation and simplified changes to python implementation. I think this can go to 3.3. -- versions: +Python 3.3 -Python 3.4 Added file: http://bugs.python.org/file26023/issue15006a.diff ___ Python t

[issue15081] No documentation for PyState_FindModule()

2012-06-15 Thread Christian Heimes
New submission from Christian Heimes : Dear Martin, I can't find any documentation of PyState_FindModule() in the official. According to hg annotate you are the creator of the function. -- assignee: loewis components: Documentation messages: 162944 nosy: christian.heimes, loewis priori

[issue15006] Allow equality comparison between naive and aware datetime objects

2012-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8272699973cb by Alexander Belopolsky in branch 'default': Issue #15006: Allow equality comparison between naive and aware time http://hg.python.org/cpython/rev/8272699973cb -- nosy: +python-dev ___ Pytho

[issue15006] Allow equality comparison between naive and aware datetime objects

2012-06-15 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue15006] Allow equality comparison between naive and aware datetime objects

2012-06-15 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- keywords: -needs review, patch nosy: -Alexander.Belopolsky resolution: -> fixed stage: commit review -> committed/rejected ___ Python tracker

[issue15078] Change os.sendfile so its arguments are stable

2012-06-15 Thread Larry Hastings
Larry Hastings added the comment: > There are some other functions with strange/variable prototype: > http://docs.python.org/dev/library/fcntl.html?highlight=ioctl#fcntl.ioctl > http://docs.python.org/dev/library/mmap.html?highlight=mmap.mmap#mmap.mmap It does not follow that this behavior is d

[issue13825] Datetime failing while reading active directory time attribute

2012-06-15 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue15082] [httplib] httplib.BadStatusLine on any HTTPS connection in certain unknown cases.

2012-06-15 Thread George Stephanos
New submission from George Stephanos : When trying to POST /anything/ @ https://grooveshark.com/, I get an httplib.BadStatusLine exception (server returns nothing at all. It's a timeout since it waits a while). The many Grooveshark webclients however works perfectly, along with a curl command

[issue14377] Modify serializer for xml.etree.ElementTree to allow forcing the use of long tag closing

2012-06-15 Thread Ariel Poliak
Ariel Poliak added the comment: Ideally, this would be taken care by the _serialize_xml() with a parameter specified when called from within write(). However, the signature for the _serialize_xml() function cannot be changed, as it needs to match the signature for the rest of the _serialize_*

[issue15061] hmac.secure_compare() leaks information about length of strings

2012-06-15 Thread Jon Oberheide
Jon Oberheide added the comment: Wow, that escalated quickly. :-) Nick, thanks for keeping things focused and on track. To recap, the primary motivation here is two-fold. First, folks are using == pretty frequently in an unsafe manner when comparing digests, signatures, and other fixed-lengt

[issue15061] hmac.secure_compare() leaks information about length of strings

2012-06-15 Thread Jon Oberheide
Jon Oberheide added the comment: On a side note, it may be useful to follow the conventions that already exist in OpenBSD for their timingsafe_bcmp(3): http://www.rootr.net/man/man/timingsafe_bcmp/3 "timingsafe" may be a more reasonable naming convention that is a bit less strong the "secure

[issue15075] XincludeTest failure in test_xml_etree

2012-06-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5782efaa8d68 by Eli Bendersky in branch 'default': Make the test more resilient to test-run order (closes #15075) http://hg.python.org/cpython/rev/5782efaa8d68 -- nosy: +python-dev resolution: -> fixed stage: test needed -> committed/rejec

[issue15083] Rewrite ElementTree tests in a cleaner and safer way

2012-06-15 Thread Eli Bendersky
New submission from Eli Bendersky : As #15075 demonstrated, the ET tests are sensitive to execution order because of the way they operate. Two sets of tests (one for the C module and one for the pure Python module) operate from the same test code, monkey-patching the imported module. This som

[issue15075] XincludeTest failure in test_xml_etree

2012-06-15 Thread Eli Bendersky
Eli Bendersky added the comment: Opened #15083 to track the *actual* solution to this problem, which should restructure the tests to be safer. -- superseder: -> Rewrite ElementTree tests in a cleaner and safer way ___ Python tracker

[issue15081] No documentation for PyState_FindModule()

2012-06-15 Thread Martin v . Löwis
Martin v. Löwis added the comment: It's in PEP 3121, but it never made it to the documentation. -- ___ Python tracker ___ ___ Python-

[issue15082] [httplib] httplib.BadStatusLine on any HTTPS connection in certain unknown cases.

2012-06-15 Thread Martin v . Löwis
Martin v. Löwis added the comment: I can reproduce this, and it seems to stem from the openssl version used (0.9.8l). Running openssl s_client -connect grooveshark.com:443 with 0.9.8l gives CONNECTED(0003) depth=3 /L=ValiCert Validation Network/O=ValiCert, Inc./OU=ValiCert Class 2 Policy

<    1   2