New submission from Ray.Allen ysj@gmail.com:
Does *= need document? I think the documentation of * for all sequence type can
already cover the *= usage.
--
nosy: +ysj.ray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8736
Changes by Sagiv Malihi sagivmal...@gmail.com:
--
nosy: +Sagiv.Malihi
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8733
___
___
Python-bugs-list
STINNER Victor victor.stin...@haypocalc.com added the comment:
Does my fix this #8533 fixes this issue or not? I guess yes, but I would prefer
a confirmation.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8589
New submission from Alberto Planas Domínguez apla...@gmail.com:
Sometimes, when I use cPickle to serialize tuples of strings, I get different
dumps() result for the same tuple:
import cPickle
t = ('s', 'JOHN')
s1 = cPickle.dumps(t)
s2 = cPickle.dumps(cPickle.loads(cPickle.dumps(t)))
assert s1
Tarek Ziadé ziade.ta...@gmail.com added the comment:
done in r81255, r81256 (2.6), r81258 (py3), r81260 (3.1)
Thanks Ronald
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8688
Antoine Pitrou pit...@free.fr added the comment:
I don't think you can expect serialized results to always be equal. It can
depend on specifics of the internal algorithm, such as optimizations or dict
iteration order.
--
nosy: +alexandre.vassalotti, pitrou
priority: normal - low
Tarek Ziadé ziade.ta...@gmail.com added the comment:
So do you know if this is specific to all sharutils versions ?
I could read the version and raise a specific error in that case.
*or* just not fix this bug and fix the test so it's permissive in this very
particular case (by looking at the
Antoine Pitrou pit...@free.fr added the comment:
Just skip the test, IMO.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8730
___
Changes by Victor Godoy Poluceno victorpoluc...@gmail.com:
--
nosy: +victorpoluceno
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7946
___
___
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:
Good point, since I see now that *= (and +=) also works on immutable sequence
types (though does something subtly different). I always forget that.
--
resolution: - invalid
stage: needs patch - committed/rejected
New submission from Alberto Trevino albe...@byu.edu:
This patch updates smtpd.py to be more RFC 5321 compliant. It contains:
- EHLO support
- Implement DATA size limit (32 MiB by default)
- 8-bit mime extension plumbing (doesn't do anything, but accepts and
records command)
- Basic VRFY
Florent Xicluna florent.xicl...@gmail.com added the comment:
Committed in r81265 for 2.7.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1285086
___
New submission from Christophe Combelles cc...@free.fr:
This leads to a maximum recursion depth error:
$ python3.1
import sys, pdb
sys.setfilesystemencoding('iso8859-7')
pdb.set_trace()
I'm on ubuntu 10.04 x86_64, with LANG=fr_FR.utf8
--
components: None
messages: 105904
nosy:
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
stage: - unit test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8739
___
Changes by Barry A. Warsaw ba...@python.org:
--
versions: -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8739
___
___
Python-bugs-list
Changes by Barry A. Warsaw ba...@python.org:
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2456
___
Barry A. Warsaw ba...@python.org added the comment:
I cannot reproduce this on Ubuntu 10.04 with current py3k (r81268), even using
the boiled down example given by Antoine. What platform are you on?
--
___
Python tracker rep...@bugs.python.org
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
nosy: +belopolsky
stage: - unit test needed
versions: +Python 3.2, Python 3.3 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1800
Florent Xicluna florent.xicl...@gmail.com added the comment:
Next release should fix it: 3.1.3
(Tested on 3.1 branch)
--
nosy: +flox, haypo
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - sys.setfilesystemencoding(xxx); open(a) = stack overflow
Maciek Fijalkowski fi...@genesilico.pl added the comment:
Hello.
I would like to complain. It was decided at some point some time ago that both
pure-python and C version should run against the same test suite and should not
have any differencies. The reasoning behind it is that other python
Changes by Jean-Paul Calderone exar...@twistedmatrix.com:
--
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3051
___
___
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Will look at this when I get back to the U.S.
--
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8685
STINNER Victor victor.stin...@haypocalc.com added the comment:
What is the problem?
$ python3.1
Python 3.1.2 (r312:79147, Apr 21 2010, 23:52:07)
[GCC 4.4.3] on linux2
Type help, copyright, credits or license for more information.
import sys, pdb; sys.setfilesystemencoding('iso8859-7');
STINNER Victor victor.stin...@haypocalc.com added the comment:
The file system encoding should not be modifiable. Call
sys.setfilesystemencoding() breaks Python, eg. module filenames are not
reencoded. See also #8611.
sys.setfilesystemencoding() is as danregeous as sys.setdefaultencoding()
Christophe Combelles cc...@free.fr added the comment:
Traceback (most recent call last):
File /usr/lib/python3.1/encodings/__init__.py, line 98, in search_function
level=0)
File /usr/lib/python3.1/encodings/__init__.py, line 98, in search_function
level=0)
(...)
File
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oh, flox closed the issue: it's a duplicate of #8226. The bug was fixed in
Python 3.1.2 by myself (r79394).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8740
Ronald Oussoren ronaldousso...@mac.com added the comment:
I'd also skip the test, this is not a bug in Python but a broken compress
executable.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8730
Jeffrey Yasskin jyass...@gmail.com added the comment:
Fixed in r81269. Sorry about that.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8726
___
Changes by Florent Xicluna florent.xicl...@gmail.com:
Removed file: http://bugs.python.org/file17366/issue1285086_using_rstrip_v2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1285086
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Attached patch fixes the issue, but feels a little bit like a band-aid. I think
making array arguments decay into pointers is the right solution, but I am
not sure this should be done when prototype is created or when it
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
keywords: +needs review
stage: unit test needed - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1800
___
Pascal Chambon chambon.pas...@gmail.com added the comment:
My bad, here is a better patch...
--
Added file: http://bugs.python.org/file17382/msvcrt_crash2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8734
Changes by Pascal Chambon chambon.pas...@gmail.com:
Removed file: http://bugs.python.org/file17369/msvcrt_crash.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8734
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
The second patch looks good to me.
--
resolution: - accepted
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8734
Senthil Kumaran orsent...@gmail.com added the comment:
On Mon, May 17, 2010 at 01:38:57PM +, Florent Xicluna wrote:
Committed in r81265 for 2.7.
Thanks. That was interesting. Without resorting to any drastic changes like
use of regex, interesting speed-up seems to have been achieved by
Changes by Senthil Kumaran orsent...@gmail.com:
--
assignee: orsenthil - flox
resolution: - fixed
stage: patch review - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1285086
New submission from Sridhar Ratnakumar sridh...@activestate.com:
Repro steps:
Download http://appropriatesoftware.net/provide/docs/eternity-0.13.tar.gz (via
'eternity' module in PyPI) and look at the following command line session:
C:\Temp\tfbugpython27 -c import tarfile as T;
Florent Xicluna florent.xicl...@gmail.com added the comment:
Committed to 3.2 in r81271, after some additional tuning.
Btw, I kept list comprehension in 3.2, because it is faster for small strings
(even if the gain is ~10%).
--
status: open - closed
Sridhar Ratnakumar sridh...@activestate.com added the comment:
Apparently this fix introduced a regression. See issue8741
--
nosy: +srid
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6054
New submission from Patrick Sabin patricksa...@gmx.at:
The link:
http://www.cs.princeton.edu/~danwang/Papers/dsl97/dsl97-abstract.html
in the file Parser/asdl.py seems to be broken. When I tried to open it I got a
page with: Sorry, the page you requested couldn't be found. It seems to me
that
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8742
___
___
Python-bugs-list
Lars Gustäbel l...@gustaebel.de added the comment:
I added support for the hdrcharset method and a workaround for the GNU tar bug,
see r81273.
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
Sridhar Ratnakumar sridh...@activestate.com added the comment:
The actual exception caught (before it was ignored and a generic IOError was
thrown) was this:
File C:\Python27\lib\tarfile.py, line 2168, in _extract_member
self.makelink(tarinfo, targetpath)
File
Sridhar Ratnakumar sridh...@activestate.com added the comment:
Aside: why is the original exception ignored, and instead a generic IOError is
thrown? Why not use one of the exceptions inheriting `TarError`, so that
application code can reliably catch these errors?
--
trambalda tramba...@gmail.com added the comment:
Same problem in 2.6.4 r264:75708 and 3.1 r31:73574
--
nosy: +trambalda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7981
___
trambalda tramba...@gmail.com added the comment:
but with print() it works:
print(This text\n contains weird spacing.)
# doctest: +NORMALIZE_WHITESPACE
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7981
New submission from Daniel Stutzbach dan...@stutzbachenterprises.com:
The set() operators (__or__, __and__, __sub__, __xor__, and their in-place
counterparts) require that the parameter also be an instance of set().
They're documented that way: This precludes error-prone constructions like
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:
I should add:
I discovered the inconsistency while working on my sortedset class, which
provides the same interface as set() but is also indexable like a list (e.g.,
S[0] always returns the minimum element, S[-1] returns the
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:
Antoine, do you have a suggestion for someone with with better knowledge of
ABCs to do the final review, so that I may very politely pester them? ;-)
--
___
Python tracker
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:
Is there anything more I can do to help get this crash-fix committed before 2.7
rc1?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7079
Antoine Pitrou pit...@free.fr added the comment:
Sorry, I had just forgotten. The patch has been committed in r81275 (trunk) and
r81277 (2.6). Thank you:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Antoine Pitrou pit...@free.fr added the comment:
Antoine, do you have a suggestion for someone with with better
knowledge of ABCs to do the final review, so that I may very politely
pester them? ;-)
I guess Benjamin could.
--
___
Python tracker
Pascal Chambon chambon.pas...@gmail.com added the comment:
Sorry to reraise an old issue, but the documentation of test module is
deceiving on that one : The test.test_support module has been renamed to
test.support in Python 3.0. The 2to3 tool will automatically adapt imports when
converting
Ram Rachum cool...@cool-rr.com added the comment:
+1 for this issue; I've also wished for this feature in the past.
--
nosy: +cool-RR
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8713
___
Senthil Kumaran orsent...@gmail.com added the comment:
HTTP Ref says that Server can send any encoding, if client does not
specify Accept-Encoding header. But if 'identity' is one of the
encoding that server recognizes (?), then it should send it as
identity, which indicates untransformed
Giampaolo Rodola' g.rod...@gmail.com added the comment:
Some comments:
-# This file implements the minimal SMTP protocol as defined in RFC 821. It
+# This file implements the minimal SMTP protocol as defined in RFC 5321. It
Is RFC 5321 completely implemented? Otherwise I would turn this in
Nick Coghlan ncogh...@gmail.com added the comment:
Brett marked it as an expected failure in r81219.
Probably should have mentioned that here at the time though...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8727
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8729
___
___
Python-bugs-list mailing
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +stutzbach
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2226
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +janssen, ronaldoussoren
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3362
___
___
Antoine Pitrou pit...@free.fr added the comment:
The patch looks ok to me.
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5553
___
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8728
___
___
Dave Malcolm dmalc...@redhat.com added the comment:
Attempting to summarize IRC discussion about this.
PySys_SetArgv is used to set up sys.argv There is plenty of code which
assumes that this is a list containing at least a zeroth string element; for
example warnings.warn (see msg89688).
New submission from INADA Naoki songofaca...@gmail.com:
http://docs.python.org/dev/library/test.html#test.test_support.captured_stdout
This is a context manager than runs the with statement body using a
StringIO.StringIO object as sys.stdout.
I think than is typo of that.
--
Changes by Dan Buch daniel.b...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file17385/mkpkg-round-of-pylinting.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8591
Dan Buch daniel.b...@gmail.com added the comment:
The attached mkpkg-round-of-pylinting.patch is known to cleanly apply to
tarek's branch @ 541f90ef0636
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8591
Senthil Kumaran orsent...@gmail.com added the comment:
Fixed it in revision 81279 and other branches.
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8744
___
Changes by Senthil Kumaran orsent...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8744
___
Senthil Kumaran orsent...@gmail.com added the comment:
The functionality provided by urllib.request._urlopener can be accomplished in
a more natural way using build_opener. Historically, _urlopener was there for
urllib and build_opener style came in urllib2.
So, I think, this can be safely be
Senthil Kumaran orsent...@gmail.com added the comment:
Actually, I see certain use-cases of _urlopener in py3k. Most visible one being
urllib.request.urlretrieve and also URLOpener.open which is different from
build_opener way of doing things.
- But still, public exposure of overriding
Senthil Kumaran orsent...@gmail.com added the comment:
Removed in r81283 and r81284.
With respect to the technical details of exposing this functionality for
_urlretrieve and URLOpener.
- users can still do it.
- There is a better way, if the other global _opener be served for the same
Meador Inge mead...@gmail.com added the comment:
Attached is a patch that implements part of the additions. More specifically,
the 'T{}' syntax and the ability to place byte-order specifiers ('', '', '@',
'^', '!, '=') anywhere in the struct string.
The changes dictated by the PEP are so
Ashley Sands ashley.j.sa...@gmail.com added the comment:
Hi Brett,
I would like to contribute to the open source community and Python is my
favourite language, so I figured I would begin here. But I have never done this
before, so I am a open-source-contributor-newbie.
So to resolve this
73 matches
Mail list logo