[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 list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 #22095: Fixed HTTPConnection.set_tunnel with default port.  The port
https://hg.python.org/cpython/rev/ebe2072e5472

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 an instance).  Also, both versions make 
their necessary attributes public anyway, unlike methodcaller.

Raymond: Not necessarily the usual approach, no.  However, I think my 
reimplementations of the pure-Python itemgetter and attrgetter have a few 
benefits, namely:
- they're somewhat less complex and thus a bit easier to understand
- they're slightly faster
- they don't require extra pickling methods, which to me just seem like clutter 
when it's so simple to not need them

Note that I have no intention of reimplementing the C versions: those are much 
more mature than the Python versions, and would likely require pickling methods 
anyway.

All that said, I'm not going to fight about it; if I'm overruled, I'm overruled.

Josh: Serhiy's points about needing more tests stand; would you like to add 
them?  You can use your patch or mine as a base, depending on how you feel 
about reimplementing the pure-Python (item|attr}getter.  If you use yours, 
please remember to look through my comments on it.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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() instead.

create_module() is intended specifically for cases where you genuinely need to 
do something different to create the object (as in the concept of calling in to 
a C level module creation hook, or the idea of allowing a __new__.py file in 
package directories)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 decorated function with another function that reinserts the 
base cases every time (and even that won't always work), you can't actually 
rely on the cache containing your base cases; they could be aged off at any 
time.

I've been bad and (for fun) used inspect to directly find the cache closure 
variable in an lru_cache wrapped function to inject base cases, but it only 
works if your cache is unbounded. Trying to make it actually work reliably in 
LRU mode would complicate matters. I suppose a collections.ChainMap (where one 
is the LRU map, and the other is an unbounded dictionary solely for injected 
entries) might work, but it also starts making the cache more expensive to use 
in general for a really limited use case.

--
nosy: +josh.r

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
$ python3.5 /tmp/test1
  File "/tmp/test1", line 1
1 /
  ^
SyntaxError: invalid syntax
$ python3.5 /tmp/test2
Traceback (most recent call last):
  File "/tmp/test2", line 1, in 
1 / 0
ZeroDivisionError: division by zero
$ python3.5 /tmp/test3
Traceback (most recent call last):
  File "/tmp/test3", line 1, in 
a
NameError: name 'a' is not defined
$ python3.5 -c '1 /'
  File "", line 1
1 /
  ^
SyntaxError: invalid syntax
$ python3.5 -c '1 / 0'
Traceback (most recent call last):
  File "", line 1, in 
ZeroDivisionError: division by zero
$ python3.5 -c 'a'
Traceback (most recent call last):
  File "", line 1, in 
NameError: name 'a' is not defined

--
components: Interpreter Core
messages: 232506
nosy: Arfrever, benjamin.peterson, pitrou, serhiy.storchaka
priority: normal
severity: normal
status: open
title: -c: Line causing exception not shown for exceptions other than 
SyntaxErrors
versions: Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 request. 
If someone writes a patch to put default context options in a global variable 
of the ssl module, we can look at it for 2.7.10.

--
type:  -> enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

--
nosy: +alex

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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:03:43) [MSC v.1600 32 bit (Intel)]

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 output only if special command line option or environment 
variable is set.

Debugging output switched by Py_REF_DEBUG is now enabled only when "-X 
showrefcount" is specified (issue17323).

--
components: Interpreter Core
messages: 232495
nosy: bkabrda, ezio.melotti, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Dynamically control debugging output
type: enhancement
versions: Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 words of the Chrome project are "dang weird for internal 
certificates".

I believe we should follow suite and just only allow a single "*" alone in the 
left most segment for the SSL handling code.

[1] https://codereview.chromium.org/762013002
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1107791

--
messages: 232493
nosy: dstufft
priority: normal
severity: normal
status: open
title: Disallow support for a*.example.net, *a.example.net, and a*b.example.net 
in certificate wildcard handling.
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/file37418/00141-fix-tests_with_COUNT_ALLOCS-v4.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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, the legacy installer dmg buildbot 
still produces 10.3+ builds on OS X 10.4 (presumably using the Xcode 2.5 tool 
chain) and now fails. 

x86cpuid.s:327:Rest of line ignored. 1st junk character valued 44 (,).
make[1]: *** [x86cpuid.o] Error 1
make: *** [build_crypto] Error 1

I have verified that it is still possible to build for 10.3+ using Xcode 3.1.6 
on OS X 10.5 so there is that workaround if anyone needs to build installers 
for old systems.

It looks like a fix is to disable assembly code in OpenSSL ("no-asm") when 
building on 10.4.

http://buildbot.python.org/all/builders/bolen-dmg-2.7
https://trac.macports.org/ticket/42049

--
assignee: ned.deily
components: Build, Macintosh
messages: 232490
nosy: ned.deily, ronaldoussoren
priority: low
severity: normal
stage: needs patch
status: open
title: 2.7 OS X installer builds fail building OpenSSL on OS X 10.4 / Xcode 2.5
versions: Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 new code, but not in existing Python 2.7 code that wasn't
>> written for the newly added SSL context feature.
> 
> How is modifying code to use a context different from modifying it to
> mess around with a hypothetical ssl.DEFAULT_SSL_OPTIONS?

Hmm, isn't that obvious ?

You only have to add a single line of code to tweak the default
options rather than add context support throughout your application.

>> 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.imperialviolet.org/2014/12/08/poodleagain.html
>> (the poodle strikes back ;-))
> 
> That option already exists and is exposed. :)

Right, but it's not used in the current default context.

Hard coding options in a function is not a good idea, really, esp.
not for things that change as often as cipher strings and protocol
options :-)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.imperialviolet.org/2014/12/08/poodleagain.html
>> (the poodle strikes back ;-))
>
> That option already exists and is exposed. :)

It even has OP_NO_TLSv1_1 and OP_NO_TLSv1_2!

--
nosy: +dstufft

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 that wasn't
> written for the newly added SSL context feature.

How is modifying code to use a context different from modifying it to
mess around with a hypothetical ssl.DEFAULT_SSL_OPTIONS?

> 
> 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.imperialviolet.org/2014/12/08/poodleagain.html
> (the poodle strikes back ;-))

That option already exists and is exposed. :)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 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.imperialviolet.org/2014/12/08/poodleagain.html
(the poodle strikes back ;-))

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

So it turns out that the context functions are indeed used for all stdlib HTTP 
interfacing.

The ssl module itself doesn't use the hardcoded defaults (which is good), but 
having to write your own context function and then monkey patching this into 
the stdlib doesn't sound like a good solution to changing the default SSL 
context options, should this be needed.

--
status: closed -> open
title: ssl module in 2.7.9 should provide a way to configure default context 
options -> ssl module in 2.7 should provide a way to configure default context 
options

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Added file: http://bugs.python.org/file37416/pdb_segfault.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 fix is so simple. That leaves the None 
return value for pragmatic reasons but makes it only way to specify the default 
instead of 2.

--
assignee:  -> brett.cannon

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 ints.  In Python,
rhettinger> "textbook" form just slows down and obfuscates the intention
rhettinger> of the code.

I agree and do not object to closing the report.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.lru_cache as caching decorators, which already 
implements the former two. I have attached a patch to provide the latter two.

On python-ideas there was also the idea to create a cache data structure and 
then have a decorator take its data structure as an argument. But it was argued 
that this could lead to some optimizations of the caching being impossible.

I think my suggested approach should not impose a problem on highly optimized 
caching code, because every cache - no matter how optimized - must have some 
functionality to add something to the cache and lookup something in the cache.

--
components: Library (Lib)
files: lru_get_put.patch
keywords: patch
messages: 232476
nosy: ConnyOnny
priority: normal
severity: normal
status: open
title: lru_cache manual get/put
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file37415/lru_get_put.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-g++: error: gcc: No such file or directory
error: command 'ccache_cxx' failed with exit status 1
Makefile:511: recipe for target 'all-local' failed
make[5]: *** [all-local] Error 1

this is when building libtorrent-rasterbar-0.16.17 in openwrt build system, 
ccache_cxx is a wrapper script and distuils make a wrong build rule

--
nosy: +Xuefer.x

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 OpenSSL or maybe in LibreSSL. I was surprised that such bug 
exist in a serious library designed for cryptography. The usual reply to bug 
report is that users have to inject entropy manually at fork. It may be 
possible in an application, the issue #18747 explains why it is not a good idea 
to that in Python. /dev/urandom doesn't have such issue...

I made the change to expose RAND_bytes(). I made it for my Hasard program 
(expermental tool to learn PRNG), to easily test the OpenSSL library in Python. 
That's how I "discovered" the fork issue (it was already known in fact..). I 
never used ssl.RAND_bytes() in a (real) Python application.

http://sockpuppet.org/blog/2014/02/25/safely-generate-random-numbers/ gives 
good reasons to not use ssl.RAND_bytes. So rand.diff looks good to me.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

You must not do that. Instead, Berbagi.a must be an array of c_wchar characters 
with a fixed size. Try for example:

  class Berbagi(ctypes.Structure):
_fields_ = [('a', ctypes.c_wchar * 10), ('b', ctypes.c_double) ]

Note: I'm not sure that ctypes is the most efficient module to serialize data, 
but maybe you have to use ctypes for a reason not explained in your issue.

The bug is in your code, not in Python.

--
resolution:  -> not a bug
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://hg.python.org/cpython/rev/daec40891d43

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
> to why you are running into problems is that you may be picking up build
> tools other than those supplied by Apple.  On recent versions of OS X, make
> sure you have run 'sudo xcode-select --install' to install the latest
> version of the command line tools and check your shell $PATH variable.
> There may be clues in the config.log file produced by running ./configure.
>
> --
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

--
nosy: +haypo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: Fixed an output of sets in examples.
https://hg.python.org/cpython/rev/86a694781bee

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com