[issue20866] Crash in the libc fwrite() on SIGPIPE (segfault with os.popen and SIGPIPE)

2014-12-11 Thread STINNER Victor
Changes by STINNER Victor : -- title: segfailt with os.popen and SIGPIPE -> Crash in the libc fwrite() on SIGPIPE (segfault with os.popen and SIGPIPE) ___ Python tracker ___ ___

[issue20866] Crash in the libc fwrite() on SIGPIPE (segfault with os.popen and SIGPIPE)

2014-12-11 Thread STINNER Victor
STINNER Victor added the comment: I added this bug to my list of "Bugs that won’t be fixed in Python 2 anymore": http://haypo-notes.readthedocs.org/python.html#bugs-in-the-c-stdio-used-by-the-python-i-o -- ___ Python tracker

[issue22823] Use set literals instead of creating a set from a list

2014-12-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset b6e6a86a92a7 by Serhiy Storchaka in branch 'default': Issue #22823: Use set literals instead of creating a set from a list. https://hg.python.org/cpython/rev/b6e6a86a92a7 New changeset 86a694781bee by Serhiy Storchaka in branch '3.4': Issue #22823:

[issue22823] Use set literals instead of creating a set from a list

2014-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Docs changes were applied to 3.4 too. Here is a patch for lib2to3. -- assignee: serhiy.storchaka -> benjamin.peterson nosy: +benjamin.peterson stage: commit review -> patch review Added file: http://bugs.python.org/file37413/set_literal_2to3.patch __

[issue22823] Use set literals instead of creating a set from a list

2014-12-11 Thread STINNER Victor
STINNER Victor added the comment: > Here is a patch for lib2to3. In Python 3.5, I still found some "set([" and "frozenset([" in Lib/lib2to3, Lib/test/, Lib/stringrep.py, Lib/unittest/test/ and Lib/idlelib/CodeContext.py if someone is motived to patch them. (Ok, Serhiy wrote a patch for lib2to3

[issue22823] Use set literals instead of creating a set from a list

2014-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Tests are intentionally omitted, Lib/stringrep.py is very special case (it's code is generated and outdated, see issue15239), idlelib is deferred by Terry. And there is yet one one-line change to Lib/distutils/msvc9compiler.py in set_literal_3.patch. --

[issue23024] Python Compile Error on Mac os X ld: unknown option: -export-dynamic

2014-12-11 Thread zhuoyikang
zhuoyikang added the comment: thank u very much ! question solved 2014-12-11 14:42 GMT+08:00 Ned Deily : > > Ned Deily added the comment: > > That should work just fine, assuming you are using an unmodified Python > 3.4.x source download or the 3.4 branch of a source repo. My best guess as > t

[issue21600] mock.patch.stopall doesn't work with patch.dict to sys.modules

2014-12-11 Thread Michael Foord
Michael Foord added the comment: Using patch.dict manipulates the contents of sys.modules, it doesn't replace sys.modules. -- ___ Python tracker ___

[issue23025] ssl.RAND_bytes docs should mention os.urandom

2014-12-11 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue22823] Use set literals instead of creating a set from a list

2014-12-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset ce66b65ad8d6 by Terry Jan Reedy in branch '2.7': Issue 22823: Use set literal in idlelib. https://hg.python.org/cpython/rev/ce66b65ad8d6 New changeset daec40891d43 by Terry Jan Reedy in branch '3.4': Issue 22823: Use set literal in idlelib. https://

[issue23022] heap-use-after-free in find_maxchar_surrogates

2014-12-11 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19527] Test failures with COUNT_ALLOCS

2014-12-11 Thread Bohuslav "Slavek" Kabrda
Bohuslav "Slavek" Kabrda added the comment: Good catch, using getrefcount was a mistake. I'm attaching a new version which always checks for getcounts (and also applies on 3.4.2). -- Added file: http://bugs.python.org/file37414/00141-fix-tests_with_COUNT_ALLOCS-v3.patch __

[issue23022] heap-use-after-free in find_maxchar_surrogates

2014-12-11 Thread STINNER Victor
STINNER Victor added the comment: Your code is strange. It exchanges pointer between processes if I understand correctly: class Berbagi(ctypes.Structure): _fields_ = [('a', ctypes.c_wchar_p), ('b', ctypes.c_double) ] nilai = multiprocessing.Array(Berbagi, [Berbagi() for x in range(9)] )

[issue23022] heap-use-after-free in find_maxchar_surrogates

2014-12-11 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue23025] ssl.RAND_bytes docs should mention os.urandom

2014-12-11 Thread STINNER Victor
STINNER Victor added the comment: RAND_bytes() has an annoying bug: it can produces the same byte sequence in two different processes if they get the same identifier (yes, it occurs sometimes). See the issue #18747 and warnings about fork in the ssl module. I don't know if it is now fixed in O

[issue23025] ssl.RAND_bytes docs should mention os.urandom

2014-12-11 Thread STINNER Victor
STINNER Victor added the comment: Note: ssl.RAND_bytes() doesn't exist in Python 2 (even in Python 2.7.9!). -- versions: +Python 3.4, Python 3.5 ___ Python tracker ___ __

[issue23022] heap-use-after-free in find_maxchar_surrogates

2014-12-11 Thread peerhash
Changes by peerhash : Removed file: http://bugs.python.org/file37406/repro.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue19527] Test failures with COUNT_ALLOCS

2014-12-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17679] sysconfig generation uses some env variables multiple times

2014-12-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: needs patch -> patch review versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ ___ Pytho

[issue22765] Fixes for test_gdb (first frame address, entry values)

2014-12-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka stage: -> patch review type: -> behavior versions: +Python 3.4 ___ Python tracker ___ _

[issue18028] Warnings with -fstrict-aliasing

2014-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- assignee: -> christian.heimes nosy: +serhiy.storchaka stage: patch review -> commit review versions: +Python 3.5 -Python 3.3 ___ Python tracker

[issue8027] distutils fail to determine c++ linker with unixcompiler if using ccache

2014-12-11 Thread Xuefer x
Xuefer x added the comment: please fix this bug. it seems the patch no longer applies to the current 2.7/3.4 code but the bug is still reproduce-able in another way i have CXX="ccache_cxx -pthread -shared" but what actually happen is: ccache_cxx gcc -pthread -shared ... x86_64-openwrt-linux-gnu

[issue8027] distutils fail to determine c++ linker with unixcompiler if using ccache

2014-12-11 Thread Xuefer x
Xuefer x added the comment: even with CXX="x86_64-openwrt-linux-gnu-g++ -pthread -shared" /usr/src/xuefer/openwrt/trunk/staging_dir/host/bin/python setup.py build it's donig x86_64-openwrt-linux-gnu-g++ gcc -pthread -shared -- ___ Python tracke

[issue22225] Add SQLite support to http.cookiejar

2014-12-11 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> rejected stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue23030] lru_cache manual get/put

2014-12-11 Thread Constantin
New submission from Constantin: In an effort for improved communication between stacked decorators, I would like to propose that all decorators providing caching mechanisms should provide the functions cache_info, cache_clear, cache_get and cache_put. The standard lib only provides functools.l

[issue23007] Unnecessary big intermediate result in Lib/bisect.py

2014-12-11 Thread Sergey Litvinov
Sergey Litvinov added the comment: mark.dickinson> do you have an example of the Lib/bisect.py code No. I was thinking about something hypothetical similar to the one you provided. rhettinger> The "textbook" formula is more important in languages rhettinger> without something like Python long i

[issue23007] Unnecessary big intermediate result in Lib/bisect.py

2014-12-11 Thread Mark Dickinson
Mark Dickinson added the comment: Sergey: thanks for the response. Closing. -- status: open -> closed ___ Python tracker ___ ___ Pyth

[issue23007] Unnecessary big intermediate result in Lib/bisect.py

2014-12-11 Thread Mark Dickinson
Changes by Mark Dickinson : -- stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue23024] Python Compile Error on Mac os X ld: unknown option: -export-dynamic

2014-12-11 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___ _

[issue23014] Don't have importlib.abc.Loader.create_module() be optional

2014-12-11 Thread Brett Cannon
Brett Cannon added the comment: OK, then why don't we just make create_module() a required method to use exec_module(), add a DeprecationWarning for when it isn't defined, leave Loader.create_module() as-is (already returns None), and then plan to make it a requirement in Python 3.6 since the

[issue21600] mock.patch.stopall doesn't work with patch.dict to sys.modules

2014-12-11 Thread Eric Snow
Eric Snow added the comment: Ah. Never mind then. :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue23031] pdb crashes when jumping over "with" statement

2014-12-11 Thread Dan
New submission from Dan: -> print(1) (Pdb) jump 6 Segmentation fault -- components: Library (Lib) files: pdb_segfault.py messages: 232481 nosy: DSP priority: normal severity: normal status: open title: pdb crashes when jumping over "with" statement type: behavior versions: Python 2.7 Add

[issue22883] Get rid of references to PyInt in Py3 sources

2014-12-11 Thread Chaitanya agrawal
Changes by Chaitanya agrawal : Added file: http://bugs.python.org/file37417/issue228813_msg232419.patch ___ Python tracker ___ ___ Python-bugs

[issue22883] Get rid of references to PyInt in Py3 sources

2014-12-11 Thread Chaitanya agrawal
Changes by Chaitanya agrawal : Removed file: http://bugs.python.org/file37417/issue228813_msg232419.patch ___ Python tracker ___ ___ Python-bu

[issue22883] Get rid of references to PyInt in Py3 sources

2014-12-11 Thread Chaitanya agrawal
Changes by Chaitanya agrawal : Added file: http://bugs.python.org/file37417/issue228813_msg232419.patch ___ Python tracker ___ ___ Python-bugs

[issue23030] lru_cache manual get/put

2014-12-11 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue23030] lru_cache manual get/put

2014-12-11 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ncoghlan, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue23030] lru_cache manual get/put

2014-12-11 Thread R. David Murray
R. David Murray added the comment: It would be helpful (and provide a better record) if you could provide a link to the python-ideas discussion that endorses your idea. -- nosy: +r.david.murray ___ Python tracker

[issue22866] ssl module in 2.7 should provide a way to configure default context options

2014-12-11 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Reopening the ticket, since I apparently missed the two important uses in the Python 2.7.9 stdlib: urllib2.py: -- context = ssl._create_stdlib_context(cert_reqs=ssl.CERT_REQUIRED, httplib.py: -- context = ssl._create_default_https_c

[issue22866] ssl module in 2.7 should provide a way to configure default context options

2014-12-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: Usually you can pass your own context. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue15443] datetime module has no support for nanoseconds

2014-12-11 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue23030] lru_cache manual get/put

2014-12-11 Thread Ethan Furman
Ethan Furman added the comment: When reading this thread, keep in mind that most of it was taken up with rejecting exposing the underlying data structure, which is not what this patch does. https://mail.python.org/pipermail/python-ideas/2014-December/030230.html -- __

[issue22866] ssl module in 2.7 should provide a way to configure default context options

2014-12-11 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 11.12.2014 20:42, Benjamin Peterson wrote: > > Usually you can pass your own context. Yes, in new code, but not in existing Python 2.7 code that wasn't written for the newly added SSL context feature. BTW: Having a way to change the SSL options globally

[issue22866] ssl module in 2.7 should provide a way to configure default context options

2014-12-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Thu, Dec 11, 2014, at 15:24, Marc-Andre Lemburg wrote: > > Marc-Andre Lemburg added the comment: > > On 11.12.2014 20:42, Benjamin Peterson wrote: > > > > Usually you can pass your own context. > > Yes, in new code, but not in existing Python 2.7 code t

[issue22866] ssl module in 2.7 should provide a way to configure default context options

2014-12-11 Thread Donald Stufft
Donald Stufft added the comment: >> >> BTW: Having a way to change the SSL options globally would be useful >> for Python 3.x as well, since OpenSSL often adds new options and >> it's not unlikely we'll see an OP_NO_TLSv1 option soon, given its >> age and similarity to SSLv3... >> https://www.im

[issue22866] ssl module in 2.7 should provide a way to configure default context options

2014-12-11 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: > Benjamin Peterson added the comment: > > On Thu, Dec 11, 2014, at 15:24, Marc-Andre Lemburg wrote: >> >> Marc-Andre Lemburg added the comment: >> >> On 11.12.2014 20:42, Benjamin Peterson wrote: >>> >>> Usually you can pass your own context. >> >> Yes, in

[issue23032] 2.7 OS X installer builds fail building OpenSSL on OS X 10.4 / Xcode 2.5

2014-12-11 Thread Ned Deily
New submission from Ned Deily: As of 2.7.9, OS X installer builds now build and link with a private copy of OpenSSL when building for deployment targets of 10.5 or earlier (see Issue17128). Although we no longer produce installers for earlier than 10.5 and even then built them on 10.5 systems

[issue18028] Warnings with -fstrict-aliasing

2014-12-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Looks good to me as well. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19527] Test failures with COUNT_ALLOCS

2014-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM (only one nitpick -- there are trailing spaces in test_gc). But there are other tests which are failed with COUNT_ALLOCS. Here is a patch with additional fixes for these tests in test_gc and test_warnings. -- Added file: http://bugs.python.org/

[issue23033] Disallow support for a*.example.net, *a.example.net, and a*b.example.net in certificate wildcard handling.

2014-12-11 Thread Donald Stufft
New submission from Donald Stufft: Various browsers[1][2] are dropping support for wild card certificates which are anything but a single "*" alone in the left most position. The other style wildcards were deprecated previously and they should not appear in any public certificate and in the wo

[issue23033] Disallow support for a*.example.net, *a.example.net, and a*b.example.net in certificate wildcard handling.

2014-12-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sounds fine for me in 3.5. -- nosy: +pitrou versions: -Python 2.7, Python 3.4, Python 3.6 ___ Python tracker ___ __

[issue23034] Dynamically control debugging output

2014-12-11 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: When Python is compiled with some defined macros (e.g. COUNT_ALLOCS) it prints additional debugging output at shutdown. This additional output can cause tests failure (see issue19527). It would be good if Python will silent by default and produce debugging

[issue22823] Use set literals instead of creating a set from a list

2014-12-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7c2811521261 by Victor Stinner in branch 'default': Issue #22823: Fix typo in unittest/mock.py https://hg.python.org/cpython/rev/7c2811521261 -- ___ Python tracker ___

[issue22765] Fixes for test_gdb (first frame address, entry values)

2014-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: test_gdb is failed on my computer (gdb 7.7) and I confirm that the patch fixes it. -- stage: patch review -> commit review ___ Python tracker ___

[issue23031] pdb crashes when jumping over "with" statement

2014-12-11 Thread Ned Deily
Ned Deily added the comment: Sorry, I wasn't able to reproduce this. What platform are you running on and what is the output from the following? python2.7 -c 'import sys;print(sys.version)' -- nosy: +ned.deily ___ Python tracker

[issue17679] sysconfig generation uses some env variables multiple times

2014-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch doesn't look good to me. If the value contains "-lfoo-lbar $(name)" then substituting name="-lfoo" or name="-lbar" doesn't work. -- nosy: +serhiy.storchaka ___ Python tracker

[issue15178] Doctest should handle situations when test files are not readable

2014-12-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: -> patch review versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___

[issue15178] Doctest should handle situations when test files are not readable

2014-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Added few nitpicks on Rietveld. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-

[issue23031] pdb crashes when jumping over "with" statement

2014-12-11 Thread Dan
Dan added the comment: Sorry, it happens in: 2.7.3 |EPD 7.3-2 (64-bit)| (default, Apr 11 2012, 17:52:16) \n[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] Works as expected in 2.7.8 and 3.3.2 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)] 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:

[issue22095] Use of set_tunnel with default port results in incorrect post value in host header

2014-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also comments on Rietveld (e-mail notification likely fell in spam). -- ___ Python tracker ___ ___

[issue23033] Disallow support for a*.example.net, *a.example.net, and a*b.example.net in certificate wildcard handling.

2014-12-11 Thread Alex Gaynor
Alex Gaynor added the comment: As a part of this, we might want to consider changing the implementation to not compile the SANs into a regular expression. Constantly compiling new regexs can cause churn in the `re` cache, which can degrade performance -- also, it's probably much worse on PyPy

[issue23032] 2.7 OS X installer builds fail building OpenSSL on OS X 10.4 / Xcode 2.5

2014-12-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset dd677917355d by Ned Deily in branch '2.7': Issue #23032: Fix installer build failures on OS X 10.4 Tiger https://hg.python.org/cpython/rev/dd677917355d -- nosy: +python-dev ___ Python tracker

[issue23032] 2.7 OS X installer builds fail building OpenSSL on OS X 10.4 / Xcode 2.5

2014-12-11 Thread Ned Deily
Changes by Ned Deily : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___ Pytho

[issue22866] ssl module in 2.7 should provide a way to configure default context options

2014-12-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: People who are using SSLv3 should explicitly pass in a context. Globally enabling SSLv3 will surely be a footgun e.g for apps that talk to an outdated device then request a webpage. I suppose wishing to globally use more secure defaults is a reasonable requ

[issue16217] Tracebacks are unnecessarily verbose when using 'python -m'

2014-12-11 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue16974] when "python -c command" does a traceback, it open the file ""

2014-12-11 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue2786] Names in traceback should have class names, if they're methods

2014-12-11 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue23035] -c: Line causing exception not shown for exceptions other than SyntaxErrors

2014-12-11 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis: When 'python -c ${command}' is used and exception other than SyntaxError occurs, then line causing exception is not shown. Problem seen in output of last 2 commands below: $ cat /tmp/test1 1 / $ cat /tmp/test2 1 / 0 $ cat /tmp/test3 a $

[issue23030] lru_cache manual get/put

2014-12-11 Thread Josh Rosenberg
Josh Rosenberg added the comment: Manual adding to the cache seems of limited utility for the proposed recursion base case approach when your cache is actually operating in LRU mode (maxsize isn't None). You can inject your base cases all you want, but unless you wrap every call to the decorat

[issue22095] Use of set_tunnel with default port results in incorrect post value in host header

2014-12-11 Thread Demian Brecht
Demian Brecht added the comment: Thanks for the ping Serhiy, indeed the review notification email was sitting in spam. New patch addressing review comments as well as rectifying my own silliness. -- Added file: http://bugs.python.org/file37419/issue22095_2.patch __

[issue22095] Use of set_tunnel with default port results in incorrect post value in host header

2014-12-11 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21793] httplib client/server status refactor

2014-12-11 Thread Demian Brecht
Demian Brecht added the comment: Self review/update: removed two errant breakpoints and updated the what's new section (missed in my previous patch). -- Added file: http://bugs.python.org/file37420/issue21793_5.patch ___ Python tracker

[issue22992] Adding a git developer's guide to Mercurial to devguide

2014-12-11 Thread Demian Brecht
Demian Brecht added the comment: The issue was actually HAProxy rather than Apache (I had misread a line in the documentation so my understanding of Apache header limitations was incorrect). This was fixed by Donald today. If there are no objections, this should be good to merge now.

[issue23030] lru_cache manual get/put

2014-12-11 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing

[issue23014] Don't have importlib.abc.Loader.create_module() be optional

2014-12-11 Thread Nick Coghlan
Nick Coghlan added the comment: Sounds good to me. I'm not sure what to put in the docs about calling importlib.util.module_from_spec() from create_module() implementations. Really, if a loader can use that, then it should be doing whatever it was going to do after the call in exec_module() i

[issue22955] Pickling of methodcaller, attrgetter, and itemgetter

2014-12-11 Thread Zachary Ware
Zachary Ware added the comment: Serhiy: functools.partial is a somewhat less than ideal comparison. The pure-Python version is not picklable, the Python and C versions return different things (the Python version is a function returning a function, the C version is a regular class and returns

[issue22095] Use of set_tunnel with default port results in incorrect post value in host header

2014-12-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 676d6bcfc031 by Serhiy Storchaka in branch '3.4': Issue #22095: Fixed HTTPConnection.set_tunnel with default port. The port https://hg.python.org/cpython/rev/676d6bcfc031 New changeset ebe2072e5472 by Serhiy Storchaka in branch 'default': Issue #22

[issue22095] Use of set_tunnel with default port results in incorrect post value in host header

2014-12-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Demian. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue18028] Warnings with -fstrict-aliasing

2014-12-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue23005] typos on heapq doc

2014-12-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset cb085b07ea34 by Raymond Hettinger in branch '2.7': Issue 23005: Fix typos https://hg.python.org/cpython/rev/cb085b07ea34 -- nosy: +python-dev ___ Python tracker __

[issue23005] typos on heapq doc

2014-12-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7f2cf63cf95a by Raymond Hettinger in branch '3.4': Issue 23005: Fix typos https://hg.python.org/cpython/rev/7f2cf63cf95a -- ___ Python tracker

[issue23005] typos on heapq doc

2014-12-11 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue15267] tempfile.TemporaryFile and httplib incompatibility

2014-12-11 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +needs review stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing l