[issue26362] Approved API for creating a temporary file path

2016-02-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have read the thread on Python-list (http://comments.gmane.org/gmane.comp.python.general/789339) and still don't understand the purpose of your idea. If you need unique filesystem paths without any access to real filesystem, you can use simple counter.

[issue26457] Error in ipaddress.address_exclude function

2016-02-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +ncoghlan, pmoody ___ Python tracker ___ ___

[issue26456] import _tkinter + TestForkInThread leaves zombie with stalled thread

2016-02-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +pitrou, serhiy.storchaka ___ Python tracker ___

[issue26457] Error in ipaddress.address_exclude function

2016-02-28 Thread Xiang Zhang
Changes by Xiang Zhang <18518281...@126.com>: -- nosy: +xiang.zhang ___ Python tracker ___ ___

[issue26457] Error in ipaddress.address_exclude function

2016-02-28 Thread feng liang
New submission from feng liang: when i read in document 3.5.1,run the example in ipaddress.address_exclude function >>> n1 = ip_network('192.0.2.0/28') >>> n2 = ip_network('192.0.2.1/32') >>> list(n1.address_exclude(n2)) I got: Traceback (most recent call last): File "", line 1, in

[issue26456] import _tkinter + TestForkInThread leaves zombie with stalled thread

2016-02-28 Thread Martin Panter
New submission from Martin Panter: After running the 2.7 test suite many times, my Linux OS’s memory slowly gets eaten up. It seems to be because of zombie Python processes that never get cleaned up unless I kill them explicitly. I never get this problem with the Python 3 test suite. I

[issue26195] Windows frozen .exe multiprocessing.Queue access is denied exception

2016-02-28 Thread Alex Robinson
Alex Robinson added the comment: Sorry I can't help more than provide a test environment for any fix. I just plucked the "fix" from StackOverflow and it fixed the Q problem on my machine. It appears, at the least, the multiprocessing code should probably not rely on the default value for the

[issue15873] datetime: add ability to parse RFC 3339 dates and times

2016-02-28 Thread Mathieu Dupuy
Mathieu Dupuy added the comment: I know. Martin was suggesting to defer the processing to an actual Python implementation, hence my answer. -- ___ Python tracker

[issue15873] datetime: add ability to parse RFC 3339 dates and times

2016-02-28 Thread STINNER Victor
STINNER Victor added the comment: > If I defer the actual processing to the Python part, what's the point of > doing a C part ? Currently, the "datetime" module is fully implemented in C, it's the _datetime module in practice (accessed by the datetime module namespace). --

[issue15873] datetime: add ability to parse RFC 3339 dates and times

2016-02-28 Thread Mathieu Dupuy
Mathieu Dupuy added the comment: What I really want is to use regex in the C part as I did for the python one. It's the best approach and by very far. I need to figure out how to use regex in CPython internals. If I defer the actual processing to the Python part, what's the point of doing a C

[issue26448] dis.findlabels ignores EXTENDED_ARG

2016-02-28 Thread Eric Fahlgren
Eric Fahlgren added the comment: Oops, wrong/bad patch, delete line 310 "arg = None" in _get_instruction_bytes... -- ___ Python tracker ___

[issue26448] dis.findlabels ignores EXTENDED_ARG

2016-02-28 Thread Eric Fahlgren
Eric Fahlgren added the comment: Two things: 1) Verified this has always been a problem and still is in the development branch, so I added 2.7 and 3.6 to the versions list. 2) Couldn't tolerate the duplicate code handling the extended args operator, so in the interests of DRY, I moved the

[issue25910] Fixing links in documentation

2016-02-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8f8e86ea3abb by Georg Brandl in branch '3.5': Update susp-ignore file (#25910). https://hg.python.org/cpython/rev/8f8e86ea3abb -- ___ Python tracker

[issue26449] Tutorial on Python Scopes and Namespaces uses confusing 'read-only' terminology

2016-02-28 Thread Georg Brandl
Georg Brandl added the comment: I think rephrasing with "... can only be read" would keep the intended meaning, but avoid the problematic "the namespaces are readonly" meaning. -- nosy: +georg.brandl ___ Python tracker

[issue26455] Inconsistent behavior with KeyboardInterrupt and asyncio futures

2016-02-28 Thread Michel Desmoulin
New submission from Michel Desmoulin: If you trigger KeyboardInterrupt in a coroutine and catch it, the program terminates cleanly: import asyncio async def bar(): raise KeyboardInterrupt loop = asyncio.get_event_loop() try: loop.run_until_complete(bar()) except KeyboardInterrupt:

[issue17369] Message.get_filename produces exception if the RFC2231 encoding is ill-formed

2016-02-28 Thread Matt
Changes by Matt : -- components: +email -Library (Lib) versions: -Python 3.3, Python 3.4 ___ Python tracker ___

[issue17369] Message.get_filename produces exception if the RFC2231 encoding is ill-formed

2016-02-28 Thread Matt
Changes by Matt : -- versions: -Python 3.5, Python 3.6 ___ Python tracker ___

[issue17369] Message.get_filename produces exception if the RFC2231 encoding is ill-formed

2016-02-28 Thread Matt
Changes by Matt : -- components: +Library (Lib) -email versions: +Python 3.5, Python 3.6 ___ Python tracker ___

[issue26446] Mention in the devguide that core devs are expected to follow the PSF CoC

2016-02-28 Thread Brett Cannon
Brett Cannon added the comment: Discussion of this change: https://mail.python.org/pipermail/python-committers/2016-February/003750.html -- ___ Python tracker

[issue26439] ctypes.util.find_library fails when ldconfig/glibc not available (e.g., AIX)

2016-02-28 Thread David Edelsohn
David Edelsohn added the comment: ctypes util.py "simply" needs support for AIX. There already is special support for Windows, Darwin, BSDs, Solaris. Is the question about the technical details for equivalent functionality on AIX or about adding a stanza to Lib/ctpyes/util.py? --

[issue26448] dis.findlabels ignores EXTENDED_ARG

2016-02-28 Thread Eric Fahlgren
Eric Fahlgren added the comment: I just remembered that code can have more than one (up to three?) EXTENDED_ARG operators before the real opcode, so I added that generalization to build code around the args list... -- Added file: http://bugs.python.org/file42046/testfindlabels.py

[issue26338] remove duplicate bind addresses in create_server

2016-02-28 Thread Sebastien Bourdeauducq
Sebastien Bourdeauducq added the comment: Can someone have a quick look at this please? -- ___ Python tracker ___

[issue26448] dis.findlabels ignores EXTENDED_ARG

2016-02-28 Thread Eric Fahlgren
Eric Fahlgren added the comment: Oh, don't worry about time between responses, we all have lives (well, some of us anyhow :) ). After looking at Lib/test/test_dis.py, I think it's just an oversight that there is no specific findlabels test (it's tested implicitly by ``dis.dis`` after all),

[issue26049] Poor performance when reading large xmlrpc data

2016-02-28 Thread Cédric Krier
Cédric Krier added the comment: One advantage, I see, is when xmlrpclib is overridden to use an other marshaller which is can not be feed chunk by chunk. So reducing the number of call to feed will have a bigger impact. But I don't know if this is enough for Python. --

[issue26448] dis.findlabels ignores EXTENDED_ARG

2016-02-28 Thread Barun Parruck
Barun Parruck added the comment: Hi, sorry, been pretty busy, and will be for a few days, so my replies may not be instant! Having looked through the dis test module, to be honest, I can't even find a call to dis.findlabels...odd. Maybe I've got it wrong, and I wouldn't mind somebody else

[issue26049] Poor performance when reading large xmlrpc data

2016-02-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Cédric. There is no improvement for the first request. But if repeat requests, there is small (about 5%) improvement. This is too small. -- ___ Python tracker

[issue26454] add support string that are not inherited from PyStringObject

2016-02-28 Thread yuriy_levchenko
New submission from yuriy_levchenko: i have my string object based on COW (https://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Copy-on-write) i think i need add flag Py_TPFLAGS_STRING_SUBCLASS https://bugs.python.org/issue26421 but this only for bases on PyStringObject -- messages:

[issue26453] SystemError on invalid numpy.ndarray / Path operation

2016-02-28 Thread STINNER Victor
STINNER Victor added the comment: Bug in NumPy. -- status: open -> closed ___ Python tracker ___ ___

[issue26453] SystemError on invalid numpy.ndarray / Path operation

2016-02-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This looks as NumPy bug. -- nosy: +haypo, serhiy.storchaka resolution: -> third party ___ Python tracker ___

[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2016-02-28 Thread Mathieu Dupuy
Mathieu Dupuy added the comment: first draft -- Added file: http://bugs.python.org/file42045/digest_md5sess_unittest.diff ___ Python tracker ___

[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2016-02-28 Thread Mathieu Dupuy
Mathieu Dupuy added the comment: I can see in the tests (test_urllib2_localnet.py) that Digest auth is tested only through "ProxyAuthTests". Is that sufficient ? Isn't it a bug ? If no, should I add the test in that class ? -- ___ Python tracker

[issue26049] Poor performance when reading large xmlrpc data

2016-02-28 Thread Cédric Krier
Cédric Krier added the comment: Here is the client/server scripts. I don't measure a big performance improvement with it. I think the improvement measured in msg257756 are linked to the way xmlrpclib is overriden in Tryton. -- Added file: http://bugs.python.org/file42044/server.py

[issue26049] Poor performance when reading large xmlrpc data

2016-02-28 Thread Cédric Krier
Changes by Cédric Krier : Added file: http://bugs.python.org/file42043/client.py ___ Python tracker ___

[issue13573] csv.writer uses str() for floats instead of repr()

2016-02-28 Thread Berker Peksag
Changes by Berker Peksag : -- stage: needs patch -> resolved ___ Python tracker ___