Raymond Hettinger added the comment:
+1
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22364
___
___
Python-bugs-list mailing
Raymond Hettinger added the comment:
This patch caused a regression by breaking designed-in support for pickling
using PyYAML (note, there was a test for yaml support, but this patch defeated
the test). As a result of the patch, ordering now gets lost during a dump/load
roundtrip.
This
Berker Peksag added the comment:
I think my patch is wrong.
test_weak_destroy_while_iterating and
test_weak_destroy_and_mutate_while_iterating tests were committed as part of
issue 7105 to 2.7 (see changeset
https://hg.python.org/cpython/rev/03fcc12282fc). But, those same tests(they
uses
Antoine Pitrou added the comment:
Can you explain what is broken independently of PyYAML?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17900
___
Berker Peksag added the comment:
Here is a new patch. Thanks for the review, Serhiy.
--
Added file: http://bugs.python.org/file37105/issue22695_v2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22695
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9771
___
Ezio Melotti added the comment:
James, could you check again with a recent Python and see if the #11798 fix
makes things any better?
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22293
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
nosy: +bethard
stage: - needs patch
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22317
___
Serhiy Storchaka added the comment:
Oh, sorry, I did not notice test_yaml_linkage. And in any case this test was
broken (should be rv[1][0] instead of rv[1]).
I don't like to revert these changes, and the reversion can break a code
written for 3.4 which pickles recursive OrderedDicts. I
Serhiy Storchaka added the comment:
On my superficial view the patch looks good. But I am not well known with
Sphinx code.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22695
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
dependencies: +Add additional attributes to re.error, Other mentions of the
buffer protocol
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22364
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka
resolution: - duplicate
stage: - resolved
status: open - closed
superseder: - Locks in the standard library should be sanitized on fork
___
Python tracker
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22335
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16662
___
___
Python-bugs-list
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22344
___
Maries Ionel Cristian added the comment:
Serhiy, I don't think this is a duplicate. Odd that you closed this without any
explanation.
This happens in a internal lock in cpython's runtime, while the other bug is
about locks used in the logging module (which are very different).
--
New submission from Serhiy Storchaka:
Currently in pickle with protocol 4 the NEWOBJ_EX opcode is used to reconstruct
objects with __getnewargs__() or __getnewargs_ex__() even if there no keyword
arguments.
import pickle, pickletools, collections
P = collections.namedtuple('P', 'x y')
Ezio Melotti added the comment:
Possible ways to highlite is to have a light grey:
--
» (at the beginning of the tab)
FWIW the latter (») is what I usually see used, with a lighter color to
distinguish it from regular text.
3. Should tab space in comments and strings be shaded? I think
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +pitrou, yselivanov
stage: - needs patch
type: behavior - enhancement
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22357
Ezio Melotti added the comment:
Patch LGTM.
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22388
___
___
Python-bugs-list
Charles-François Natali added the comment:
Maries Ionel Cristian added the comment:
Serhiy, I don't think this is a duplicate. Odd that you closed this without
any explanation.
This happens in a internal lock in cpython's runtime, while the other bug is
about locks used in the logging
Serhiy Storchaka added the comment:
Sorry. I thought issue6721 is more general, not just about the logging module.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22697
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - patch review
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22525
___
Ezio Melotti added the comment:
The source links have been added where the code proved to be readable, easy to
understand, and self documenting, and have been omitted when the code is
complicated and not self documenting. This has been done under the assumption
that reading the code might
Serhiy Storchaka added the comment:
logical_offset + 1 can't overflow because logical_offset is an offset in
allocated array not counting final null byte.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22335
Antoine Pitrou added the comment:
Note that there are two possible crashes in debug mode:
$ ./python -c bytearray(2**31-1)
Erreur de segmentation
$ ./python -c bytearray(2**31-2)
python: Objects/obmalloc.c:1179: _PyObject_Alloc: Assertion `nelem =
((Py_ssize_t)(((size_t)-1)1)) / elsize'
Ezio Melotti added the comment:
I needed this in the past and had to implement it myself, so adding it to
unicodedata might be OK. A script to generate the list of blocks from the
official Unicode files should probably be created and used whenever we update
the version of the Unicode
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +paul.j3
versions: +Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22317
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
nosy: +pitrou
stage: - needs patch
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22671
Antoine Pitrou added the comment:
Here is a patch. It also fixes a bug in the debug allocators, which didn't
properly check for Py_ssize_t overflow.
--
Added file: http://bugs.python.org/file37108/ba_resize.patch
___
Python tracker
Changes by Antoine Pitrou pit...@free.fr:
--
components: +Interpreter Core
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22335
___
Ezio Melotti added the comment:
I think we should be pursued together with #18156, so I'm going to close this.
Serhiy already added a reference to this issue there.
--
nosy: +ezio.melotti
resolution: - duplicate
stage: - resolved
status: open - closed
Ezio Melotti added the comment:
I closed #22716 in favor of this, since I think both should be tackled together.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18156
___
New submission from Antoine Pitrou:
Patch attached. I don't know whether this applies to 3.4 as well.
--
components: Tests, asyncio
files: ssl_test_asyncio.patch
keywords: patch
messages: 230502
nosy: gvanrossum, haypo, pitrou, yselivanov
priority: normal
severity: normal
stage: patch
Changes by Maries Ionel Cristian ionel...@gmail.com:
--
nosy: +ionel.mc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6721
___
___
flying sheep added the comment:
yeah, exactly: my idea was to add a reference to the original object
(AttributeError.target). together with this bug, that would be the
AttributeError part of PEP 473, which i really like!
--
nosy: +flying sheep
___
flying sheep added the comment:
sure, go ahead! i wasn’t aware of PEP nor issue, so sorry for filing a dupe.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22716
___
Serhiy Storchaka added the comment:
LGTM.
--
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22335
___
___
Roundup Robot added the comment:
New changeset 37ed6eed0595 by Ezio Melotti in branch '3.4':
#22751: fix test___all__ warning about modified environment in the tests.
Patch by Michael Cetrulo.
https://hg.python.org/cpython/rev/37ed6eed0595
New changeset 16dfefe67c1f by Ezio Melotti in branch
Roundup Robot added the comment:
New changeset e3825486da53 by Serhiy Storchaka in branch '3.4':
Issue #22388: Unified the style of Contributed by sentences in What's New.
https://hg.python.org/cpython/rev/e3825486da53
New changeset 5f10a4a1e4df by Serhiy Storchaka in branch 'default':
Issue
Serhiy Storchaka added the comment:
Thank you Ezio for your review.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22388
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: docs@python - serhiy.storchaka
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22388
Antoine Pitrou added the comment:
Thank you. This is now pushed.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22335
Roundup Robot added the comment:
New changeset 1590c594550e by Antoine Pitrou in branch '3.4':
Issue #22335: Fix crash when trying to enlarge a bytearray to 0x7fff bytes
on a 32-bit platform.
https://hg.python.org/cpython/rev/1590c594550e
New changeset f0b334ae95c9 by Antoine Pitrou in
Berker Peksag added the comment:
Thanks for the suggestions.
If you mean preserve order by default, then yes that would be a nice default.
issue21650_v3.diff implements this idea.
--
Added file: http://bugs.python.org/file37110/issue21650_v3.diff
Changes by R. David Murray rdmur...@bitdance.com:
--
keywords: +patch
Added file: http://bugs.python.org/file37111/enumerate-doc.2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22725
Changes by R. David Murray rdmur...@bitdance.com:
Added file: http://bugs.python.org/file37112/enumerate_doc-3.4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22725
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +rbcollins
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22344
___
___
Python-bugs-list mailing
Alex Gaynor added the comment:
New patch uses self-signed.pythontest.net, instead of svn.python.org.
svn.python.org is signed by CACert, which is in the root on some machines.
--
Added file: http://bugs.python.org/file37113/issue22417.diff
___
Benjamin Peterson added the comment:
Note we now have pythontest.net set up.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22650
___
Roundup Robot added the comment:
New changeset 13f46fc1a002 by Senthil Kumaran in branch '3.4':
backport context argument of urlopen (#22366) for pep 476
https://hg.python.org/cpython/rev/13f46fc1a002
--
___
Python tracker rep...@bugs.python.org
Ezio Melotti added the comment:
The buildbot seems happy, so I'm going to close this.
Thanks for the patch!
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Tim Graham added the comment:
Updated patch per comments.
--
Added file:
http://bugs.python.org/file37114/cookie-pickling-all-protocols-2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22775
Lita Cho added the comment:
Sure, let me combine it into one change.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21815
___
___
David Bolen added the comment:
I noticed this issue when checking on some recent 2.7 branch failures on my
buildbot. It might be worth noting this change to any Windows buildbot owners
since we all have existing trees now with a lot of stranded external folders
that can be removed.
For what
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: serhiy.storchaka - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17900
___
Terry J. Reedy added the comment:
I looked more into tab handling in tk and Idle. Tk uses literal tabs in text to
position following text according to the tab stops configured with the Text
tabs option. Tabs stops are ultimately set to the pixel (not character),
although one may enter
Serhiy Storchaka added the comment:
LGTM.
--
assignee: - serhiy.storchaka
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22775
___
Roundup Robot added the comment:
New changeset 7be6ef737aaf by Serhiy Storchaka in branch '3.4':
Issue #22775: Fixed unpickling of http.cookies.SimpleCookie with protocol 2
https://hg.python.org/cpython/rev/7be6ef737aaf
New changeset caa8f9248ab8 by Serhiy Storchaka in branch 'default':
Issue
Serhiy Storchaka added the comment:
Thank you for your contribution Tim.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22775
Roundup Robot added the comment:
New changeset 515331e0ca0c by Serhiy Storchaka in branch '2.7':
Issue #22775: Fixed unpickling of Cookie.SimpleCookie with protocol 2.
https://hg.python.org/cpython/rev/515331e0ca0c
--
___
Python tracker
Serhiy Storchaka added the comment:
This affects 2.7 too.
--
title: SimpleCookie not picklable with HIGHEST_PROTOCOL - SimpleCookie not
unpicklable with protocol 2+
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
New submission from Ned Batchelder:
The Python 3.4 docstring for range is:
{{{
| range(stop) - range object
| range(start, stop[, step]) - range object
|
| Return a virtual sequence of numbers from start to stop by step.
}}}
In Python 2.7, it said:
{{{
range(stop) - list of integers
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22366
___
Charles-Axel Dein added the comment:
Sounds good. Do you know when this will get merged?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20351
___
Changes by Mike Short bmsh...@gmail.com:
--
nosy: +Mike.Short
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21759
___
___
Python-bugs-list mailing
Changes by Mike Short bmsh...@gmail.com:
--
nosy: +Mike.Short
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22317
___
___
Python-bugs-list mailing
Changes by Mike Short bmsh...@gmail.com:
Added file: http://bugs.python.org/file37116/argparse27.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22317
___
Mike Short added the comment:
I am uploading patches for both 2.7 as well as latest (3.x). I only added the
action verbiage itself in, but would it be beneficial to also add in links to
more detailed descriptions similar to what is done in
ArgumentParser.add_argument earlier in the argparse
Guido van Rossum added the comment:
Is something missing from the patch? I don't understand how *not* defining a
function can make anything better. Perhaps you need to conditionally skip the
test that uses it?
--
___
Python tracker
era added the comment:
For those who cannot update just yet, see also the workaround at
http://stackoverflow.com/a/21996397/874188
--
nosy: +era
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1757072
71 matches
Mail list logo