Mark Dickinson dicki...@gmail.com added the comment:
This is puzzling, isn't it?
I don't see why. There's nothing in -Wall -Wextra -Wsigned-overflow
that asks for warnings for code that might overflow. Indeed, I don't
see how any compiler could reasonably provide such warnings without
Mark Dickinson dicki...@gmail.com added the comment:
Aargh!
s/Wsigned-overflow/Wstrict-overflow/g
Sorry.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1621
___
New submission from Retro vinet...@gmail.com:
y...@localhost:~$ python3 romantest1.py -v
to_roman should give known result with known input ... ok
Better would be:
y...@localhost:~$ python3 romantest1.py -v
to_roman should give known result with known input ... OK
Since other words are
New submission from Robert Lehmann lehman...@gmail.com:
There are a few errors in the ctypes documentation covering function
calls using the example of `libc.printf`. It's basically just typos but
they are really confusing when trying to understand the examples.
Patch to trunk is attached.
Benjamin Peterson benja...@python.org added the comment:
This is correct; dict iterators check to see if the size of the dict is
different. However, fixing this problem would require tracking dict
contents during iteration. That strikes me as too inefficient and too
much code for this little
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
the same function can be both
argument parser and cleanup function
Here is an another experimental patch to implement this. (Is this right
usage of PyCObject_FromVoidPtrAndDesc?)
As not all converters would need or support
Alan Pevec ape...@gmail.com added the comment:
Issue is not reproducible with python 2.5, following patch fixes it on
python 2.4:
--- os.py-2.4 2009-05-14 12:54:08.0 +
+++ os.py 2009-05-14 13:06:21.0 +
@@ -351,8 +351,8 @@
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
assignee: rhettinger -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5945
___
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Am inclined to reject this request. We shouldn't get in the habit of
documenting what functions don't do. In the past, no one seemed to have
any trouble with xrange() not being comparable to itself. In the
present, there
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Walter, this is your code. Care to incorporate any of David's ideas?
David, for my own code, the usual technique for something like
test_repr() is to subclass TestHashMappingProtocol and override the test
method with a
Mitchell Model m...@acm.org added the comment:
Sounds right. (1) I was raising the issue in case either the behavior was
unintended or the documentation should mention it; (2) I realize that comparing
ranges is strange; (3) I understand that range works in 3 the way xrange worked
in 2, and
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
At some point, a person just needs to read the regular docs for range().
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
New submission from Lie Ryan lie.1...@gmail.com:
An itertool to Group-by-n
lst = range(15)
itertools.grouper(lst, 5)
[[0, 1, 2, 3, 4], [5, 6, 7, 8, 9], [10, 11, 12, 13, 14]]
This function is often asked in several c.l.py discussions, such as these:
New submission from R. David Murray rdmur...@bitdance.com:
The test for issue #5977 added to test_get_outputs leaves a file named
'foo' behind in the current working directory.
--
messages: 87744
nosy: r.david.murray
severity: normal
status: open
title: test_distutils leaves a 'foo'
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
This has been rejected before.
* It is not a fundamental itertool primitive. The recipes section in
the docs shows a clean, fast implementation derived from zip_longest().
* There is some debate on a correct API for odd
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
I should have been clearer. It is not the function of whatsnew to show
all aspects of 2-to-3 changes. It is enough to say that range() no
longer returns a list and instead returns what used to be an xrange()
object. At that
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - tarek
nosy: +tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6022
___
___
Benjamin Peterson benja...@python.org added the comment:
2.4 is no longer supported.
--
nosy: +benjamin.peterson
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5912
Antoine Pitrou pit...@free.fr added the comment:
If no-one objects, I'm going to commit this in a couple of days.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5006
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5006
___
___
Python-bugs-list
Mitchell Model m...@acm.org added the comment:
Ah. I see. I hadn't realized that. OK, I see how all the pieces fit together
now. Thanks for all the explanations. They'll help me understand better what
kinds of comments to make on the documentation.
--
--
--- Mitchell
--
Lie Ryan lie.1...@gmail.com added the comment:
All implementations relying on zip or zip_longest breaks with infinite
iterable (e.g. itertools.count()).
And it is not impossible to define a clean, flexible, and familiar API
which will be similar to open()'s mode or unicode error mode. The modes
Antoine Pitrou pit...@free.fr added the comment:
I understand this is indeed unintuitive. The reason list objects support
the C mapping protocol in 3.x is that it is how slicing of lists (and
tuples, for that matter) is implemented. Perhaps the documentation
should carry a warning about this.
Benjamin Peterson benja...@python.org added the comment:
Personally, I think PyMapping_Check and PySequence_Check should be
deprecated and removed. Like their Python counterparts,
operator.isMappingType() and operation.isSequenceType(), they are
unreliable at best in the face of not LBYL and
Benjamin Peterson benja...@python.org added the comment:
As I said on IRC a few days ago, I think the patch is ready to go.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5006
Antoine Pitrou pit...@free.fr added the comment:
Ok, committed in r72635.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5006
___
New submission from Jonathan Hayward jonathan.hayw...@pobox.com:
The search function on docs.python.org does not intelligently search the
library for a query in the form module.function. For instance, in
searching for information on (say) socket.bind(), neither a search query
of socket.bind()
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
All implementations relying on zip or zip_longest breaks
with infinite iterable (e.g. itertools.count()).
How is it broken?
Infinite in, infinite out.
def grouper(n, iterable, fillvalue=None):
...args =
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Why did the list implementation get changed in Py3.x? Is it now
necessary for any subscripting type to put the same method in both the
sequence methods and mapping methods? Was this change necessary?
--
Antoine Pitrou pit...@free.fr added the comment:
Why did the list implementation get changed in Py3.x? Is it now
necessary for any subscripting type to put the same method in both the
sequence methods and mapping methods? Was this change necessary?
I think it's a case of foolish
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
Proposed patch may fix another windows failure as after recent commit
unresolved external symbol initfoo seems to me fixed.
--
nosy: +rpetrov
Added file: http://bugs.python.org/file13983/issue5977-w32.patch
Antoine Pitrou pit...@free.fr added the comment:
Will try to work out a patch before the RC.
--
assignee: - pitrou
components: +IO
priority: - normal
stage: - needs patch
versions: +Python 3.1 -Python 3.0
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
I suppose it is fixed, isn't it?
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5628
___
Benjamin Peterson benja...@python.org added the comment:
Yes
--
resolution: - fixed
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5628
___
Baptiste Carvello baptiste...@free.fr added the comment:
OK, here is also the patch to 'Modules/_io/textio.c', as it is in fact
quite trivial. Choose which one you prefer :-)
Baptiste
--
Added file: http://bugs.python.org/file13984/textio.diff
___
Antoine Pitrou pit...@free.fr added the comment:
Your patch is committed in r72640. Thanks!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1664
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: - duplicate
status: open - closed
superseder: - datetime.timedelta is inconvenient to use...
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6020
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +mw44118
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5788
___
___
Python-bugs-list mailing
Antoine Pitrou pit...@free.fr added the comment:
Given the timing, I fear this will have to wait for 3.2.
--
versions: +Python 3.2 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5788
Antoine Pitrou pit...@free.fr added the comment:
Any news?
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5803
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5761
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
components: +IO
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5761
___
___
Python-bugs-list mailing
Antoine Pitrou pit...@free.fr added the comment:
I've committed the patch, thanks!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5918
___
Antoine Pitrou pit...@free.fr added the comment:
Is the current patch ready for consumption?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5964
___
Benjamin Peterson benja...@python.org added the comment:
Fixed in r72649.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5844
___
Derek Morr derekm...@psu.edu added the comment:
Thanks.
Is there any chance of getting bug 1655 fixed as well? imaplib has the
same issue as nntplib, and the patch is identical.
--
___
Python tracker rep...@bugs.python.org
New submission from Collin Winter coll...@gmail.com:
Currently (r72643), regrtest.py -R:: says that a test passed even if it
leaked references:
trunk collinwinter$ ./python.exe Lib/test/regrtest.py -R::
test_urllib2_localnet
test_urllib2_localnet
beginning 9 repetitions
123456789
.
Robert Schuppenies robert.schuppen...@gmail.com added the comment:
The test passes on my machine, but a quick review would definitely be
nice :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5964
Changes by Collin Winter coll...@gmail.com:
Added file: http://bugs.python.org/file13986/refleak.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6024
___
Changes by Collin Winter coll...@gmail.com:
Removed file: http://bugs.python.org/file13985/refleak.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6024
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +pitrou
stage: - patch review
versions: +Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1655
___
New submission from Philipp Hagemeister phi...@phihag.de:
In the documentation, the signature is given as parse(filename_or_file,
parser), although the next paragraph reads (...) *parser*, if given,
(...).
The latter is correct, and there is a new bufsize parameter, too.
--
assignee:
Robert Schuppenies robert.schuppen...@gmail.com added the comment:
If that is the right behavior then yes. Is this documented somewhere?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5964
New submission from Ezio Melotti ezio.melo...@gmail.com:
Python build finished, but the necessary bits to build these modules
were not found: _dbm _gdbm _hashlib _sqlite3 _ssl _tkinter bz2 zlib
When zlib is missing some tests fail:
./python -m test.regrtest -uall -v test_zipimport
Could not
Benjamin Peterson benja...@python.org added the comment:
See http://docs.python.org/reference/datamodel.html#object.__eq__
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5964
New submission from Ezio Melotti ezio.melo...@gmail.com:
./python -m test.regrtest -uall -v test_xmlrpc_net
Could not find '/home/wolf/py3k/Lib/test' in sys.path to remove it
test_xmlrpc_net
test_current_time (test.test_xmlrpc_net.CurrentTimeTest) ... ERROR
Ezio Melotti ezio.melo...@gmail.com added the comment:
I got a similar problem but here the ISP returned an error/search page
and a 302 Found. test_urllibnet.test_bad_address() failed with
AssertionError: IOError not raised by urlopen
import http.client
conn =
George Sakkis george.sak...@gmail.com added the comment:
I updated the recipe to also return a `missing_args` tuple - the tuple
of the formal parameters whose value was not provided. This is useful in
cases where one want to distinguish f() from f(None) given def f(x=None).
--
versions:
George Sakkis george.sak...@gmail.com added the comment:
Also updated url: http://code.activestate.com/recipes/551779/
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3135
___
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1286
___
___
Python-bugs-list
Changes by Daniel Diniz aja...@gmail.com:
--
dependencies: +replacing char* with const char* in sysmodule.c/.h
versions: +Python 2.7 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1772673
Daniel Diniz aja...@gmail.com added the comment:
Maybe this should be added to a PEP?
IMO it would be better if the a new certificate could be issued soon
enough so that test_ssl in any given version works at least until that
version stops being supported.
--
nosy: +ajaksu2
Collin Winter coll...@gmail.com added the comment:
Applied in r72658 (trunk) and r72660 (py3k).
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6024
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1441
___
___
Python-bugs-list
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - test needed
versions: +Python 2.7, Python 3.2 -Python 2.6, Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1736792
___
Changes by Daniel Diniz aja...@gmail.com:
--
components: +IO
nosy: +benjamin.peterson, pitrou
priority: - normal
stage: - patch review
versions: +Python 3.1 -Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1706039
Daniel Diniz aja...@gmail.com added the comment:
Can someone ping the Jython tracker for help on this?
--
nosy: +ajaksu2
type: - feature request
versions: +Python 2.7, Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
Changes by Daniel Diniz aja...@gmail.com:
--
components: +Unicode
keywords: +patch
stage: - test needed
type: - behavior
versions: +Python 2.6, Python 3.1 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1697943
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - patch review
type: - behavior
versions: +Python 3.1 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1692335
___
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - test needed
type: - behavior
versions: +Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1598083
___
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - test needed
type: - feature request
versions: +Python 2.7 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1540617
___
Changes by Daniel Diniz aja...@gmail.com:
--
dependencies: +struct.pack(I, foo); struct.pack(L, foo) should fail
keywords: +patch
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1530559
Daniel Diniz aja...@gmail.com added the comment:
Seems related to #706406 and #3180.
--
nosy: +ajaksu2
stage: - test needed
type: - behavior
versions: +Python 2.6 -Python 2.5
___
Python tracker rep...@bugs.python.org
Changes by Daniel Diniz aja...@gmail.com:
--
nosy: +michael.foord
versions: +Python 3.2 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1399935
___
Changes by Daniel Diniz aja...@gmail.com:
--
stage: test needed - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1399935
___
___
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - test needed
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1309352
___
___
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - needs patch
type: - feature request
versions: +Python 2.6, Python 3.1 -Python 2.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1306248
Changes by Daniel Diniz aja...@gmail.com:
--
nosy: +michael.foord
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1244929
___
Changes by Daniel Diniz aja...@gmail.com:
--
components: +IO
nosy: +benjamin.peterson, pitrou
versions: +Python 3.2 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1152248
___
Daniel Diniz aja...@gmail.com added the comment:
I think we should close this, otherwise we'll have to get creative
trying to find bugs that might as well have been fixed.
--
nosy: +ajaksu2
status: open - pending
___
Python tracker
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - test needed
versions: +Python 2.7, Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue502236
___
Changes by Chris Rebert pyb...@rebertia.com:
--
nosy: +cvrebert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6021
___
___
Python-bugs-list
82 matches
Mail list logo