[issue19649] Clean up OS X framework and universal bin directories

2013-11-21 Thread Ned Deily
Changes by Ned Deily : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue19660] decorator syntax: allow testlist instead of just dotted_name

2013-11-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: I think the complexity delta in the grammar is exactly 0. -- nosy: +benjamin.peterson ___ Python tracker ___

[issue19690] test_logging test_race failed with PermissionError

2013-11-21 Thread Ned Deily
New submission from Ned Deily: http://buildbot.python.org/all/builders/AMD64%20Snow%20Leop%203.x/builds/568/steps/test/logs/stdio == ERROR: test_race (test.test_logging.HandlerTest) --

[issue19599] Failure of test_async_timeout() of test_multiprocessing_spawn: TimeoutError not raised

2013-11-21 Thread koobs
koobs added the comment: @Richard, reporting all green on koobs-freebsd{9,10} 2.7 since 086865ceefe1 Thank you! :) -- ___ Python tracker ___

[issue19279] UTF-7 to UTF-8 decoding crash

2013-11-21 Thread Matej Cepl
Changes by Matej Cepl : -- nosy: +mcepl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue19553] PEP 453: "make install" and "make altinstall" integration

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 90d4153728f6 by Ned Deily in branch 'default': Issue #19553: PEP 453 - "make install" and "make altinstall" now install or http://hg.python.org/cpython/rev/90d4153728f6 -- nosy: +python-dev ___ Python tra

[issue19649] Clean up OS X framework and universal bin directories

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 44d1ac9245cf by Ned Deily in branch 'default': Issue #19649: On OS X, the same set of file names are now installed http://hg.python.org/cpython/rev/44d1ac9245cf -- nosy: +python-dev ___ Python tracker

[issue14455] plistlib unable to read json and binary plist files

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 602e0a0ec67e by Ned Deily in branch 'default': Issue #14455: Fix maybe_open typo in Plist.fromFile(). http://hg.python.org/cpython/rev/602e0a0ec67e -- ___ Python tracker

[issue19688] pip install now fails with 'HTMLParser' object has no attribute 'unescape'

2013-11-21 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue19688] pip install now fails with 'HTMLParser' object has no attribute 'unescape'

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0534b882f9ce by Ezio Melotti in branch 'default': #19688: add back and deprecate the internal HTMLParser.unescape() method. http://hg.python.org/cpython/rev/0534b882f9ce -- nosy: +python-dev ___ Python tr

[issue19688] pip install now fails with 'HTMLParser' object has no attribute 'unescape'

2013-11-21 Thread Ned Deily
Ned Deily added the comment: LGTM, thanks! -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-11-21 Thread Christian Heimes
Christian Heimes added the comment: I have slightly different plans to make it even easier, #19689 -- ___ Python tracker ___ ___ Pytho

[issue19689] ssl.create_default_context()

2013-11-21 Thread Christian Heimes
New submission from Christian Heimes: A few weeks ago I suggested the addition of ssl.create_default_context() to the stdlib. The patch implements my proposal. It replaces code in several of modules with one central function. The patch also removes ssl.wrap_socket() in favor for a SSLContext o

[issue19686] possible unnecessary memoryview copies?

2013-11-21 Thread R. David Murray
R. David Murray added the comment: I believe a new memoryview object is created, but the data is not copied. That's the whole point of memoryview, I think :) -- nosy: +r.david.murray ___ Python tracker __

[issue19688] pip install now fails with 'HTMLParser' object has no attribute 'unescape'

2013-11-21 Thread Ezio Melotti
Ezio Melotti added the comment: Here is a patch that adds HTMLParser.unescape() back with a DeprecationWarning. -- keywords: +patch stage: -> patch review type: -> behavior Added file: http://bugs.python.org/file32769/issue19688.diff ___ Python trac

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-11-21 Thread Guido van Rossum
Guido van Rossum added the comment: Can you also add a patch to asyncio (I suppose to the code where it calls set_default_verify_paths())? -- ___ Python tracker ___ _

[issue19688] pip install now fails with 'HTMLParser' object has no attribute 'unescape'

2013-11-21 Thread Ned Deily
Ned Deily added the comment: A distlib issue has also been opened. https://bitbucket.org/pypa/distlib/issue/36/distlib-uses-undocumented-and-deprecated -- nosy: +vinay.sajip ___ Python tracker

[issue19664] UserDict test assumes ordered dict repr

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset b62eb82ca5ef by Christian Heimes in branch 'default': Issue #19664: fix another flake test_userdict test http://hg.python.org/cpython/rev/b62eb82ca5ef -- ___ Python tracker

[issue19688] pip install now fails with 'HTMLParser' object has no attribute 'unescape'

2013-11-21 Thread Ned Deily
New submission from Ned Deily: 7b9235852b3b for Issue2927 moved and documents the previously undocumented unescape function. Unfortunately, at least one third-party module, distlib, depends on it. And distlib is now used by pip and needed for the ensurepip feature of 3.4. $ python3.4 get-pi

[issue19292] Make SSLContext.set_default_verify_paths() work on Windows

2013-11-21 Thread Christian Heimes
Christian Heimes added the comment: The patch implements a new method SSLContext.load_default_certs(). A new method is a required because set_default_verify_paths() doesn't have a way to specify a purpose. Every cert store allows the user to specify the purpose of a certificate (e.g. suitable

[issue17134] Use Windows' certificate store for CA certs

2013-11-21 Thread Christian Heimes
Changes by Christian Heimes : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue18147] SSL: diagnostic functions to list loaded CA certs

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset ae0734493f6b by Christian Heimes in branch 'default': Issue #18147: Add missing documentation for SSLContext.get_ca_certs(). http://hg.python.org/cpython/rev/ae0734493f6b -- ___ Python tracker

[issue19555] "SO" config var not getting set

2013-11-21 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17134] Use Windows' certificate store for CA certs

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9adcb61ea741 by Christian Heimes in branch 'default': Issue #17134: Finalize interface to Windows' certificate store. Cert and http://hg.python.org/cpython/rev/9adcb61ea741 -- ___ Python tracker

[issue19619] Blacklist base64, hex, ... codecs from bytes.decode() and str.encode()

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: > There is no "codec registry" - there is only the default codec search function, the encodings import namespace, the normalisation algorithm and the alias dictionary. interp->codec_search_cache can be seen as the "registry". If you store codecs in two differen

[issue19640] Drop _source attribute of namedtuple

2013-11-21 Thread Eric Snow
Eric Snow added the comment: As an alternative, how about turning _source into a property? -- nosy: +eric.snow ___ Python tracker ___

[issue19619] Blacklist base64, hex, ... codecs from bytes.decode() and str.encode()

2013-11-21 Thread Nick Coghlan
Nick Coghlan added the comment: Victor pointed out this should now raise LookupError rather than TypeError. However, I'm not going to duplicate the manipulation of the private attribute across seven different codecs when a private alternate constructor solves that problem far more cleanly.

[issue19681] test_repr (test.test_functools.TestPartialC) failures

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 18a44d65d34a by Christian Heimes in branch 'default': Issue #19681: Apply a quick and minimal band-aid. http://hg.python.org/cpython/rev/18a44d65d34a -- nosy: +python-dev ___ Python tracker

[issue19664] UserDict test assumes ordered dict repr

2013-11-21 Thread Christian Heimes
Christian Heimes added the comment: Thanks Serhiy! Your patch was simple yet elegant. :) -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker _

[issue19664] UserDict test assumes ordered dict repr

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset a0ec33b83ba4 by Christian Heimes in branch 'default': Issue #19664: test_userdict's repr test no longer depends on the order http://hg.python.org/cpython/rev/a0ec33b83ba4 -- nosy: +python-dev ___ Python t

[issue19687] Fixes for elementtree integer overflow

2013-11-21 Thread Christian Heimes
New submission from Christian Heimes: The patch addresses most overflow errors in elementtree except for the problems in element_ass_subscr(). -- components: Library (Lib) files: elementtree_overflow.patch keywords: patch messages: 203702 nosy: christian.heimes, haypo priority: normal s

[issue19555] "SO" config var not getting set

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset fedc2b8fbb6e by Barry Warsaw in branch 'default': - Issue #19555: Restore sysconfig.get_config_var('SO'), with a http://hg.python.org/cpython/rev/fedc2b8fbb6e -- nosy: +python-dev ___ Python tracker

[issue19619] Blacklist base64, hex, ... codecs from bytes.decode() and str.encode()

2013-11-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why return codecs.CodecInfo._declare_transform( name='base64', encode=base64_encode, decode=base64_decode, incrementalencoder=IncrementalEncoder, incrementaldecoder=IncrementalDecoder, streamwriter=StreamWrit

[issue19686] possible unnecessary memoryview copies?

2013-11-21 Thread Lluís
New submission from Lluís: The following code works without raising any AssertionError >>> n = "some small integer value" >>> m = "some larger integer value" >>> assert n>> data = bytearray(n) >>> mem = memoryview(data) >>> assert mem==mem[:] >>> assert mem==mem[0:] >>> assert mem==mem[:m]

[issue19619] Blacklist base64, hex, ... codecs from bytes.decode() and str.encode()

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: > return codecs.CodecInfo._declare_transform() I also prefer the private attribute option. -- ___ Python tracker ___ __

[issue19599] Failure of test_async_timeout() of test_multiprocessing_spawn: TimeoutError not raised

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 086865ceefe1 by Richard Oudkerk in branch '2.7': Issue #19599: Use a separate pool for test_terminate(). http://hg.python.org/cpython/rev/086865ceefe1 -- ___ Python tracker

[issue19681] test_repr (test.test_functools.TestPartialC) failures

2013-11-21 Thread Christian Heimes
Christian Heimes added the comment: Both keys happen to have the same LSB bytes. I have added "print(hash('a') & 7, hash('b') & 7)" to the code and run test tests multiple times: $ ./python -m test -m test_repr test_functools [1/1] test_functools 3 6 3 6 1 test OK. $ ./python -m test -m test_re

[issue19681] test_repr (test.test_functools.TestPartialC) failures

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: Ok, here is a different patch sorting keywords. So it still checks how the C code joins keyword parameters. -- Added file: http://bugs.python.org/file32766/test_functools_repr2.patch ___ Python tracker

[issue19681] test_repr (test.test_functools.TestPartialC) failures

2013-11-21 Thread Nick Coghlan
Nick Coghlan added the comment: And actually re-reading the existing code to see it already works that way... how can two dicts with the same keys, without any extra keys being added and deleted in either have different iteration orders? If it's just a matter of copying the original dict changing

[issue19681] test_repr (test.test_functools.TestPartialC) failures

2013-11-21 Thread Nick Coghlan
Nick Coghlan added the comment: I'm pretty sure the second keyword is there to ensure the repr includes the appropriate commas. Can we just make a suitable dict and check the key order? -- ___ Python tracker __

[issue8813] SSLContext doesn't support loading a CRL

2013-11-21 Thread Christian Heimes
Christian Heimes added the comment: memo to me: add whatsnew entry -- assignee: -> christian.heimes resolution: -> fixed stage: patch review -> committed/rejected status: open -> pending ___ Python tracker ___

[issue19681] test_repr (test.test_functools.TestPartialC) failures

2013-11-21 Thread Christian Heimes
Christian Heimes added the comment: I'm for Victors patch. Let's not get too fancy with tests. -- ___ Python tracker ___ ___ Python-bu

[issue18967] Find a less conflict prone approach to Misc/NEWS

2013-11-21 Thread Nick Coghlan
Nick Coghlan added the comment: Sounds plausible to me - I'd be interested in seeing an experimental version :) -- ___ Python tracker ___

[issue8813] SSLContext doesn't support loading a CRL

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 83805c9d1f05 by Christian Heimes in branch 'default': Issue #8813: Add SSLContext.verify_flags to change the verification flags http://hg.python.org/cpython/rev/83805c9d1f05 -- nosy: +python-dev ___ Pytho

[issue19685] pip: open() uses the locale encoding to parse Python script, instead of the encoding cookie

2013-11-21 Thread STINNER Victor
Changes by STINNER Victor : -- title: open() fails to autodetect utf-8 if LANG=C -> pip: open() uses the locale encoding to parse Python script, instead of the encoding cookie ___ Python tracker __

[issue19681] test_repr (test.test_functools.TestPartialC) failures

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: permutation() looks overkill to me for such trivial test. Here is a simpler approach: remove the second keyword :-) test_functools_repr.patch -- Added file: http://bugs.python.org/file32765/test_functools_repr.patch ___

[issue8813] SSLContext doesn't support loading a CRL

2013-11-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > But it's not about CRL alone. How about VERIFY_DEFAULT = 0 ? Sounds good. -- ___ Python tracker ___ __

[issue8813] SSLContext doesn't support loading a CRL

2013-11-21 Thread Christian Heimes
Christian Heimes added the comment: But it's not about CRL alone. How about VERIFY_DEFAULT = 0 ? -- ___ Python tracker ___ ___ Python-b

[issue19664] UserDict test assumes ordered dict repr

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: issue19664.patch looks good to me. Funny fact: test_repr() of test_dict only test dictionaries with 1 item :) -- ___ Python tracker ___ ___

[issue18967] Find a less conflict prone approach to Misc/NEWS

2013-11-21 Thread Zachary Ware
Zachary Ware added the comment: Here's my half-baked idea on the topic, based largely on what I could learn of Twisted's method from looking through their source repo online. I liked their use of separate files for each NEWS entry, especially since it should make merge conflicts exceedingly r

[issue19682] _ssl won't compile with OSX 10.9 SDK

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 40bfddda43d4 by Christian Heimes in branch 'default': Issue #19682: Fix compatibility issue with old version of OpenSSL that http://hg.python.org/cpython/rev/40bfddda43d4 -- nosy: +python-dev ___ Python t

[issue19628] maxlevels -1 on compileall for unlimited recursion

2013-11-21 Thread Claudiu.Popa
Changes by Claudiu.Popa : -- versions: +Python 3.4 -Python 2.7, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue19628] maxlevels -1 on compileall for unlimited recursion

2013-11-21 Thread Claudiu.Popa
Claudiu.Popa added the comment: Here's a patch which adds support for controlling the maxlevels on command line. Currently, compileall uses a binary choice, either we don't process subdirectories or we process at most 10 subdirectories. This seems to be the case since its inception, in " Chan

[issue19674] Add introspection information for builtins

2013-11-21 Thread Nick Coghlan
Nick Coghlan added the comment: "still works" as in "doesn't crash and the docstrings are still missing to save memory". -- ___ Python tracker ___ ___

[issue19619] Blacklist base64, hex, ... codecs from bytes.decode() and str.encode()

2013-11-21 Thread Nick Coghlan
Nick Coghlan added the comment: I used the private class method to minimise the per-codec impact (1 modified/added line per codec rather than 3). Your other suggestions look good, so I'll apply those before committing. -- ___ Python tracker

[issue19685] open() fails to autodetect utf-8 if LANG=C

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: -exec(compile(open(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec')) +exec(compile(open(__file__,encoding='utf_8').read().replace('\\r\\n', '\\n'), __file__, 'exec')) The fix is not correct, the script may use a different encoding. Replace open() w

[issue8813] SSLContext doesn't support loading a CRL

2013-11-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > s/FLAGS_/VERIFY_/g ? OK, I don't have hard feelings. :) And VERIFY_NONE should be VERIFY_CRL_NONE IMO. -- ___ Python tracker ___ _

[issue8813] SSLContext doesn't support loading a CRL

2013-11-21 Thread Christian Heimes
Christian Heimes added the comment: s/FLAGS_/VERIFY_/g ? OK, I don't have hard feelings. :) -- ___ Python tracker ___ ___ Python-bugs-l

[issue19685] open() fails to autodetect utf-8 if LANG=C

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: pip is not part of the Python standard library, you should report it upstream: https://github.com/pypa/pip -- nosy: +ncoghlan ___ Python tracker ___

[issue19677] IDLE displaying a CoreAnimation warning

2013-11-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: Following the instruction in the log message would also be useful, that is, in a shell window: $ env CA_DEBUG_TRANSACTIONS=1 /Applications/Python\ 2.7/IDLE.app/Contents/MacOS/IDLE With some luck the stack trace will point to the source of the problem. As Ned

[issue8813] SSLContext doesn't support loading a CRL

2013-11-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > It *is* generic. The flags are not about CRL alone, That's why I proposed VERIFY_xxx, e.g. VERIFY_CRL_NONE. Calling some flags "FLAGS" is senseless, it's like calling an integer "INTEGER". -- ___ Python tracker <

[issue18874] Add a new tracemalloc module to trace memory allocations

2013-11-21 Thread Charles-François Natali
Charles-François Natali added the comment: > STINNER Victor added the comment: > > I'm not convinced myself that hashtable.c/h can be reused immediatly, so I > prefer to move these two files to Modules. The files may be moved later if > the containers are reused. Please do so. I'd also like to

[issue18294] zlib module is not completly 64-bit safe

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: > LGTM. I changed the "uint" parser to raise a ValueError instead of an OverflowError, so the unit test doesn't need to be adapted. Thanks again Serhiy for your review :) I doesn't want to backport the fix to Python 2.7 or 3.3, it's more intrusive than what

[issue18294] zlib module is not completly 64-bit safe

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset f947fe289db8 by Victor Stinner in branch 'default': Close #18294: Fix the zlib module to make it 64-bit safe http://hg.python.org/cpython/rev/f947fe289db8 -- nosy: +python-dev resolution: -> fixed stage: patch review -> committed/rejected s

[issue19683] test_minidom has many empty tests

2013-11-21 Thread R. David Murray
R. David Murray added the comment: Well, we generally don't backport tests unless we are fixing related bugs. I think this should be left alone. -- nosy: +r.david.murray ___ Python tracker ___

[issue14373] C implementation of functools.lru_cache

2013-11-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: After Serhiy looks at this, I need to review it for reentrancy thread-safety and reentrancy issues. -- priority: normal -> low versions: +Python 3.5 -Python 3.4 ___ Python tracker

[issue19652] test_asyncio: test_subprocess_send_signal() hangs on buildbot "AMD64 Snow Leop 3.x"

2013-11-21 Thread Guido van Rossum
Guido van Rossum added the comment: Hmm... When did you last see the hang? We've had a variety of checkins that might have affected this code. If you've seen at least one traceback later than the commit below, feel free to commit. Otherwise, let's wait. changeset: 87088:eb42adc53923 user:

[issue19674] Add introspection information for builtins

2013-11-21 Thread Larry Hastings
Larry Hastings added the comment: I changed it to "(". Patch attached. Still works. -- Added file: http://bugs.python.org/file32763/larry.introspection.for.builtins.patch.2.txt ___ Python tracker ___

[issue17916] Provide dis.Bytecode based equivalent of dis.distb

2013-11-21 Thread Claudiu.Popa
Claudiu.Popa added the comment: Thanks, Nick! Attached the new version, I hope that I did it right this time. -- Added file: http://bugs.python.org/file32762/dis_tb_3.patch ___ Python tracker __

[issue14455] plistlib unable to read json and binary plist files

2013-11-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm not sure about docstrings text ("return" vs "returns", I don't remember what is better), but we can bikeshed it after beta 1. -- ___ Python tracker _

[issue7475] codecs missing: base64 bz2 hex zlib hex_codec ...

2013-11-21 Thread Nick Coghlan
Changes by Nick Coghlan : -- dependencies: +Blacklist base64, hex, ... codecs from bytes.decode() and str.encode() ___ Python tracker ___

[issue19671] Option to select the optimization level on compileall

2013-11-21 Thread Sworddragon
Sworddragon added the comment: > Hi. Since Python 3.2, compileall functions supports the optimization level > through the `optimize` parameter. > There is no command-line option to control the optimization level used by the > compile() function, because the Python interpreter itself already pr

[issue19619] Blacklist base64, hex, ... codecs from bytes.decode() and str.encode()

2013-11-21 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: -> ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue14455] plistlib unable to read json and binary plist files

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 673ca119dbd0 by Ronald Oussoren in branch 'default': Issue #14455: plistlib now supports binary plists and has an updated API. http://hg.python.org/cpython/rev/673ca119dbd0 -- nosy: +python-dev ___ Python

[issue19619] Blacklist base64, hex, ... codecs from bytes.decode() and str.encode()

2013-11-21 Thread Nick Coghlan
Nick Coghlan added the comment: New patch for 3.4 that uses a private attribute on CodecInfo and a private class method to set it appropriately (as I believe that is a better approach than changing the signature of CodecInfo.__init__ at this point, especially if we end up pursuing the codec ty

[issue19683] test_minidom has many empty tests

2013-11-21 Thread Zachary Ware
Zachary Ware added the comment: In that case, the empty tests should be removed, since they currently report success on doing nothing. -- ___ Python tracker ___

[issue8813] SSLContext doesn't support loading a CRL

2013-11-21 Thread Christian Heimes
Christian Heimes added the comment: My patch is inspired by mod_ssl: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_init.c?view=markup#l697 CRLs can already be loaded with SSLContext.load_verify_locations(). The patch exposes the verification flags of SSLContext's X509_S

[issue18874] Add a new tracemalloc module to trace memory allocations

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: I'm not convinced myself that hashtable.c/h can be reused immediatly, so I prefer to move these two files to Modules. The files may be moved later if the containers are reused. -- ___ Python tracker

[issue18874] Add a new tracemalloc module to trace memory allocations

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: > FYI, the C OrderedDict implementation in #16991 implements its own > doubly-linked list, built around the needs of OrderedDict. I looked into > BSD's queue.h [1], but it ended up simpler to roll my own. Oh nice, it's probably possible to factorize code and

[issue19682] _ssl won't compile with OSX 10.9 SDK

2013-11-21 Thread Ronald Oussoren
New submission from Ronald Oussoren: I get a compilation error for _ssl when building on OSX 10.9 using the 10.9 SDK, the relevant error: /Users/ronald/Projects/python/rw/default/Modules/_ssl.c:1029:24: error: no member named 'crldp' in 'struct x509_st' dps = certificate->crldp;

[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-11-21 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file32732/support_8bit_charset_cte.patch ___ Python tracker ___ ___ Python-b

[issue19572] Report more silently skipped tests as skipped

2013-11-21 Thread Zachary Ware
Zachary Ware added the comment: The 2.7 patch has a lot of extra changes in it, extra review is probably in order for it. -- Added file: http://bugs.python.org/file32756/skiptest_not_return_or_pass.v4-2.7.diff ___ Python tracker

[issue19572] Report more silently skipped tests as skipped

2013-11-21 Thread Zachary Ware
Changes by Zachary Ware : Added file: http://bugs.python.org/file32761/skiptest_not_return_or_pass.v4-2.7.diff ___ Python tracker ___ ___ Pyt

[issue19572] Report more silently skipped tests as skipped

2013-11-21 Thread Zachary Ware
Changes by Zachary Ware : Removed file: http://bugs.python.org/file32756/skiptest_not_return_or_pass.v4-2.7.diff ___ Python tracker ___ ___ P

[issue16596] Skip stack unwinding when "next", "until" and "return" pdb commands executed in generator context

2013-11-21 Thread Guido van Rossum
Changes by Guido van Rossum : -- assignee: -> gvanrossum resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue16596] Skip stack unwinding when "next", "until" and "return" pdb commands executed in generator context

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 95eea8624d05 by Guido van Rossum in branch 'default': Better behavior when stepping over yield[from]. Fixes issue 16596. By Xavier de Gaye. http://hg.python.org/cpython/rev/95eea8624d05 -- nosy: +python-dev

[issue19681] test_repr (test.test_functools.TestPartialC) failures

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: See issue #19664 for userdict. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19681] test_repr (test.test_functools.TestPartialC) failures

2013-11-21 Thread Christian Heimes
Christian Heimes added the comment: The repr test of userdict fails sometimes, too. http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.x/builds/3120/steps/test/logs/stdio == FAIL: test_all (test.test_userdict.User

[issue19681] test_repr (test.test_functools.TestPartialC) failures

2013-11-21 Thread Christian Heimes
New submission from Christian Heimes: test_repr of test.test_functools.TestPartialC fails sometimes because the test scenario depends on the order of items in a Python dict. The order is not stable and may change. Before PEP 456 was committed the order of items was stable most of the time. Now

[issue8813] SSLContext doesn't support loading a CRL

2013-11-21 Thread Christian Heimes
Christian Heimes added the comment: It *is* generic. The flags are not about CRL alone, http://www.openssl.org/docs/crypto/X509_VERIFY_PARAM_set_flags.html#VERIFICATION_FLAGS -- ___ Python tracker _

[issue19674] Add introspection information for builtins

2013-11-21 Thread Brett Cannon
Brett Cannon added the comment: For Nick: "still works" as in the metadata is still available without docstrings or "still works" as in it won't crash? -- ___ Python tracker ___

[issue19681] test_repr (test.test_functools.TestPartialC) failures

2013-11-21 Thread Christian Heimes
Christian Heimes added the comment: The issue is causing flaky build bots and should be resolved soonish. I don't know what's the best way to fix the problem. Either the test needs to change or partial_repr() must print the keys in sorted order. -- nosy: +haypo, ncoghlan, rhettinger pr

[issue19674] Add introspection information for builtins

2013-11-21 Thread Larry Hastings
Changes by Larry Hastings : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19682] _ssl won't compile with OSX 10.9 SDK

2013-11-21 Thread Christian Heimes
Christian Heimes added the comment: It's my fault and related to #18379. I'll fix it. -- assignee: ronaldoussoren -> christian.heimes nosy: +christian.heimes ___ Python tracker _

[issue18379] SSLSocket.getpeercert(): OCSP and CRL DP URIs

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 40bfddda43d4 by Christian Heimes in branch 'default': Issue #19682: Fix compatibility issue with old version of OpenSSL that http://hg.python.org/cpython/rev/40bfddda43d4 -- status: pending -> open ___ Py

[issue19654] test_tkinter sporadic failures on "x86 Tiger 3.x" buildbot

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset cfbd894f1df1 by Serhiy Storchaka in branch '3.3': Print Tk patchlevel in Tk and Ttk tests in verbose mode (issue19654). http://hg.python.org/cpython/rev/cfbd894f1df1 New changeset cf8ac1272e07 by Serhiy Storchaka in branch 'default': Print Tk patchl

[issue19683] test_minidom has many empty tests

2013-11-21 Thread Zachary Ware
New submission from Zachary Ware: Many of the tests in test_minidom on 2.7 are empty, that is they are defined as "def testSomeFunction(self): pass". I've marked this issue as "easy" since I suspect a lot of the tests can be either backported from 3.x, or removed if they don't exist in 3.x. -

[issue19633] test_wave: failures on PPC64 buildbot

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: "PPC64 PowerLinux 3.x" buildbot is green again! I'm closing the issue. I didn't check 2.7 and 3.3 buildbots. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue19677] IDLE displaying a CoreAnimation warning

2013-11-21 Thread Ned Deily
Changes by Ned Deily : -- nosy: +ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue19664] UserDict test assumes ordered dict repr

2013-11-21 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

  1   2   >