Guido van Rossum added the comment:
Note that Glyph recommends against this fix (see mailing list).
On Thu, Jun 11, 2015 at 7:59 AM, Martin Teichmann rep...@bugs.python.org
wrote:
New submission from Martin Teichmann:
Currently there is an assert statement asserting that no two
tasks
Terry J. Reedy added the comment:
This is Py3 only (Py 2 has no set displays) in Reference Manual, 6.9.
Comparisons. (Please provide such info with reports.) Will fix.
--
nosy: +terry.reedy
stage: - needs patch
versions: +Python 3.4, Python 3.5, Python 3.6
Terry J. Reedy added the comment:
The 3.4 sequence section also has this: Sequences of the same type also
support comparisons. In particular, tuples and lists are compared
lexicographically by comparing corresponding elements. I agree that dicts
should have a similar sentence or two. Neither
New submission from py.user:
A script, configuring argparse to have no choices:
#!/usr/bin/env python3
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('foo', choices=[])
args = parser.parse_args()
print(args)
Running it:
[guest@localhost args]$ ./t.py
usage: t.py
R. David Murray added the comment:
There's no real reason to throw an error here, and to do so would break
backward compatibility and, arguably, functionality: someone autogenerating a
choices list might depend on the empty list working.
--
nosy: +r.david.murray
resolution: -
Tal Einat added the comment:
Okay, so the change is straightforward. With this change the entire test suite
passes on my machine.
We'll need a test for this for the test suite, and that's far less
straightforward. It seems that test.test_builtin.BuiltinTest.check_input_tty()
could be a
Guido van Rossum added the comment:
See mailing list discussion.
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24431
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
resolution: - fixed
stage: needs patch - resolved
type: enhancement - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24405
___
STINNER Victor added the comment:
I applied the fix to Python 3.4 and 3.5 too.
Python 2.7 doesn't look to be affected by the issue, I don't see any test
copying the timestamp of a file to another, nor test on timestamp using
nanosecond resolution.
--
versions: -Python 2.7
Terry J. Reedy added the comment:
The fix would be to add a 'round' function at the top of a module, after the
imports. This is more the provenance of 2 3 compatibility modules, such as
6, which might have both round2 and round3 functions.
--
nosy: +terry.reedy
Changes by Piers Lauder pi...@it.usyd.edu.au:
--
nosy: +piers
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11245
___
___
Python-bugs-list mailing
Roundup Robot added the comment:
New changeset ccb0f43964e0 by Terry Jan Reedy in branch '3.4':
Closes issue #24405: mark set display as code.
https://hg.python.org/cpython/rev/ccb0f43964e0
--
nosy: +python-dev
___
Python tracker
Roundup Robot added the comment:
New changeset 50ec3fb126dd by Victor Stinner in branch '3.4':
Issue #15745: Rewrite os.utime() tests in test_os
https://hg.python.org/cpython/rev/50ec3fb126dd
New changeset 744c96cd57da by Victor Stinner in branch '3.5':
(Merge 3.4) Issue #15745: Rewrite
Tal Einat added the comment:
Attached is a revised patch for Modules/mathmodule.c incorporating changes
suggested by Serhiy in his review.
The major change is the reformatting of the doc-strings of most of the
functions in the module to use the same format as doc-strings generated by AC.
Tal Einat added the comment:
Here's a patch with just the required fix (no tests).
--
keywords: +patch
Added file: http://bugs.python.org/file39697/issue24402.fix_only.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24402
Changes by R. David Murray rdmur...@bitdance.com:
--
assignee: - docs@python
components: +Documentation -Interpreter Core
nosy: +docs@python
versions: -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
Milan Oberkirch added the comment:
Here is the trivial patch for that :)
--
keywords: +patch
nosy: +zvyn
Added file: http://bugs.python.org/file39700/issue22872.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22872
Zachary Ware added the comment:
This appears to have been fixed in #15745.
--
resolution: - fixed
stage: - resolved
status: open - closed
superseder: - Numerous utime ns tests fail on FreeBSD w/ ZFS (update: and
NetBSD w/ FFS, Solaris w/ UFS)
type: - behavior
Milan Oberkirch added the comment:
Here is the patch how it should look like at some point. Question being: How
should we handle backwards-compatibility?
--
keywords: +patch
Added file: http://bugs.python.org/file39699/issue21783.patch
___
Python
Milan Oberkirch added the comment:
After looking at this patch and how we implemented SMTPUTF8 in the parent class
again, I think we can come up with a more generic solution. Haven't it figured
out quite yet.
--
___
Python tracker
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24442
___
___
Python-bugs-list
Steven D'Aprano added the comment:
I disagree that it should not be the case, I think Python's current behaviour
is correct. Although it makes debugging completer functions harder, it would
not be good for a bug in the completer to raise an exception and break line
editing. This is one case
Milan Oberkirch added the comment:
I just wanted to note that this patch works with the current default repo as
expected. I will try to come up with some tests now (PureProxy is not tested at
all right now).
--
___
Python tracker
Ned Deily added the comment:
Make that OpenSSL 1.0.2c now.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24432
___
___
Python-bugs-list mailing
Piers Lauder added the comment:
Hi, apologies for not responding to the pierslauder pings, but i don't own
that login, or at least have forgotten all about it, and its email address is
invalid (or there is another pierslauder out there).
I maintain imaplib2 on sourceforge (as piersrlauder) at
New submission from Perry Randall:
Noticed this while writing a non-trivial completion function for
readline.set_completer. When an exception is thrown in the completion function
readline doesnt do anything, squashes the error, this should not be the case.
--
components: Interpreter
Changes by Berker Peksag berker.pek...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24405
___
___
erik flister added the comment:
well i can confirm @eryksun's method works, so it's not a problem with how the
manifest is included in the dll. to me, the real issue is that
ctypes.cdll.msvcrt and find_library('c') aren't correct. the first returns
something old and unsupported, or
Serhiy Storchaka added the comment:
Here is minimal reproducer on Tcl/Tk. I don't have a workaround.
--
status: pending - open
Added file: http://bugs.python.org/file39694/issue23760.tcl
___
Python tracker rep...@bugs.python.org
New submission from R. David Murray:
I propose that we move the information on setting up a buildslave from the wiki
to the devguide. The attached patch is my rewrite (hopefully an improvement)
of the information from the wiki. Note that there are a couple of TBD pieces
(setup on Windows,
Changes by R. David Murray rdmur...@bitdance.com:
--
keywords: +patch
Added file: http://bugs.python.org/file39695/buildslave.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24440
___
R. David Murray added the comment:
Oops, forgot to put the issue number in the commit message:
bff43c5c8c4f
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
type: - enhancement
___
Python tracker
R. David Murray added the comment:
Thanks for the review. Here is an updated patch.
--
Added file: http://bugs.python.org/file39693/buildbot-console-irc.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24437
F Malina added the comment:
I don’t have a test for it, neither has stdlib imaplib. We just need to port
over the encode fix.
Copy over the fixed version of _CRAM_MD5_AUTH.
from line 599 in python3.5 imaplib
https://github.com/python/cpython/blob/master/Lib/imaplib.py#L599
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24438
___
___
Antoine Pitrou added the comment:
Have you tried benchmarking the slow solution?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23996
___
___
New submission from Martin Panter:
Today I tried playing with the new “async def” functionality in the interactive
interpreter, based on reading the documentation. Here are some bits that
surprised me, so could be the focus of further documentation. (Initial
documentation added in Issue
Steven D'Aprano added the comment:
I've found the same behaviour going back to Python 1.5.
I think what happens here is that (0+∞j)*1 evaluates the multiplication by
implicitly coercing the int to a complex:
(0+∞j)*(1+0j)
= (0*1 + ∞j*1 + 0*0j + ∞j*0j)
= (0-NAN + ∞j+0j)
= (NAN
Zachary Ware added the comment:
LGTM.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24437
___
___
Python-bugs-list mailing list
Unsubscribe:
Carol Willing added the comment:
Thank you R. David and Zach. The patch looks good to me too, and the info will
be helpful to others.
Please commit and let's get this good info out to others :)
(I don't have privileges or I would do so.)
--
stage: patch review - commit review
Roundup Robot added the comment:
New changeset 4335d898be59 by Victor Stinner in branch 'default':
Issue #15745: Rewrite os.utime() tests in test_os
https://hg.python.org/cpython/rev/4335d898be59
--
nosy: +python-dev
___
Python tracker
STINNER Victor added the comment:
I pushed test_utime.patch with minor updates:
* _test_utime_current() now also checks if the FS supports subsecond
* use a delta of 20 ms in _test_utime_current(), instead of 10 ms, for Windows
I will wait for FreeBSD and Solaris buildbots to see if my changes
Mark Dickinson added the comment:
Closing as not a bug; for the suggestion of changing the mixed-type arithmetic
behaviour, I think that's something that should be discussed on the
python-ideas mailing list.
--
resolution: - not a bug
stage: - resolved
status: open - closed
Carol Willing added the comment:
R. David, this will be an excellent addition to the devguide. Great clarity in
the text. I particularly like your discussion of what are buildbots and who
provides and maintains them. It also encourages those interested in a
particular os to consider
Mark Dickinson added the comment:
There's no bug here: as Steven explained, this is simply the result of the
usual arithmetic conversions when performing a mixed-type operation.
Python should multiply a complex by a non-complex in the simple way
I think this would just be adding unnecessary
R. David Murray added the comment:
This is great.
When you say it is fully compatible, though, is that testing against imaplib in
python2 or python3? It is the python3 decisions about string/bytes handling
where the discrepancies are most likely to arise, unless the python3 port was
modeled
Martin Panter added the comment:
I suspect the patch is out of date due to PEP 492 and Issue 24180 (“await”
syntax for coroutines). But maybe the current glossary entry could be refined
to also mention generators.
--
nosy: +vadmium
___
Python
Terry J. Reedy added the comment:
The Semaphore and BoundedSemphore examples show why including the module is
helpful. I prefer the function-call syntax, as long as it is accurate, even
though the string as a whole cannot be eval()-ed. In any case, threading and
multiprocessing are somewhat
F Malina added the comment:
I am in for my part and I emailed Piers to come and join us and he surely
will when the bug tracker is responsive again.
Imaplib2 does have an up to date test suite and compatibility wise imaplib2
can be substituted for imaplib in existing clients with no changes in
49 matches
Mail list logo