Serhiy Storchaka added the comment:
Thank you David, all LGTM.
I noted that the :func: role sometimes is used for methods in the whatsnew file
(and perhaps in other rst files). Perhaps it should be changed to :meth:. But
this is other issue.
--
Martin Panter added the comment:
The difference of calling XMLParser.doctype() between the implementations is
another argument for removing it completely. With all these bugs, and no
opposition that I know of, I think it should be okay to remove the deprecated
doctype() method in 3.5.
Martin Panter added the comment:
inherit-doctype.v2.patch inverts the logic in the C module. This patch may
still be useful if people want to apply it to 3.4, or do not want to remove the
deprecated method from 3.5.
--
Added file:
Martin Panter added the comment:
doctype-remove.v3.patch includes an entry on the What’s New page.
--
Added file: http://bugs.python.org/file38757/doctype-remove.v3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19176
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23466
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22035
___
___
Python-bugs-list
Josh Rosenberg added the comment:
I agree that popping old inputs is the normal way. What I'm trying to say is
that it doesn't feel like old or inputs when you multiply. In that case
(and maybe this is just me), it feels like a reasonable outcome could be to
get an outcome similar to
Martin Panter added the comment:
I think we should avoid mentioning bytes-like objects until Issue 23740
(http.client support), Issue 23756 (clarify definition), and/or
SSLSocket.sendall() support are sorted out.
Changes in non-urlencoded.3.patch:
* Removed iterable object as direct urlopen()
Roundup Robot added the comment:
New changeset ca12465418bd by Serhiy Storchaka in branch 'default':
Issue #23611: Serializing more lookupable objects (such as unbound methods
https://hg.python.org/cpython/rev/ca12465418bd
--
nosy: +python-dev
___
Paul Moore added the comment:
Assuming new code should be using pathlib, I agree this should probably be
closed now as obsolete.
One proviso - pathlib objects don't take a bytestring path in the constructor.
If there's a need for a low-level splitpath taking bytes objects, there may
still be
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23485
___
Roundup Robot added the comment:
New changeset e47f520eb756 by Serhiy Storchaka in branch 'default':
Issue #13583: sqlite3.Row now supports slice indexing.
https://hg.python.org/cpython/rev/e47f520eb756
--
nosy: +python-dev
___
Python tracker
Changes by STINNER Victor victor.stin...@gmail.com:
Removed file: http://bugs.python.org/file38743/test_selectors.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23618
___
Gustavo J. A. M. Carneiro added the comment:
So I uploaded a new patch version fixing a similar problem in put().
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23812
___
Paul Moore added the comment:
The patch looks good to me.
rhettinger: I'm not sure I see a problem with the doc changes in the latest
patch - noting that commonprefix may return an invalid path is fine, and what
the current docs say. Directing people to commonpath if they don't want invalid
Roundup Robot added the comment:
New changeset b017ca5d28bc by Victor Stinner in branch 'default':
Issue #23485: select.kqueue.control() is now retried when interrupted by a
signal
https://hg.python.org/cpython/rev/b017ca5d28bc
New changeset f54bc2c52dfd by Victor Stinner in branch 'default':
Roundup Robot added the comment:
New changeset 8d86dfe53b97 by Serhiy Storchaka in branch '3.4':
Issue #18473: Fixed 2to3 and 3to2 compatible pickle mappings.
https://hg.python.org/cpython/rev/8d86dfe53b97
New changeset 5980e81219ed by Serhiy Storchaka in branch 'default':
Issue #18473: Fixed
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: ghaering - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13583
___
Serhiy Storchaka added the comment:
The implementation can be much simpler, but in any case thank you for your
patches Lucas and Jessica.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker
STINNER Victor added the comment:
https://hg.python.org/cpython/file/47b2d1ff9743/configure.ac#l963
This command was added by the changeset 6fc10306bf31.
--
nosy: +haypo, koobs
___
Python tracker rep...@bugs.python.org
Ximin Luo added the comment:
Yes, please get rid of this restriction. It's trivial to get around - you don't
even need to define your own pass-through, one already exists in the standard
library:
@(lambda: [lambda x: x][0])()
File stdin, line 1
@(lambda: [lambda x: x][0])()
^
bapt added the comment:
Adding a patch on configure.ac (I bet configure should not be patched but
regenerated)
Considering the comment here: http://bugs.python.org/issue1044395#msg47064
about ldconfig(1) the output of ldconfig(1) is buggy in that regard, and the
ports tree does not depends
koobs added the comment:
+1
--
stage: - needs patch
type: - enhancement
versions: +Python 2.7, Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23817
___
New submission from Brett Cannon:
test test_enum failed -- Traceback (most recent call last):
File /Users/bcannon/Repositories/cpython/default/Lib/test/test_enum.py,
line 580, in test_class_nested_enum_and_pickle_protocol_four
protocol=(0, 3))
File
R. David Murray added the comment:
The patch looks good to me, except that I think it would be better if the test
verified that the '*' response is received by the server (perhaps return OK if
we don't get it?)
--
components: +email
nosy: +barry, r.david.murray
stage: test needed -
STINNER Victor added the comment:
Buildbots are unhappy. Example:
http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.x/builds/11437/steps/test/logs/stdio
==
ERROR: test_name_mapping
STINNER Victor added the comment:
A different error:
http://buildbot.python.org/all/builders/AMD64%20Snow%20Leop%203.x/builds/2880/steps/test/logs/stdio
==
FAIL: test_class_nested_enum_and_pickle_protocol_four
STINNER Victor added the comment:
I would prefer to avoid setgmp/longjmp, it's kind of a hack. It's maybe more a
design issue in the gdbm library to report errors.
I proposed a generic signal handler using setjmp/longjmp to convert SIGSEGV to
regular Python exceptions, but it was rejected:
STINNER Victor added the comment:
Oh, Mark, please stop shaking up bug tracker.
I agree: please stop posting useless messages, and review patches instead.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22035
Roundup Robot added the comment:
New changeset e8246baad0f6 by Victor Stinner in branch 'default':
Issue #23618: Refactor the _socket module
https://hg.python.org/cpython/rev/e8246baad0f6
New changeset fa5542660b17 by Victor Stinner in branch 'default':
Issue #23618: Refactor internal_select()
Roundup Robot added the comment:
New changeset 47b2d1ff9743 by Victor Stinner in branch 'default':
Issue #23618: Fix internal_connect_select()
https://hg.python.org/cpython/rev/47b2d1ff9743
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset ec6c812fbc1f by Serhiy Storchaka in branch 'default':
Issue #10395: Added os.path.commonpath(). Implemented in posixpath and ntpath.
https://hg.python.org/cpython/rev/ec6c812fbc1f
--
nosy: +python-dev
STINNER Victor added the comment:
A third kind of error:
http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/5992/steps/test/logs/stdio
==
ERROR: test_import (test.test_pickle.CompatPickleTests)
Serhiy Storchaka added the comment:
The patch only adds a reference to commonpath() in commonprefix()
documentation. The note about invalid paths already was here.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10395
Walter Dörwald added the comment:
The linked code at https://github.com/vadmium/python-iview/commit/68b0559 seems
strange to me:
try:
text.encode(encoding, textio.errors or strict)
except UnicodeEncodeError:
text = text.encode(encoding, errors).decode(encoding)
New submission from bapt:
In the configuration script:
https://hg.python.org/cpython/file/47b2d1ff9743/configure.ac#l963
There is a special treatment done for FreeBSD, which is not needed, FreeBSD is
perfectly fine with multiple digit in soversion.
--
components: Build
messages:
Roundup Robot added the comment:
New changeset 6244a5dbaf84 by Benjamin Peterson in branch '3.4':
document what exactly str.splitlines() splits on (closes #12855)
https://hg.python.org/cpython/rev/6244a5dbaf84
New changeset 87af6deb5d26 by Benjamin Peterson in branch 'default':
merge 3.4
Davin Potts added the comment:
@berker: I would have said this should not be marked an enhancement as the
proposed solution (in the patch) is to correct the errors in the documentation
to accurately describe the current implemented behavior. Does that make sense?
Whatever label we give it,
Martin Panter added the comment:
Perhaps you should make a table of some potential body object types, and figure
out what the behaviour should be for request() with and without relevant
headers, and endheaders() and send() with and without encode_chunked=True:
* Add/don’t add
New submission from James Tocknell:
ConfigParser(defaults={1:2.4}) and ConfigParser(defaults={a:5.2}) cause an
exception when configparser tries to perform string operations on 1 and 5.2. I
didn't see it documented that defaults must only contain strings, and using
ConfigParser['DEFAULT'] =
New submission from Jethro:
Look at this simple code:
class A:
tot = 0
def __init__(self, a):
self.tot += a
x = A(3)
print(x.tot, A.tot)
Result from print:
3 0
What the interpreter did was that it first resolved self.tot to be the class
Roundup Robot added the comment:
New changeset f78b9f700d45 by Serhiy Storchaka in branch 'default':
Issue #23611: Fixed enums pickling tests. Now all picklings work with all
https://hg.python.org/cpython/rev/f78b9f700d45
--
___
Python tracker
Roundup Robot added the comment:
New changeset 5c5eb374e296 by Serhiy Storchaka in branch '3.4':
Issue #18473: Fixed pickle compatibility tests for optional modules.
https://hg.python.org/cpython/rev/5c5eb374e296
New changeset 29b2b2d8e36f by Serhiy Storchaka in branch 'default':
Issue #18473:
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23793
___
Serhiy Storchaka added the comment:
Here is a patch.
--
keywords: +patch
nosy: +serhiy.storchaka
stage: needs patch - patch review
Added file: http://bugs.python.org/file38761/issue23820.patch
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset b75160d24b7b by Raymond Hettinger in branch 'default':
Issue 23793: Add deque support for __add__(), __mul__(), and __imul__().
https://hg.python.org/cpython/rev/b75160d24b7b
--
nosy: +python-dev
___
New submission from rschwieb:
This sentence in the deque docs
(https://docs.python.org/2/library/collections.html#collections.deque) is not
accurate:
Deques are a generalization of stacks and queues ...
Deques are a _specialization_ of stacks and queues. Every deque is-a stack and
is-a
Serhiy Storchaka added the comment:
Here is a patch.
--
keywords: +patch
nosy: +serhiy.storchaka
stage: needs patch - patch review
Added file: http://bugs.python.org/file38760/issue23822.patch
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Fixed import errors. A second kind of errors was related to issue23611.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18473
___
Changes by Brett Cannon br...@python.org:
--
components: IDLE
nosy: brett.cannon
priority: normal
severity: normal
stage: needs patch
status: open
title: test_idle fails under -OO
versions: Python 3.5
___
Python tracker rep...@bugs.python.org
Raymond Hettinger added the comment:
Sorry, I disagree.
--
nosy: +rhettinger
resolution: - not a bug
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23823
___
Raymond Hettinger added the comment:
I don't see any technical reason not to proceed. Just because an unusual
combination of parameters feels odd to you doesn't make it wrong. It is no
different than (somelist * n)[-maxlen:].
--
___
Python
R. David Murray added the comment:
Yep, this is the way it works. When a class attribute name is referenced on an
instance object, you are referencing the object pointed to by the class name.
What happens next depends on what kind of object you have, and what kind of
operation you perform.
New submission from Serhiy Storchaka:
Here is a patch.
--
keywords: +patch
nosy: +serhiy.storchaka
stage: needs patch - patch review
Added file: http://bugs.python.org/file38762/issue23825.patch
___
Python tracker rep...@bugs.python.org
Changes by Jethro y...@pku.edu.cn:
--
resolution: not a bug -
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23824
___
___
Serhiy Storchaka added the comment:
This is related to issue23611 and fixed by f78b9f700d45.
--
nosy: +serhiy.storchaka
resolution: - out of date
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
Ah, now I understand your confusion. Class variables are special. The first
time you reference a name on an instance that is not currently defined on that
instance but is defined on the class, the interpreter gets the object pointer
from the class
Demian Brecht added the comment:
Agreed. However, I'm wondering if that should belong in a new issue geared
towards further clarifying behaviour of request body types. The patch
introduces the behaviour this specific issue was looking, with the largest
change being that iterators may now
New submission from Brett Cannon:
==
FAIL: test_pydoc (__main__.TestStdLib)
--
Traceback (most recent call last):
File
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18473
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23611
___
New submission from Brett Cannon:
==
ERROR: test_warning_classes (__main__.CWarnTests)
--
Traceback (most recent call last):
File
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23821
___
___
Serhiy Storchaka added the comment:
Here is a patch.
--
keywords: +patch
Added file: http://bugs.python.org/file38763/issue23821.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23821
___
Changes by Demian Brecht demianbre...@gmail.com:
--
nosy: +demian.brecht
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23360
___
___
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23826
___
___
Python-bugs-list
New submission from Serhiy Storchaka:
Tests were added in issue16596.
--
nosy: +asvetlov, gvanrossum, serhiy.storchaka, xdegaye
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23821
___
STINNER Victor added the comment:
Le mardi 31 mars 2015, Roundup Robot rep...@bugs.python.org a écrit :
Roundup Robot added the comment:
New changeset 5c5eb374e296 by Serhiy Storchaka in branch '3.4':
Issue #18473: Fixed pickle compatibility tests for optional modules.
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - not a bug
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23824
___
Changes by Ethan Furman et...@stoneleaf.us:
--
assignee: - ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23826
___
___
Serhiy Storchaka added the comment:
Here is a patch.
--
keywords: +patch
nosy: +serhiy.storchaka
stage: needs patch - patch review
Added file: http://bugs.python.org/file38764/issue23826.patch
___
Python tracker rep...@bugs.python.org
New submission from Brett Cannon:
==
FAIL: test_sys_exit (__main__.WithProcessesTestSubclassingProcess)
--
Traceback (most recent call last):
File
Stefan Krah added the comment:
It wouldn't be too bad if Py and C version of Decimal.__format__ had
same interface. What do you think?
Let's discuss that in a separate issue.
[DefaultContext]
I don't understand what do you mean with this. Is this something that
I'm doing wrong in my patch
New submission from Brett Cannon:
==
ERROR: testCmsgTruncLen0 (__main__.RecvmsgSCMRightsStreamTest)
--
Traceback (most recent call last):
File
Jethro added the comment:
I believe Mr. Murray somehow missed the point. My point is that the very same
self.tot is interpreted as two different things: instance field and class
field. In another analogous case, the interpreter would be more consistent:
tot = 0
def addtot(x): tot+=x
Roundup Robot added the comment:
New changeset daf3d2a717e5 by Victor Stinner in branch 'default':
Issue #23618: Refactor internal_connect()
https://hg.python.org/cpython/rev/daf3d2a717e5
New changeset c59d81b802f8 by Victor Stinner in branch 'default':
Issue #23618: Refactor internal_connect()
Roundup Robot added the comment:
New changeset d9374864d4a9 by Victor Stinner in branch 'default':
Issue #23618: Cleanup internal_connect() in socketmodule.c
https://hg.python.org/cpython/rev/d9374864d4a9
New changeset 4fad2b9fc4e6 by Victor Stinner in branch 'default':
Issue #23618: Fix EINTR
New submission from Neale Ferguson:
IUCV is a hypervisor mediated communications method for z/VM guest virtual
machines. Linux on z Systems (aka s390x) has supported this via the use of
AF_IUCV sockets for many years (added to kernel Feb 2007). This suggested patch
adds support to Python
Serhiy Storchaka added the comment:
What is the reasoning behind the DecodeWriter case, where the original stream
has an interesting encoding, but “buffer” is None? Are there any real-world
cases like that?
sys.stdout and sys.stderr in IDLE.
--
STINNER Victor added the comment:
Le mardi 31 mars 2015, Roundup Robot rep...@bugs.python.org a écrit :
New changeset c59d81b802f8 by Victor Stinner in branch 'default':
Issue #23618: Refactor internal_connect()
https://hg.python.org/cpython/rev/c59d81b802f8
Oh I forgot to add an #ifdef
Serhiy Storchaka added the comment:
Why do you catch AttributeError on import?
Because importing multiprocessing.popen_fork raises AttributeError on Windows.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18473
Serhiy Storchaka added the comment:
This is a duplicate of issue21779.
--
nosy: +serhiy.storchaka
resolution: - duplicate
stage: needs patch - resolved
status: open - closed
superseder: - test_multiprocessing_spawn fails when ran with -Werror
___
Guido van Rossum added the comment:
I'm sorry, I don't have time to review this (and it's subtle enough that I
don't want to approve it without understanding).
Maybe Victor understands?
--
___
Python tracker rep...@bugs.python.org
Stefan Behnel added the comment:
do not add a C-API
what speaks against it?
--
nosy: +scoder
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16991
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
resolution: - duplicate
stage: - resolved
superseder: - argparse silently ignores arguments
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23555
Serhiy Storchaka added the comment:
This is a duplicate of issue23027.
--
nosy: +serhiy.storchaka
resolution: - duplicate
stage: needs patch - resolved
status: open - closed
superseder: - test_warnings fails with -Werror
___
Python tracker
New submission from mps:
I apologize if it has already been reported but I was unable to find similar
issue reported using search.
Maybe just add:
def moveto(self, tagOrId, xPos, yPos):
Move the items given by tagOrId in the canvas coordinate
space so that the first
STINNER Victor added the comment:
connect_eintr-4.patch: Updated patch after all my changes to refactor
socket.connect() (which is now almost a rewrite from scratch!).
--
Added file: http://bugs.python.org/file38766/connect_eintr-4.patch
___
Python
Roundup Robot added the comment:
New changeset 7ed567ad8b4c by Victor Stinner in branch 'default':
Issue #23618: Enhance EINTR handling in socket.connect()
https://hg.python.org/cpython/rev/7ed567ad8b4c
--
___
Python tracker rep...@bugs.python.org
Changes by STINNER Victor victor.stin...@gmail.com:
Added file: http://bugs.python.org/file38767/connect_eintr-4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23618
___
New submission from Gerrit Holl:
When a decorater contains a `lambda` declaration, using the pdb command
`longlist` will show only the definition of the decorator. The definition of
the function itself is not shown:
cat mini.py
#!/usr/bin/python3.4
def foo(x, y=None):
return x
Xavier de Gaye added the comment:
FWIW looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23821
___
___
Python-bugs-list mailing
Roundup Robot added the comment:
New changeset dbc92a254173 by Victor Stinner in branch 'default':
Issue #22117: Fix integer overflow check in socket_parse_timeout() on Windows
https://hg.python.org/cpython/rev/dbc92a254173
--
___
Python tracker
Serhiy Storchaka added the comment:
The case (value-typePtr == NULL) is tested above for purpose, so it is not a
bug when one of type pointers is NULL.
booleanString was added in 8.5, replacing boolean, but in 8.6 it is not
used. All boolean values in 8.6 are just integers 0 and 1.
Ronald Oussoren added the comment:
1) I agree with Ned that the OSX behavior is not broken, it is different but
within spec. Python makes assumption about the format of locale names that
aren't universally valid.
2) We should be careful in using CFLocale. Those APIs are part of
STINNER Victor added the comment:
koobs set versions: + Python 2.7, Python 3.4, Python 3.5
Do you seriously consider to modify Python 2.7 and 3.4? Can it break the
backward compatibility?
I don't know how the SOVERSION thing is used.
--
___
New submission from Brett Cannon:
Ton of failures along the lines of:
==
ERROR: test_ctor (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests)
--
New submission from Brett Cannon:
==
FAIL: test_cached_sourceless
(test.test_importlib.test_spec.Frozen_ModuleSpecTests)
--
Traceback (most recent call last):
STINNER Victor added the comment:
-O disables assertions, and asyncio has a ton of assertions. Some tests maybe
rely on them? I guess that they are real bugs (assert must be replaced with a
regular if+raise) in the middle of the failures.
--
___
Changes by Brett Cannon br...@python.org:
--
components: Tests
nosy: brett.cannon
priority: normal
severity: normal
stage: needs patch
status: open
title: test_pdb fails under -O
versions: Python 3.5
___
Python tracker rep...@bugs.python.org
1 - 100 of 124 matches
Mail list logo