[issue19588] Silently skipped test in test_random

2013-11-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Original test was added in issue812202. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue17145] memoryview(array.array)

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

[issue19674] Add introspection information for builtins

2013-11-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Great! See also issue16842 and issue16638. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ P

[issue19664] UserDict test assumes ordered dict repr

2013-11-21 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue19668] Add support of the cp1125 encoding

2013-11-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No, it is not official Microsoft codepage (it was introduced by IBM in its PC-DOS). AFAIK this encoding yet widely used in banking software. My old text files were written in this encoding, ;) -- ___ Python tracke

[issue11854] __or__ et al instantiate subclass of set without calling __init__

2013-11-21 Thread Mark Dickinson
Mark Dickinson added the comment: Can this issue be closed as 'wont fix'? -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-b

[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: If you really want to use packing, keep it. But please remove this: """ +/* ensure that the frame_t structure is packed */ +assert(sizeof(frame_t) == (sizeof(PyObject*) + sizeof(int))); """ -- ___ Py

[issue19663] Not so correct error message when initializing defaultdict

2013-11-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is a reasonable patch. I'll apply it when I have some spare time. -- assignee: -> rhettinger priority: normal -> low versions: +Python 2.7 ___ Python tracker

[issue19677] IDLE displaying a CoreAnimation warning

2013-11-21 Thread Raymond Hettinger
New submission from Raymond Hettinger: When running IDLE on a fresh 2.7.6 install on OS X 10.9, I'm seeing the following message generated periodically: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces. ---

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

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: > If you really want to use packing, keep it. > > But please remove this: > """ > +/* ensure that the frame_t structure is packed */ > +assert(sizeof(frame_t) == (sizeof(PyObject*) + sizeof(int))); > """ I added this assertion to ensure that I used corre

[issue19633] test_wave: failures on PPC64 buildbot

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7b040bc289e8 by Serhiy Storchaka in branch '3.3': Issue #19633: Fixed writing not compressed 16- and 32-bit wave files on http://hg.python.org/cpython/rev/7b040bc289e8 New changeset 7cf7f19445ba by Serhiy Storchaka in branch 'default': Issue #19633:

[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: Thanks Ezio and Serhiy for having fix UTF-16 and UTF-32 codecs! -- ___ Python tracker ___ ___ Python

[issue19518] Add new PyRun_xxx() functions to not encode the filename

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: So, which suffix should be used? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue19518] Add new PyRun_xxx() functions to not encode the filename

2013-11-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: "*Unicode" suffix in existing functions means Py_UNICODE* argument. May be "*Ex2"? It can't be misinterpreted but looks ugly. -- ___ Python tracker _

[issue19668] Add support of the cp1125 encoding

2013-11-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 21.11.2013 09:34, Serhiy Storchaka wrote: > > No, it is not official Microsoft codepage (it was introduced by IBM in its > PC-DOS). AFAIK this encoding yet widely used in banking software. My old text > files were written in this encoding, ;) +1 for ad

[issue19183] PEP 456 Secure and interchangeable hash algorithm

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset eec4758e3a45 by Victor Stinner in branch 'default': Issue #19183: Simplify test_gdb http://hg.python.org/cpython/rev/eec4758e3a45 -- ___ Python tracker ___

[issue19575] subprocess.Popen with multiple threads: Redirected stdout/stderr files still open after process close

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: In Python 3.3, open_noinherit_ctypes() can be written: def opener_noinherit(filename, flags): return os.open(filename, flags | os.O_NOINHERIT) f = open(filename, opener=opener_noinherit) Example on Linux with O_CLOEXEC: $ python3 Python 3.3.0 (default, Se

[issue14373] C implementation of functools.lru_cache

2013-11-21 Thread Brecht Machiels
Brecht Machiels added the comment: What's the status of this patch? What still needs to be done for it to be accepted? -- nosy: +brechtm ___ Python tracker ___ _

[issue19575] subprocess: on Windows, unwanted file handles are inherit by child processes in a multithreaded application

2013-11-21 Thread STINNER Victor
Changes by STINNER Victor : -- title: subprocess.Popen with multiple threads: Redirected stdout/stderr files still open after process close -> subprocess: on Windows, unwanted file handles are inherit by child processes in a multithreaded application __

[issue19668] Add support of the cp1125 encoding

2013-11-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Please also add the aliases you mentioned. I have already added these aliases. I should remove added in last moment the 'cp866nav' alias from Lib/encodings/aliases.py because it is actually a little different encoding (it have two Byelorussian letters "Ўў

[issue14373] C implementation of functools.lru_cache

2013-11-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm working on this. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue19578] del list[a:b:c] doesn't handle correctly list_resize() failure

2013-11-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch is very simple and LGTM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue19641] Add audioop.byteswap()

2013-11-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch is synchronized with tip (after committing issue19633). It enables temporary disabled in issue19633 tests. -- Added file: http://bugs.python.org/file32749/audioop_byteswap_3.patch ___ Python tracker

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

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: asyncio_subprocess_watchdog.patch: * add test_asyncio.watchdog.setup_watchdog(): use faulthandler.dump_traceback_later() to kill the process if it hangs more than 'timeout' seconds (do nothing if faulthandler is not present, eg. on other Python VMs than CPyth

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

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: > 2.7 builds are failing on koobs-freebsd9 buildbot since ba7d53b5f3de I reopen the issue. -- resolution: fixed -> status: closed -> open ___ Python tracker _

[issue19661] AIX: Python: RuntimeError "invalid slot offset when importing a module" in _ssl module

2013-11-21 Thread dellair jie
dellair jie added the comment: Still seeing the same error without optimization, the build log from HPUX 11.31IA is also attached for reference (maybe irrelevance though ^^): AIX 6.1: cc -qlanglvl=extc89 -O0 -IInclude -I. -I/usr/local/include -c /aix/Modules/_ssl.c -o build/temp.aix-6.1-3.3-py

[issue19637] test_subprocess.test_undecodable_env() failure on AIX

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: test_subprocess now pass on the "PPC64 AIX 3.x" buildbot, I close the issue. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue19568] bytearray_setslice_linear() leaves the bytearray in an inconsistent state on memory allocation failure

2013-11-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Perhaps the code will be easier if reorganize it. -- Added file: http://bugs.python.org/file32751/bytearray_setslice_mem_error-4.patch ___ Python tracker ___

[issue19674] Add introspection information for builtins

2013-11-21 Thread Nick Coghlan
Nick Coghlan added the comment: Sounds good to me (with either Larry's or Guido's spelling). We should ensure this still works with the config option that disables docstrings entirely. -- ___ Python tracker _

[issue19518] Add new PyRun_xxx() functions to not encode the filename

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: > "*Unicode" suffix in existing functions means Py_UNICODE* argument. Yes, this is why I chose Object() suffix. Are you still opposed to "Object" suffix? (Yes, "*Ex2" is really ugly.) -- ___ Python tracker

[issue19678] smtpd.py: channel should be passed to process_message

2013-11-21 Thread Leslie P. Polzer
New submission from Leslie P. Polzer: process_message needs to have access to the channel state since it needs to make decisions based on the authentication or transport associated with the channel. It should be either the first or the last arg. I can provide a patch for this. Should backwards

[issue19679] smtpd.py: implement ESMTP status messages

2013-11-21 Thread Leslie P. Polzer
New submission from Leslie P. Polzer: ESMTP status messages (of the form "xab x.y.z test") can be added easily to the current status message strings emitted by the SMTP server and channel classes. They are not harmful if the user's server only intends to support plain HELO-SMTP I will provide

[issue19578] del list[a:b:c] doesn't handle correctly list_resize() failure

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset b508253f2876 by Victor Stinner in branch 'default': Close #19578: Fix list_ass_subscript(), handle list_resize() failure http://hg.python.org/cpython/rev/b508253f2876 -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected s

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

2013-11-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've attached an updated version of the patch that should fix most of the issues found during review. I've also changed the two FMT_ constants to an enum.Enum (but still expose the constants themselves as module global names because that's IMHO more convenie

[issue19568] bytearray_setslice_linear() leaves the bytearray in an inconsistent state on memory allocation failure

2013-11-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset ab73b7fd7523 by Victor Stinner in branch 'default': Close #19568: Fix bytearray_setslice_linear(), fix handling of http://hg.python.org/cpython/rev/ab73b7fd7523 -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status:

[issue19568] bytearray_setslice_linear() leaves the bytearray in an inconsistent state on memory allocation failure

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: > Perhaps the code will be easier if reorganize it. Ah yes, your version is simpler. I commited your patch, thanks. I also fixed the XXX to check the integer overflow: if (Py_SIZE(self) > (Py_ssize_t)PY_SSIZE_T_MAX - growth) { PyErr_NoMemory();

[issue19575] subprocess: on Windows, unwanted file handles are inherited by child processes in a multithreaded application

2013-11-21 Thread STINNER Victor
Changes by STINNER Victor : -- title: subprocess: on Windows, unwanted file handles are inherit by child processes in a multithreaded application -> subprocess: on Windows, unwanted file handles are inherited by child processes in a multithreaded application __

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

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: 3de17d13002d.patch: - take in account Antoine Pitrou's and vajrasky's comments - pack again frame_t structure (without the assertion and with a comment) -- Added file: http://bugs.python.org/file32753/3de17d13002d.patch _

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

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: Oh yes, Antoine also asked if Python/ and Include/ directories are the right place for hashtable.c and hashtable.h files. _Py_slist and _Py_hashtable are only used in Modules/_tracemalloc.c yet. It was discussed to reuse _Py_slist somewhere (I don't remember w

[issue19666] Format string for ASCII unicode or bytes-like object as readonly buffer

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: Where do you plan to use this new format? Can you please give examples? > (other unicode representations may not allow you to take a Py_buffer to the > ASCII data). Py_buffer and PyArg_ParseTuple() are very specific to CPython. -- ___

[issue19518] Add new PyRun_xxx() functions to not encode the filename

2013-11-21 Thread Nick Coghlan
Nick Coghlan added the comment: How about "ExName"? This patch: PyRun_AnyFileExName PyRun_SimpleFileExName PyRun_InteractiveOneExName PyRun_InteractiveLoopExName PyRun_FileExName Previous patch: Py_CompileStringExName PyAST_FromNodeExName PyAST_CompileExName

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

2013-11-21 Thread Claudiu.Popa
Claudiu.Popa added the comment: Nick, what's your opinion on my latest patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

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

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: > It was discussed to reuse _Py_slist somewhere (I don't remember where) (...) I did a quick search in Python code based using "link.*list" regex. Structures linked in a single-linked list (candidate for _Py_slist): * Modules/_curses_panel.c: list_of_panels *

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

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: Oh, I just realized _Py_slist_init(), _Py_slist_prepend(), and _Py_slist_remove() functions are currently private (static in hashtable.c). These functions should be declared in hashtable.h if _Py_slist API is reused. -- ___

[issue19679] smtpd.py (SMTPChannel): get rid of "conn" attribute

2013-11-21 Thread Leslie P. Polzer
Leslie P. Polzer added the comment: The contents of "conn" are already stored by asyncore's "socket" attribute, so there doesn't seem to be a need to keep it around. We should deprecate its usage and refer the user to the "socket" attribute. Furthermore I suggest renaming the "conn" argument t

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

2013-11-21 Thread Nick Coghlan
Nick Coghlan added the comment: My apologies for not reviewing this earlier, it's been a somewhat hectic month. Thanks for pinging the ticket while there's still a chance to get this into 3.4 :) After my last round of updates to dis.Bytecode removed the potential for confusion between line_of

[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

[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

[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

[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 ___

[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) --

[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 ___

[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 ___ __

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

2013-11-21 Thread STINNER Victor
STINNER Victor added the comment: "Reuse _Py_hashtable for the methods cache is not trivial, the API doesn't fit exactly. I didn't spend much time to try to adapt _Py_hashtable API or the methods cache." I don't understand which part is the key and which part is the enetry data in method_cach

[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 ___ _

[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

[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

[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 ___ ___

[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

[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

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

2013-11-21 Thread Eric Snow
Eric Snow 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. [1] http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/queue.h?rev=1

[issue19386] selectors test_interrupted_retry is flaky

2013-11-21 Thread R. David Murray
R. David Murray added the comment: Looking at the current buildbot history I don't see these errors any more. I'm not sure how frequent they were, but I think I'll mark this as resolved and we can reopen it if we see it again. -- resolution: -> invalid stage: needs patch -> committed

[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 ___

[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 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

[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 ___

[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

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

2013-11-21 Thread Vajrasky Kok
Vajrasky Kok added the comment: No review link? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[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:

[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 ___ ___

[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

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

2013-11-21 Thread R. David Murray
R. David Murray added the comment: Ah, I posted a git-diff 3.3 patch. Let me repost it. -- Added file: http://bugs.python.org/file32757/support_8bit_charset_cte.patch ___ Python tracker ___

[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 ___ __

[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 ___

[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 __

[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

[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 ___

[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

[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 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 __

[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

[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

[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

[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. -

[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 _

[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 ___

[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

[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 ___ __

[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

[issue19684] IDLE on OS X 10.6.8 crashes when opening a file

2013-11-21 Thread Will Adams
Will Adams added the comment: For some reason I got the impression that this only applied to some graphics library routines so I ignored the warnings. Thanks for the reply and sorry to take your time. On Nov 21, 2013, at 11:58 AM, Ned Deily wrote: > > Ned Deily added the comment: > >> Fro

[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

[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

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

2013-11-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have added a few comments on Rietveld. Besides formatting nitpicks your have forgot third argument in new warns and missed some details in tests. As for the rest the patch LGTM. If you have no time I will fixed this minor issues and will commited the patch

[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

[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

[issue19684] IDLE on OS X 10.6.8 crashes when opening a file

2013-11-21 Thread Ned Deily
Ned Deily added the comment: >From the crash reports, it appears that you were trying to use IDLE with the >Apple-supplied Tcl and Tk frameworks. OS X 10.6.x was the first release of the >newer Aqua Cocoa Tk and it was very problematic. You should have seen a >warning message when IDLE 2.7.6

[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

[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 _

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

2013-11-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: Updated patch after next round of reviews. -- Added file: http://bugs.python.org/file32754/issue-14455-v10.txt ___ 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 _

  1   2   >