Changes by STINNER Victor victor.stin...@gmail.com:
--
title: segfailt with os.popen and SIGPIPE - Crash in the libc fwrite() on
SIGPIPE (segfault with os.popen and SIGPIPE)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20866
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 rep...@bugs.python.org
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:
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
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.)
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.
zhuoyikang added the comment:
thank u very much ! question solved
2014-12-11 14:42 GMT+08:00 Ned Deily rep...@bugs.python.org:
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
Michael Foord added the comment:
Using patch.dict manipulates the contents of sys.modules, it doesn't replace
sys.modules.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21600
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23025
___
___
Python-bugs-list mailing
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.
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23022
___
___
Python-bugs-list mailing
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
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)]
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23022
___
___
Python-bugs-list
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
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 rep...@bugs.python.org
http://bugs.python.org/issue23025
Changes by peerhash ch...@rop.io:
Removed file: http://bugs.python.org/file37406/repro.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23022
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19527
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: needs patch - patch review
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17679
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka
stage: - patch review
type: - behavior
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22765
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 rep...@bugs.python.org
http://bugs.python.org/issue18028
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 ...
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
Changes by Berker Peksag berker.pek...@gmail.com:
--
resolution: - rejected
stage: - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5
___
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
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.
Mark Dickinson added the comment:
Sergey: thanks for the response. Closing.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23007
___
Changes by Mark Dickinson dicki...@gmail.com:
--
stage: - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23007
___
___
Python-bugs-list
Changes by Berker Peksag berker.pek...@gmail.com:
--
resolution: - not a bug
stage: - resolved
status: open - closed
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23024
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
Eric Snow added the comment:
Ah. Never mind then. :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21600
___
___
Python-bugs-list mailing list
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
Changes by Chaitanya agrawal chaitiagra...@gmail.com:
Added file: http://bugs.python.org/file37417/issue228813_msg232419.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22883
___
Changes by Chaitanya agrawal chaitiagra...@gmail.com:
Removed file: http://bugs.python.org/file37417/issue228813_msg232419.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22883
___
Changes by Chaitanya agrawal chaitiagra...@gmail.com:
Added file: http://bugs.python.org/file37417/issue228813_msg232419.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22883
___
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23030
___
___
Python-bugs-list
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +ncoghlan, rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23030
___
___
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 rep...@bugs.python.org
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 =
Benjamin Peterson added the comment:
Usually you can pass your own context.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22866
___
___
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15443
___
___
Python-bugs-list
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
--
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
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
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...
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
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
Antoine Pitrou added the comment:
Looks good to me as well.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18028
___
___
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:
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
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 rep...@bugs.python.org
http://bugs.python.org/issue23033
___
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
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 rep...@bugs.python.org
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 rep...@bugs.python.org
http://bugs.python.org/issue22765
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
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 rep...@bugs.python.org
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15178
___
Serhiy Storchaka added the comment:
Added few nitpicks on Rietveld.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15178
___
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,
Serhiy Storchaka added the comment:
See also comments on Rietveld (e-mail notification likely fell in spam).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22095
___
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
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
Changes by Ned Deily n...@acm.org:
--
resolution: - fixed
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23032
___
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
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16217
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16974
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2786
___
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
$
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
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
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22095
___
___
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
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.
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: - rhettinger
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23030
___
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()
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
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
Serhiy Storchaka added the comment:
Thank you for your contribution Demian.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22095
Raymond Hettinger added the comment:
+1
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18028
___
___
Python-bugs-list mailing
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 rep...@bugs.python.org
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 rep...@bugs.python.org
http://bugs.python.org/issue23005
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23005
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
keywords: +needs review
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15267
___
83 matches
Mail list logo