[issue21619] Cleaning up a subprocess with a broken pipe

2015-03-07 Thread Martin Panter
Martin Panter added the comment: Sure, new version is fine by me -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21619 ___ ___ Python-bugs-list

[issue21619] Cleaning up a subprocess with a broken pipe

2015-03-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think we should add __enter__ for consistency. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21619 ___

[issue11276] 2to3: imports fixer doesn't update references to modules specified without attributes

2015-03-07 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: -- nosy: +Claudiu.Popa type: - behavior versions: +Python 3.5 -Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11276

[issue21619] Cleaning up a subprocess with a broken pipe

2015-03-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file38386/overflow-pipe-test-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21619 ___

[issue21619] Cleaning up a subprocess with a broken pipe

2015-03-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4ea40dc3d26d by Serhiy Storchaka in branch '3.4': Issue #21619: Cleaned up test_broken_pipe_cleanup. https://hg.python.org/cpython/rev/4ea40dc3d26d New changeset 41ce95a5b2d8 by Serhiy Storchaka in branch 'default': Issue #21619: Cleaned up

[issue9191] winreg.c:Reg2Py() may leak memory (in unusual circumstances)

2015-03-07 Thread Claudiu Popa
Claudiu Popa added the comment: This was fixed a couple of months ago: https://hg.python.org/cpython/rev/07968254be96. Also, malloc was changed to PyMem_New a couple of weeks ago: https://hg.python.org/cpython/rev/036a2aceae93 -- nosy: +Claudiu.Popa resolution: - fixed stage: needs

[issue7877] Iterators over _winreg EnumKey and EnumValue results

2015-03-07 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: -- nosy: +Claudiu.Popa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7877 ___ ___ Python-bugs-list

[issue23581] unittest.mock.MagicMock doesn't support matmul (@) operator

2015-03-07 Thread Håkan Lövdahl
Håkan Lövdahl added the comment: Here is a suggestion for a patch. It adds the missing matmul and has a small test for it. -- keywords: +patch nosy: +Håkan Lövdahl Added file: http://bugs.python.org/file38368/issue23581.patch ___ Python tracker

[issue23600] tizinfo.fromutc changed for tzinfo wih StdOffset=0, DstOffset=1

2015-03-07 Thread Peter J C Law
Peter J C Law added the comment: Hi, Sorry for the overkill demo. I've attached a much shorter version, the key portion of which seems to be that, for the case of UK summer time the timezone, the tzinfo's `dst()` and `utcoffset()` methods return the same value. This results in the delta

[issue23568] unittest.mock.MagicMock doesn't support __rdivmod__

2015-03-07 Thread Håkan Lövdahl
Håkan Lövdahl added the comment: I wrote a small patch and a test for it. Tested it on Python 3.5 and it worked. -- keywords: +patch nosy: +Håkan Lövdahl Added file: http://bugs.python.org/file38373/issue23568.patch ___ Python tracker

[issue23601] use small object allocator for dict key storage

2015-03-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue16465. -- nosy: +pitrou, rhettinger, serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23601 ___

[issue23103] Reduce memory usage for ipaddress object instances

2015-03-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Nick, what is your thoughts about the patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23103 ___ ___

[issue23601] use small object allocator for dict key storage

2015-03-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Interesting. I can reproduce the speedup on 64-bit Linux (Ubuntu 14.10). -- stage: - patch review type: - performance ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23601

[issue23601] use small object allocator for dict key storage

2015-03-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: $ ./python -m timeit dict(a=5, b=2) Unpatched: 10 loops, best of 3: 2.5 usec per loop issue16465 patch: 100 loops, best of 3: 1.87 usec per loop issue23601 patch: 100 loops, best of 3: 1.98 usec per loop --

[issue23579] Amazon.com links

2015-03-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5903ab233a1d by Benjamin Peterson in branch '3.4': replace Amazon links in the documentation (closes #23579) https://hg.python.org/cpython/rev/5903ab233a1d New changeset 4ad1ea911fd0 by Benjamin Peterson in branch '2.7': replace Amazon links in the

[issue23051] multiprocessing.pool methods imap()[_unordered()] deadlock

2015-03-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23051 ___ ___

[issue21800] Implement RFC 6855 (IMAP Support for UTF-8) in imaplib.

2015-03-07 Thread Håkan Lövdahl
Changes by Håkan Lövdahl hlovd...@gmail.com: -- nosy: +Håkan Lövdahl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21800 ___ ___ Python-bugs-list

[issue21779] test_multiprocessing_spawn fails when ran with -Werror

2015-03-07 Thread Davin Potts
Changes by Davin Potts pyt...@discontinuity.net: -- nosy: +davin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21779 ___ ___ Python-bugs-list

[issue7352] pythonx.y-config --ldflags out of /usr and missing -Linstall_lib_dir

2015-03-07 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: -terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7352 ___ ___ Python-bugs-list

[issue23551] IDLE to provide menu options for using PIP

2015-03-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: PS. I am fine with your initial plan. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23551 ___ ___

[issue13397] Option for XMLRPC clients to automatically transform Fault exceptions into standard exceptions

2015-03-07 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: -- nosy: -Claudiu.Popa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13397 ___ ___

[issue7352] pythonx.y-config --ldflags out of /usr and missing -Linstall_lib_dir

2015-03-07 Thread Matthias Klose
Matthias Klose added the comment: this seems to work for me: $ python-config --ldflags -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions the patch is incomplete, no patch for the shell

[issue23051] multiprocessing.pool methods imap()[_unordered()] deadlock

2015-03-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: May be the code would cleaner when convert the for loop to the while loop and wrap in try/except only next()? -- Added file: http://bugs.python.org/file38377/issue_23051_4-3.4.patch ___ Python tracker

[issue23551] IDLE to provide menu options for using PIP

2015-03-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows, I think we should consider directly supportting http://www.lfd.uci.edu/~gohlke/pythonlibs/ Unofficial Windows Binaries for Python Extension Packages When possible, this has 2.6, 2.7, 3.3, and 3.4 binaries for 32 and 64 bits. I and others use this

[issue23103] Reduce memory usage for ipaddress object instances

2015-03-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 88a5c1698ca4 by Serhiy Storchaka in branch 'default': Issue #23103: Reduced the memory consumption of IPv4Address and IPv6Address. https://hg.python.org/cpython/rev/88a5c1698ca4 -- nosy: +python-dev ___

[issue23551] IDLE to provide menu options for using PIP

2015-03-07 Thread Mark Lawrence
Mark Lawrence added the comment: I really do think we should support Christoph's site. It has saved me many a headache over the years. For beginners it's also got to be preferable to seeing the rather cryptic Unable to find vcvarsall.bat message, plus how many of them want to install VS?

[issue21992] New AST node Else() should be introduced

2015-03-07 Thread Mark Shannon
Mark Shannon added the comment: I would say yes, it is too late. Any change to the AST is a breaking change. The current AST is full of missing line numbers, incorrect column offsets and other inconsistencies. To fix them all would be a major undertaking with no obvious benefit to the core

[issue23279] test_site/test_startup_imports fails when mpl_toolkit or logilab based modules installed

2015-03-07 Thread Mark Lawrence
Mark Lawrence added the comment: I've added names from the nosy list for #20986 as it appears to be similar. -- nosy: +BreamoreBoy, brett.cannon, christian.heimes, ncoghlan, vinay.sajip ___ Python tracker rep...@bugs.python.org

[issue17570] Improve devguide Windows instructions

2015-03-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +steve.dower ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17570 ___ ___ Python-bugs-list

[issue23103] Reduce memory usage for ipaddress object instances

2015-03-07 Thread Nick Coghlan
Nick Coghlan added the comment: +1 from me, although since we're committing to preserving the weakref support for compatibility reasons now, I'm wondering if we should also add a test for it. -- ___ Python tracker rep...@bugs.python.org

[issue23602] Implement __format__ for Fraction

2015-03-07 Thread Tuomas Suutari
New submission from Tuomas Suutari: Since Decimal supports __format__, it would be nice that Fraction did too. -- components: Library (Lib) messages: 237460 nosy: tuomas.suutari priority: normal severity: normal status: open title: Implement __format__ for Fraction versions: Python 3.5

[issue23602] Implement __format__ for Fraction

2015-03-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +eric.smith, ezio.melotti, mark.dickinson, rhettinger, skrah stage: - patch review type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23602

[issue23603] MinGW-64

2015-03-07 Thread Ashish Sadanandan
New submission from Ashish Sadanandan: I'm trying to embed Python 3.4.3 (x64) in a program compiled using MinGW-W64 g++ 4.9.2 (output from g++ -v attached) and Boost.Python 1.57.0. A simple example kept crashing at runtime and I managed to track it down to this testcase (which is not using

[issue23602] Implement __format__ for Fraction

2015-03-07 Thread Tuomas Suutari
Tuomas Suutari added the comment: Here's a patch that adds Fraction.__format__ implementation, test cases and documentation. -- keywords: +patch Added file: http://bugs.python.org/file38378/issue23602.patch ___ Python tracker rep...@bugs.python.org

[issue13583] sqlite3.Row doesn't support slice indexes

2015-03-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch with much simpler implementation. -- components: +Extension Modules Added file: http://bugs.python.org/file38379/sqlite3_row_slice.patch ___ Python tracker rep...@bugs.python.org

[issue21992] New AST node Else() should be introduced

2015-03-07 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21992 ___ ___ Python-bugs-list

[issue23103] Reduce memory usage for ipaddress object instances

2015-03-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: OK. But I hesitate that weakref support is useful for IP addresses. -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23103

[issue23603] MinGW-64 and embedding Python3.4

2015-03-07 Thread Ashish Sadanandan
Changes by Ashish Sadanandan ashish.sadanan...@gmail.com: -- title: MinGW-64 - MinGW-64 and embedding Python3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23603 ___

[issue23601] use small object allocator for dict key storage

2015-03-07 Thread Mark Shannon
Mark Shannon added the comment: I don't remember why PyMem_Malloc rather than PyObject_MALLOC was used, it may have been inherited from the allocation of dict tables in the earlier implementation. My only concern is that the benchmark only tests performance for very small dictionaries. The

[issue23144] html.parser.HTMLParser: setting 'convert_charrefs = True' leads to dropped text

2015-03-07 Thread Ezio Melotti
Ezio Melotti added the comment: Here is a patch that fixes the problem. Even though calling .close() is the correct solution, I preferred to restore the previous behavior and call handle_data as soon as possible. There is a corner case in which a charref might be cut in half while feeding

[issue23551] IDLE to provide menu options for using PIP

2015-03-07 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: For the initial version here is what I plan to code: A single package manager entry in a suitable menu. This would open a dialog window containing options for (inspired from msg236906). 1. Show installed packages(freeze) This menu would have

[issue23144] html.parser.HTMLParser: setting 'convert_charrefs = True' leads to dropped text

2015-03-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Removed file: http://bugs.python.org/file38376/issue23144.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23144 ___

[issue23144] html.parser.HTMLParser: setting 'convert_charrefs = True' leads to dropped text

2015-03-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Added file: http://bugs.python.org/file38380/issue23144.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23144 ___

[issue23602] Implement __format__ for Fraction

2015-03-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: from fractions import Fraction as F format(F(1, 3), '.30f') '0.00' -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23602

[issue4851] xml.dom.minidom.Element.cloneNode fails with AttributeError

2015-03-07 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: -- nosy: +Claudiu.Popa versions: +Python 3.5 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4851 ___

[issue22455] idna/punycode give wrong results on narrow builds

2015-03-07 Thread Mark Lawrence
Mark Lawrence added the comment: As 2.7 is to be supported until 2020 and a potential fix is available shouldn't we be using it? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22455

[issue22227] Simplify tarfile iterator

2015-03-07 Thread Mark Lawrence
Mark Lawrence added the comment: LGTM at a quick glance. Can we have a formal patch review please. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7 ___

[issue7352] pythonx.y-config --ldflags out of /usr and missing -Linstall_lib_dir

2015-03-07 Thread koobs
koobs added the comment: +nosy doko on ned_deily's advice -- nosy: +doko ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7352 ___ ___

[issue7352] pythonx.y-config --ldflags out of /usr and missing -Linstall_lib_dir

2015-03-07 Thread koobs
koobs added the comment: Still an issue on 2.7, 3.2, 3.3. Updating Versions to reflect this fact and assist downstreams in backporting a forthcoming fix to those versions that won't get it due to security-fix only branches. See Also: Issue:

[issue23495] The writer.writerows method should be documented as accepting any iterable (not only a list)

2015-03-07 Thread Peter Otten
Changes by Peter Otten __pete...@web.de: -- nosy: +peter.otten ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23495 ___ ___ Python-bugs-list

[issue22928] HTTP header injection in urrlib2/urllib/httplib/http.client

2015-03-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Added comments on Rietveld. Is there a limit to the length of header line? Would not unfolding all header values exceed the limit? -- assignee: - serhiy.storchaka nosy: +serhiy.storchaka ___ Python tracker

[issue23600] tizinfo.fromutc changed for tzinfo wih StdOffset=0, DstOffset=1

2015-03-07 Thread Alistair Lynn
Changes by Alistair Lynn arpl...@gmail.com: -- nosy: +alynn ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23600 ___ ___ Python-bugs-list mailing

[issue16462] smtpd should return greeting

2015-03-07 Thread Håkan Lövdahl
Changes by Håkan Lövdahl hlovd...@gmail.com: -- nosy: +Håkan Lövdahl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16462 ___ ___ Python-bugs-list

[issue21992] New AST node Else() should be introduced

2015-03-07 Thread Mark Lawrence
Mark Lawrence added the comment: The referenced issue1659410 has been closed as too late. Does that also apply here or is this still considered to be a valid enhancement request? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 2.7 ___ Python

[issue22524] PEP 471 implementation: os.scandir() directory scanning function

2015-03-07 Thread Ben Hoyt
Ben Hoyt added the comment: Oops, I'm sorry re previous comment -- looks like I forgot to attach scandir-8.patch. Now attached. Please re-read my previous comment and review. :-) -- Added file: http://bugs.python.org/file38374/scandir-8.patch ___

[issue23601] use small object allocator for dict key storage

2015-03-07 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: There seem to be quite a few other places where this simple optimization could make sense as well, perhaps even going as far as converting all uses of PyMem_MALLOC to PyObject_MALLOC. There was a time when the small memory allocator did not return free

[issue19610] setup.py does not allow a tuple for classifiers

2015-03-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch changes this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19610 ___ ___ Python-bugs-list

[issue23400] Inconsistent behaviour of multiprocessing.Queue() if sem_open is not implemented

2015-03-07 Thread Davin Potts
Davin Potts added the comment: Attaching updated single patch for both default/3.5 and 3.4 to use Serhiy's insightful simplification. This updated patch has been tested on current Debian Hurd (see earlier comments about full battery of tests there) and OS X 10.10 (full, verbose tests). Note

[issue21779] test_multiprocessing_spawn fails when ran with -Werror

2015-03-07 Thread Mark Lawrence
Mark Lawrence added the comment: This can be reproduced on Windows 8.1. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21779 ___

[issue22268] add dedicated functions mrohasattr and mrogetattr

2015-03-07 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- title: mrohasattr and mrogetattr - add dedicated functions mrohasattr and mrogetattr ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22268

[issue21162] code in multiprocessing.pool freeze if inside some code from scikit-learn (and probably liblinear) executed on ubuntu 12.04 64 Bit

2015-03-07 Thread Davin Potts
Davin Potts added the comment: I am unable to reproduce the described behavior using the script provided in that gist using Python 2.7.9 on OS X 10.10 with scikit-learn 0.15.2, scipy 0.14.0, numpy 1.9.0. For me, the sample code runs happily through to completion. Can the OP still reproduce

[issue21793] httplib client/server status refactor

2015-03-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset ad64b6a7c0e2 by Serhiy Storchaka in branch 'default': Issue #21793: BaseHTTPRequestHandler again logs response code as numeric, https://hg.python.org/cpython/rev/ad64b6a7c0e2 -- ___ Python tracker

[issue21793] httplib client/server status refactor

2015-03-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Martin for noticing a logging issue. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21793 ___

[issue23138] cookiejar parses cookie value as int with empty name-value pair and Expires

2015-03-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: According to RFC 6265, Section 5.2: 2. If the name-value-pair string lacks a %x3D (=) character, ignore the set-cookie-string entirely. But Set-Cookie: spam; Expires=Thu, 01 Jan 1970 00:00:10 GMT is accepted. key=spam, value=None. 5. If the

[issue23460] Decimals do not obey ':g' exponential notation formatting rules

2015-03-07 Thread Tuomas Suutari
Tuomas Suutari added the comment: Here's a patch that fixes the description for 'g' to explain what happens for `Decimal` and also documents the Decimal.__format__ in the documentation of the decimal module. -- keywords: +patch nosy: +Tuomas Suutari Added file:

[issue23601] use small object allocator for dict key storage

2015-03-07 Thread Julian Taylor
New submission from Julian Taylor: dictionary creation spends a not insignificant amount of time in malloc allocating keys objects. Python has a nice small object allocator that avoids a lot of this overhead and falls back to malloc for larger allocations. Is there a reason the dictionary does

[issue23551] IDLE to provide menu options for using PIP

2015-03-07 Thread Peter Otten
Changes by Peter Otten __pete...@web.de: -- nosy: +peter.otten ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23551 ___ ___ Python-bugs-list

[issue23584] test_doctest lineendings fails in verbose mode

2015-03-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - patch review type: - behavior versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23584 ___

[issue23579] Amazon.com links

2015-03-07 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23579 ___ ___

[issue23530] os and multiprocessing.cpu_count do not respect cpuset/affinity

2015-03-07 Thread Julian Taylor
Julian Taylor added the comment: attached documentation update patch. -- keywords: +patch Added file: http://bugs.python.org/file38369/0001-Issue-23530-Update-documentation-clarify-relation-of.patch ___ Python tracker rep...@bugs.python.org

[issue22154] ZipFile.open context manager support

2015-03-07 Thread Tuomas Suutari
Tuomas Suutari added the comment: The context manager support was added on issue #5511, so the documentation should go to 2.7, 3.4 and default. Also the version added notes should be added. -- nosy: +Tuomas Suutari ___ Python tracker

[issue7352] pythonx.y-config --ldflags out of /usr and missing -Linstall_lib_dir

2015-03-07 Thread koobs
Changes by koobs koobs.free...@gmail.com: -- nosy: +koobs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7352 ___ ___ Python-bugs-list mailing list

[issue21793] httplib client/server status refactor

2015-03-07 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- stage: commit review - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21793 ___ ___

[issue23601] use small object allocator for dict key storage

2015-03-07 Thread Mark Shannon
Changes by Mark Shannon m...@hotpy.org: -- nosy: +Mark.Shannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23601 ___ ___ Python-bugs-list

[issue2211] Cookie.Morsel interface needs update

2015-03-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka nosy: +serhiy.storchaka status: languishing - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2211 ___

[issue2211] Cookie.Morsel interface needs update

2015-03-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Added comments on Rietveld. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2211 ___ ___ Python-bugs-list

[issue23601] use small object allocator for dict key storage

2015-03-07 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: +lemburg, tim.peters ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23601 ___ ___

[issue23581] unittest.mock.MagicMock doesn't support matmul (@) operator

2015-03-07 Thread Berker Peksag
Berker Peksag added the comment: Looks good. I'll tweak the patch and commit it. Thanks Håkan. -- stage: - patch review type: behavior - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23581

[issue23138] cookiejar parses cookie value as int with empty name-value pair and Expires

2015-03-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23138 ___

[issue22928] HTTP header injection in urrlib2/urllib/httplib/http.client

2015-03-07 Thread Martin Panter
Martin Panter added the comment: Folded header fields are deprecated as of RFC 7230; see https://tools.ietf.org/html/rfc7230#section-3.2.4. The only reasons to fold them I can think of is for readability (debugging), when generating a messsage/http MIME message (which I don’t think the Python

[issue22227] Simplify tarfile iterator

2015-03-07 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7 ___ ___ Python-bugs-list

[issue23604] Python 3.4 and 2.7 installation no Script folder and no pip installed

2015-03-07 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- components: +Installation, Windows -Extension Modules nosy: +steve.dower, tim.golden, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23604

[issue22227] Simplify tarfile iterator

2015-03-07 Thread Martin Panter
Martin Panter added the comment: The code changes look correct and worthwhile to me. Just added some suggestions for the comments, which would become out of date. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7

[issue23144] html.parser.HTMLParser: setting 'convert_charrefs = True' leads to dropped text

2015-03-07 Thread Martin Panter
Martin Panter added the comment: I still think it would be worthwhile adding close() calls to the examples in the documentation (Doc/library/html.parser.rst). BTW I haven’t tested this, and maybe it is not a concern, but even with this patch it looks like the parser will buffer unlimited data

[issue21619] Cleaning up a subprocess with a broken pipe

2015-03-07 Thread STINNER Victor
STINNER Victor added the comment: overflow-pipe-test.patch looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21619 ___ ___

[issue23604] Python 3.4 and 2.7 installation no Script folder and no pip installed

2015-03-07 Thread Daiyue Weng
New submission from Daiyue Weng: Hi, I was doing a fresh installation for Python 2.7.9 (32 bit) and 3.4.3 (32 bit) (downloaded from PSF) on Win7 X64 today, and I found that there is no 'Script' folder in 'Python27' and 'Python34' folder as first child level folder, but there is one in Tools.

[issue20876] python -m test test_pathlib fails

2015-03-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: I have applied the patch to 3.4 and default. Thank you! -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20876

[issue20876] python -m test test_pathlib fails

2015-03-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 40e8a8e83ed0 by Antoine Pitrou in branch '3.4': Issue #20876: correctly close temporary file in test.support.fs_is_case_insensitive() https://hg.python.org/cpython/rev/40e8a8e83ed0 New changeset 5406ed13bd6e by Antoine Pitrou in branch 'default':

[issue21518] Expose RegUnloadKey in winreg

2015-03-07 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: Added file: http://bugs.python.org/file38382/issue21518_5.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21518 ___

[issue23144] html.parser.HTMLParser: setting 'convert_charrefs = True' leads to dropped text

2015-03-07 Thread Ezio Melotti
Ezio Melotti added the comment: I still think it would be worthwhile adding close() calls to the examples in the documentation (Doc/library/html.parser.rst). If I add context manager support to HTMLParser I can update the examples to use it, but otherwise I don't think it's worth changing

[issue22522] sys.excepthook doesn't receive the traceback when called from code.InteractiveInterpreter

2015-03-07 Thread Claudiu Popa
Claudiu Popa added the comment: This was fixed by a different patch in https://hg.python.org/cpython/rev/5f3dd0a2b1ab -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org

[issue23601] use small object allocator for dict key storage

2015-03-07 Thread Julian Taylor
Julian Taylor added the comment: PyObject_Malloc just calls malloc above the threshold so there is no problem for larger dicts. For larger dicts the performance of malloc is also irrelevant as the time will be spent elsewhere. -- ___ Python tracker

[issue20876] python -m test test_pathlib fails

2015-03-07 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: - patch review versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20876 ___

[issue23603] Embedding Python3.4 - PyUnicode_Check fails (MinGW-W64)

2015-03-07 Thread Ashish Sadanandan
Changes by Ashish Sadanandan ashish.sadanan...@gmail.com: -- title: MinGW-64 and embedding Python3.4 - Embedding Python3.4 - PyUnicode_Check fails (MinGW-W64) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23603

[issue23103] Reduce memory usage for ipaddress object instances

2015-03-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23103 ___

[issue23103] Reduce memory usage for ipaddress object instances

2015-03-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23103 ___ ___

[issue23602] Implement __format__ for Fraction

2015-03-07 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23602 ___ ___ Python-bugs-list

[issue23588] Errno conflicts in ssl.SSLError

2015-03-07 Thread Martin Panter
Martin Panter added the comment: [padding] This behaviour of returning an SSL-specific error code in the “errno” attribute is not documented. The “errno” attribute is actually specified to hold a POSIX error code, and I don’t think this specification should be changed. I don’t see how

[issue22524] PEP 471 implementation: os.scandir() directory scanning function

2015-03-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset d04d5b9c29f6 by Victor Stinner in branch 'default': Issue #22524: New os.scandir() function, part of the PEP 471: os.scandir() https://hg.python.org/cpython/rev/d04d5b9c29f6 -- nosy: +python-dev ___

[issue22524] PEP 471 implementation: os.scandir() directory scanning function

2015-03-07 Thread STINNER Victor
STINNER Victor added the comment: KNOWN ISSUE: There's a reference leak in the POSIX version (found with python -m test -R 3:2 test_os). Don't worry, it was a simple refleak, I fixed it: diff -r 392d3214fc23 Modules/posixmodule.c --- a/Modules/posixmodule.c Sun Mar 08 01:58:04 2015

  1   2   >