[issue12987] Demo/scripts/newslist.py has non-free licensing terms

2014-12-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 54af09408795 by Benjamin Peterson in branch '2.7': nuke ancient script with dubious license (closes #12987) https://hg.python.org/cpython/rev/54af09408795 -- nosy: +python-dev resolution: - fixed stage: - resolved status: open - closed

[issue22986] Improved handling of __class__ assignment

2014-12-02 Thread Ethan Furman
Changes by Ethan Furman et...@stoneleaf.us: -- nosy: +ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22986 ___ ___ Python-bugs-list

[issue14134] xmlrpc.client.ServerProxy needs timeout parameter

2014-12-02 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14134 ___

[issue22980] C extension naming doesn't take bitness into account

2014-12-02 Thread Nick Coghlan
Nick Coghlan added the comment: My initial thought is to add an abitags attribute to sys.implementation (plural so we can also indicate stable ABI support). If we define the algorithm clearly, then setuptools distlib could make it available on earlier Python versions. --

[issue22986] Improved handling of __class__ assignment

2014-12-02 Thread Nathaniel Smith
Nathaniel Smith added the comment: Here's a slightly improved patch spurred by a parenthetical comment of Antoine's on the mailing list :-). The only change is that it adds a check in subclass_dealloc to correct the reference counting in the weird case that someone converts a HEAPTYPE object

[issue22986] Improved handling of __class__ assignment

2014-12-02 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22986 ___ ___ Python-bugs-list

[issue22986] Improved handling of __class__ assignment

2014-12-02 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22986 ___ ___ Python-bugs-list

[issue22980] C extension naming doesn't take bitness into account

2014-12-02 Thread Ned Deily
Ned Deily added the comment: Re PEP 3149 file names: it hadn't struck me until fairly recently that PEP 3149-style extension file names were never implemented for OS X, i.e. they are still of the form _helperlib.so. I'm not sure why that is the case since other aspects of PEP 3149-like file

[issue21963] 2.7.8 backport of Issue1856 (avoid daemon thread problems at shutdown) breaks ceph

2014-12-02 Thread Dan Mick
Dan Mick added the comment: Belaboring this a bit just in case what I learn helps with the interpreter change: seems like threading.Thread.start() is hanging in its normal wait for start code: (gdb) py-bt #4 Frame 0x25d4de0, for file /usr/lib64/python2.7/threading.py, line 339, in wait

[issue22968] types._calculate_meta nit: isinstance != PyType_IsSubtype

2014-12-02 Thread Greg Turner
Greg Turner added the comment: perhaps isinstance(x, type) should have been issubclass(x, type) to correctly capture how python 2 does it. Actually, scratch that -- its a brain fart. IIUC new_class was created because, at the time, there was no exposed turnkey method to execute the PEP3115

[issue22968] Lib/types.py nit: isinstance != PyType_IsSubtype

2014-12-02 Thread Greg Turner
Changes by Greg Turner g...@be-evil.net: -- title: types._calculate_meta nit: isinstance != PyType_IsSubtype - Lib/types.py nit: isinstance != PyType_IsSubtype ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22968

[issue14099] ZipFile.open() should not reopen the underlying file

2014-12-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset c2c4cde55f6f by Serhiy Storchaka in branch '2.7': Issue #14099: ZipFile.open() no longer reopen the underlying file. Objects https://hg.python.org/cpython/rev/c2c4cde55f6f New changeset e5bb3044402b by Serhiy Storchaka in branch '3.4': Issue

[issue17401] io.FileIO closefd parameter is not documented nor shown in repr

2014-12-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Arfrever have suggested on IRC to backport documentation part of the patch to 3.4. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17401 ___

[issue14099] ZipFile.open() should not reopen the underlying file

2014-12-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thanks Stepan for the idea. -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14099

[issue16569] Preventing errors of simultaneous access in zipfile

2014-12-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Closed in favor of issue14099. -- resolution: - rejected stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16569

[issue22721] pprint output for sets and dicts is not stable

2014-12-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: My question to Raymond is should we use the operator or special methods __lt__ and __gt__ (this is the difference between alternative patches)? The use of repr instead of id is different issue. -- ___ Python

[issue22746] cgitb html: wrong encoding for utf-8

2014-12-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: We can convert cgitb.hook to produce ASCII-compatible output with charrefs in 3.x. But there is a problem with str in 2.7. 8-bit string can contain non-ASCII data and the encoding is not known in general case. --

<    1   2