Eric Snow added the comment:
@Benjamin: Yeah, I've fixed that.
@Ezio: Good point. I've touched that up.
Once I have cleared up reference counting issues I'll put up a new patch.
--
___
Python tracker rep...@bugs.python.org
Alexey Kachayev added the comment:
It's hard to evaluate how popular given recipes, but:
* drop is opposite to take, so it's as popular as take
* the same situation with splitat, splitby - it's one case of partition that's
hard to write each time with enumerator (partition is already in
Serhiy Storchaka added the comment:
One method of statistically optimising the computation is to remove n least
common elements from the set S.
May be you need not remove least common elements from the set, but *get* a set
of (len(S)-n) most common elements?
Does it make any sense to you?
Roundup Robot added the comment:
New changeset 974ace29ee2d by Serhiy Storchaka in branch '3.2':
Issue #15989: Fix several occurrences of integer overflow
http://hg.python.org/cpython/rev/974ace29ee2d
New changeset 8f10c9eae183 by Serhiy Storchaka in branch '3.3':
Issue #15989: Fix several
Roundup Robot added the comment:
New changeset d544873d62e9 by Serhiy Storchaka in branch '2.7':
Issue #15989: Fix several occurrences of integer overflow
http://hg.python.org/cpython/rev/d544873d62e9
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 1d33c79d2f6b by Charles-François Natali in branch '2.7':
Issue #16953: Fix socket module compilation on platforms with HAVE_BROKEN_POLL.
http://hg.python.org/cpython/rev/1d33c79d2f6b
New changeset 101e821e5e70 by Charles-François Natali in branch
Changes by Charles-François Natali cf.nat...@gmail.com:
--
nosy: +v+python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16945
___
___
Charles-François Natali added the comment:
Committed, thanks for the patch!
--
stage: - committed/rejected
status: open - closed
versions: +Python 2.7, Python 3.2, Python 3.4
___
Python tracker rep...@bugs.python.org
Stefan Krah added the comment:
The buildbot coverage is good, but the number of (OS, shell, compiler)
combinations is much higher.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11729
___
Ezio Melotti added the comment:
The two TODOs left are:
1) adding UnittestWarning;
2) improving the error message for deprecations;
Technically these are new features, so they can go in 3.4 only, but 2) might be
simple enough to be backported.
Regarding 1) it might be a bit too late, given
Stefan Krah added the comment:
Several 2.7 buildbots are failing.
Unfortunately I have only platforms where sizeof(int) == sizeof(long) ==
sizeof(size_t).
You can use your cpython ssh key to login to all snakebite buildbot
machines. They are tagged with [SB].
Ramchandra Apte added the comment:
Somehow the patch is not showing for me.
--
nosy: +ramchandra.apte
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16993
___
Nick Coghlan added the comment:
I think we're going to have to separate out two counts in the metrics - the
total number of tests (the current counts), and the total number of subtests
(the executed subtest blocks). (Other parameterisation solutions can then
choose whether to treat each pair
Changes by Eli Bendersky eli...@gmail.com:
--
nosy: -eli.bendersky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10590
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
Oh, sorry. Here is a patch.
--
keywords: +patch
Added file: http://bugs.python.org/file28781/shutil_which_normcase.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16993
Eugene Toder added the comment:
If you add co_firstlineno into code_hash you can say something like
/* The rest isn't used in hash and comparisons, except
co_name and co_firstlineno, which are preserved for
tracebacks and debuggers. */
(Otherwise you'd need to explain why co_firstlineno
Roundup Robot added the comment:
New changeset a78ebf9aed06 by Serhiy Storchaka in branch '2.7':
Ensure that width and precision in string formatting test have type int, not
long.
http://hg.python.org/cpython/rev/a78ebf9aed06
--
___
Python tracker
New submission from Jens Lechtenboerger:
Maybe I'm misreading the documentation of multiprocessing.Value and
multiprocessing.sharedctypes.Value.
I thought that access to the value field of Value instances was protected by
locks to avoid lost updates.
Specifically, for
Serhiy Storchaka added the comment:
Thank you for point, Stefan. And thanks Trent for his project.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15989
___
Antoine Pitrou added the comment:
The way expectedFailure is currently implemented (it's a decorator which knows
nothing about test cases and test results, it only expects an exception to be
raised by its callee), it's gonna be difficult to make it participate with
subtests without breaking
Changes by Brett Cannon br...@python.org:
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16997
___
___
Python-bugs-list
Brett Cannon added the comment:
I wouldn't backport; not worth it.
Anyway, since I consider this bug closed I'm taking myself off the nosy list.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10535
Antoine Pitrou added the comment:
I think we're going to have to separate out two counts in the metrics
- the total number of tests (the current counts), and the total number
of subtests (the executed subtest blocks).
This is a reasonable proposal. On the other hand, it was already the
case
Guido van Rossum added the comment:
This works well enough (tested in old version of Tulip), right? What's holding
it up?
--
nosy: +gvanrossum
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16507
Antoine Pitrou added the comment:
New patch attached:
- makes _SubTest a TestCase subclass
- clarifies test skipping for subtests (skipTest() only skips the subtest)
- makes expected failures work as expected by resorting to a thread-local
storage hack
--
Added file:
Antoine Pitrou added the comment:
New patch attached:
- makes _SubTest a TestCase subclass
- clarifies test skipping for subtests (skipTest() only skips the subtest)
- makes expected failures work as expected by resorting to a thread-local
storage hack
--
Added file:
Antoine Pitrou added the comment:
New patch attached:
- makes _SubTest a TestCase subclass
- clarifies test skipping for subtests (skipTest() only skips the subtest)
- makes expected failures work as expected by resorting to a thread-local
storage hack
--
Added file:
Benjamin Peterson added the comment:
If you could apply this to 2.7, that'd be great.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14340
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +sbt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16998
___
___
Python-bugs-list mailing list
Sven Brauch added the comment:
Here's the next version which I hope to be somewhat complete now.
vararg and kwarg are now of type arg, and I did all the changes which are
required to make this possible. The ast tests pass.
Do you prefer to have this as one large patch all together, or would
Benjamin Peterson added the comment:
Individual patches would be great.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16795
___
___
Sven Brauch added the comment:
Alright, I'll be back with those shortly (as soon as I found out how to do this
best with hg -- I'm used to git ;). I'll also sign the contributor agreement,
that's no problem of course.
--
___
Python tracker
Roundup Robot added the comment:
New changeset ee93a89b4e0f by Serhiy Storchaka in branch '2.7':
Issue #15989: Fix possible integer overflow in str formatting as in unicode
formatting.
http://hg.python.org/cpython/rev/ee93a89b4e0f
--
___
Python
Changes by florian-rathgeber florian.rathge...@gmail.com:
--
nosy: -florian-rathgeber
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16997
___
___
Nadeem Vawda added the comment:
I've reviewed the patch and posted some comments on Rietveld.
I doubt about backward compatibility. It's obvious that struct.error and
TypeError are unintentional, and EOFError is purposed for this case. However
users can catch undocumented but de facto
Sven Brauch added the comment:
Okay, here they are. I'm not sure how to make hg include a commit message in
the patch...
81299-extend-asdl.diff: Changes required to the ASDL framework, in order to
allow attributes ( ... ) on a product
81300-change-var-kwargs.diff: Makes var/kwarg be instances
Sven Brauch added the comment:
second patch file
--
Added file: http://bugs.python.org/file28788/81300-change-var-kwargs.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16795
___
Sven Brauch added the comment:
third patch file
(... is there a better way to upload three files?)
--
Added file: http://bugs.python.org/file28789/81301-change-attr-ranges.diff
___
Python tracker rep...@bugs.python.org
Richard Oudkerk added the comment:
I thought that access to the value field of Value instances was
protected by locks to avoid lost updates.
Loads and stores are both atomic. But += is made up of two operations, a
load followed by a store, and the lock is dropped between the two.
The same
R. David Murray added the comment:
Christian, do you want to try to complete this before the 2.7.4 RC?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16042
___
Nadeem Vawda added the comment:
What if unconsumed_tail is not empty but less than needed to decompress at
least one byte? We need read more data until unconsumed_tail grow enought to
be decompressed.
This is possible in zlib, but not in bz2. According to the manual [1], it is
perfectly OK
Ezio Melotti added the comment:
Agreed, closing.
--
resolution: - fixed
stage: patch review -
status: open - closed
versions: +Python 3.2 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10535
New submission from Antoine Pitrou:
There's a lot of obsolete or simply pointless cruft in the unittest docs,
including references to the runTest method, or a detailed description of how to
manually collect test suites. Following patch simplifies things a lot and makes
the doc easier to read.
New submission from Antoine Pitrou:
There's a lot of obsolete or simply pointless cruft in the unittest docs,
including references to the runTest method, or a detailed description of how to
manually collect test suites. Following patch simplifies things a lot and makes
the doc easier to read.
New submission from Ramchandra Apte:
This would reduce the complexity of uuid.UUID and also if the way it compares
changes, one would't have to change all the compare methods.
Attached is a patch.
--
components: Library (Lib)
files: issue.patch
keywords: patch
messages: 180275
nosy:
Changes by Ramchandra Apte maniandra...@gmail.com:
--
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17001
___
___
Ramchandra Apte added the comment:
Attached is a patch. Note that this is my first Doc patch; please apologize
errors.
--
keywords: +patch
nosy: +ramchandra.apte
Added file: http://bugs.python.org/file28793/issue16557.patch
___
Python tracker
Brian Curtin added the comment:
Can you provide test cases for this code?
--
nosy: +brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17001
___
Ramchandra Apte added the comment:
Yes, will do so.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17001
___
___
Python-bugs-list mailing list
Changes by Brian Curtin br...@python.org:
--
nosy: +brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16273
___
___
Python-bugs-list
Ramchandra Apte added the comment:
@Brian Curtin
It appears that there are tests for UUID ordering. [0]
I will run the tests.
[0] http://hg.python.org/cpython/file/d1e6a48dfb0d/Lib/test/test_uuid.py#l188
--
___
Python tracker rep...@bugs.python.org
Ramchandra Apte added the comment:
Damn, I forgot to add import functools.
Here is a fixed version that passes test_uuid.
--
Added file: http://bugs.python.org/file28794/issue-v2.patch
___
Python tracker rep...@bugs.python.org
Ramchandra Apte added the comment:
Buump.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13598
___
___
Python-bugs-list mailing list
53 matches
Mail list logo