Chris Jerdonek added the comment:
For maintenance releases, I think I would favor abbreviating the list only if
it is lossless (e.g. for xrange objects). I think I would also be okay with
abbreviating for arbitrary xranges -- in particular for arbitrary steps. For
example, for xrange(0, 50,
Martin v. Löwis added the comment:
+1, that's all correct.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16400
___
___
Python-bugs-list mailing
Case Van Horsen added the comment:
Do we also want to change int(infinity) to return ValueError? I think
consistent behavior between int() and Fraction() is valuable.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16469
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16465
___
___
Python-bugs-list mailing list
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +bethard
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16468
___
___
Python-bugs-list mailing
Brett Cannon added the comment:
Committed in dac396a730e4
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12907
Terry J. Reedy added the comment:
I agree that my extreme, strawman-ish, proposal, was, well, too extreme. Here
is a more realistic proposal similar to David's.
if isinstance(choices, range) and len(choices) 50:
choice_txt = range_rep(choices) # details to be determined
try:
choice_txt =
Jesús Cea Avión added the comment:
Antoine, I would consider this a performance regression to solve for 3.3.1.
Small dictionary creation is everywhere in CPython.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16465
Terry J. Reedy added the comment:
If the assumption of iterability is in more than just the help and error
messages, then I can see the point of calling this an enhancement. I suspect
that now, if a custom subset of ints or strings is the actual domain, people
just skip choices and add custom
Terry J. Reedy added the comment:
I see that in #16468, Chris proposes that existing versions should let the
TypeError propagate, possibly with an improved error message, and call the use
of repr for non-iterables a new feature (partly on the basis that more fixes
than this are needed to use
Antoine Pitrou added the comment:
Antoine, I would consider this a performance regression to solve for
3.3.1. Small dictionary creation is everywhere in CPython.
Again, feel free to provide real-world benchmark numbers proving the
regression. I've already posted some figures.
--
Gregory P. Smith added the comment:
Sorry I can't help on the windows side of things. I don't have access to any
windows systems.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16458
___
Roundup Robot added the comment:
New changeset 2d266ce80712 by Chris Jerdonek in branch '3.2':
Update the description of which package versions PyPI displays (issue #16400).
http://hg.python.org/cpython/rev/2d266ce80712
New changeset ec037316a445 by Chris Jerdonek in branch '3.3':
Merge from
Roundup Robot added the comment:
New changeset 7db2a27c07be by Chris Jerdonek in branch '2.7':
Backport from 3.2: update PyPI docs regarding listing versions (issue #16400).
http://hg.python.org/cpython/rev/7db2a27c07be
--
___
Python tracker
Changes by Chris Jerdonek chris.jerdo...@gmail.com:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16400
___
Piotr Dobrogost added the comment:
But I think Piotr's use case is when you download some new library (...)
Yes, indeed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16312
___
Brett Cannon added the comment:
Here is a new patch which removes the expected skips stuff and adds a
required_on argument to test.support.import_module() for those cases where
missing a module is an error (in the patch it's _winreg on Windows).
If people are fine with this cleanup then the
Richard Oudkerk added the comment:
In Torsten's example
from . import moduleX
can be replaced with
moduleX = importlib.import_module('.moduleX', __package__) (*)
or
moduleX = importlib.import_module('package.moduleX')
If that is not pretty enough then perhaps the new
New submission from Alejandro Javier Peralta Frías:
New to python-dev; I grab a beginner tasks increase test coverage and I
decided to add coverage to this bit of code in the quopri module:
# quopri.py
L138while n 0 and line[n-1:n] in b \t\r:
L139n = n-1
As far
Changes by Alejandro Javier Peralta Frías apera...@machinalis.com:
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16473
___
R. David Murray added the comment:
I think I can answer your last question. There are two quopri algorithms, one
where spaces are allowed (message body) and one where they aren't (email
headers).
For the rest, I'd have to take a closer look than I have time for right now.
--
Alejandro Javier Peralta Frías added the comment:
I think I can answer your last question. There are two quopri algorithms,
one where spaces are allowed (message body) and one where they aren't
(email headers).
OK, thank you. Good to know.
--
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16473
___
___
Python-bugs-list mailing list
Ned Batchelder added the comment:
I wrote about this here:
http://nedbatchelder.com/blog/201211/tricky_locals.html A reader suggested
this addition to the docs, which I like:
Multiple invocations within the scope update and return the same dictionary
instance. When a trace function is in
New submission from alejandro david weil:
Add some 5% more code-coverage for imp module in tests.
--
components: Tests
files: imp_test_patch.diff
keywords: patch
messages: 175597
nosy: brett.cannon, tenuki
priority: normal
severity: normal
status: open
title: More code coverage for imp
Jesús Cea Avión added the comment:
Not sure increasing test coverage would be tolerated in 3.3.1. I would be +1 to
it.
--
nosy: +jcea
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16474
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +brian.curtin, loewis, mhammond, tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16472
___
Éric Araujo added the comment:
Good idea. Could you add a note that this is new in 2.7? (Either using
versionadded Sphinx directives or just remarks in plain English, not sure which
one would be best.)
--
nosy: +eric.araujo
___
Python tracker
Georg Brandl added the comment:
We don't use versionadded/changed directives in the tutorial. (There was only
one until 2 minutes ago, which was misplaced in any case.)
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16474
___
___
Python-bugs-list
101 - 130 of 130 matches
Mail list logo