Daniel Diniz aja...@gmail.com added the comment:
Mark, Virgil: Thanks for correcting my wrong assessment!
The lucky TypeError comes from rev 68120.
It looks like that error message in trunk is due to a PyNumber_And(v,
pylong_ulong_mask) when v isn't a PyNumber. I've added a get_pylong(v)
==
Supreet supreet.se...@gmail.com added the comment:
I faced similar issue. The solution is either to add tests as an
exception in pydoc or to move tests to /usr/share or /usr/share/doc.
I favor the second solution
--
nosy: +djinn
___
Python tracker
Francesco Sechi francesco.se...@iet.unipi.it added the comment:
My position is:
if you want to encode the newline character, this should be done by both
parseString and setAttribute methods. Otherwise, the behaviour is not
symmetric.
My patch translates the newline character with a whitespace
New submission from Ronald Oussoren ronaldousso...@mac.com:
Class zipfile.ZipFile has two methods for adding data to a zipfile:
'write' and 'writestr'.
The former has a compression_type argument that can be used to specify
the compression to be used. That latter doesn't have that argument.
New submission from Ronald Oussoren ronaldousso...@mac.com:
Class zipfile.ZipFile has two methods for adding data to a zipfile:
'write' and 'writestr'.
The former has a compression_type argument that can be used to specify
the compression to be used. That latter doesn't have that argument.
Ronald Oussoren ronaldousso...@mac.com added the comment:
Too impatient while submitting the report...
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6004
Michael Foord mich...@voidspace.org.uk added the comment:
This commit caused a regression in command line behavior of modules
using unittest.main(). Fixed in revision 72583.
--
___
Python tracker rep...@bugs.python.org
Michael Foord mich...@voidspace.org.uk added the comment:
See issue 6001 for a patch implementing test discovery for unittest.
It would allow you to do:
python -m unittest discover
--
___
Python tracker rep...@bugs.python.org
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - patch review
type: - feature request
versions: +Python 2.7, Python 3.1 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1513299
Changes by Daniel Diniz aja...@gmail.com:
--
keywords: +patch
stage: - patch review
versions: +Python 3.1 -Python 2.5, Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2118
___
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - patch review
versions: +Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1569291
___
Changes by Daniel Diniz aja...@gmail.com:
--
nosy: +michael.foord
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2958
___
___
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - test needed
type: - feature request
versions: +Python 2.7, Python 3.2 -Python 2.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1057417
Changes by Daniel Diniz aja...@gmail.com:
--
nosy: +benjamin.peterson, pitrou
stage: - patch review
versions: +Python 2.7, Python 3.2 -Python 2.6, Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2768
Changes by Daniel Diniz aja...@gmail.com:
--
components: +Library (Lib), Unicode
nosy: +haypo, loewis
priority: - normal
versions: +Python 2.6, Python 3.1 -Python 2.3, Python 2.4, Python 2.5
___
Python tracker rep...@bugs.python.org
Daniel Diniz aja...@gmail.com added the comment:
Confirmed in trunk and py3k.
--
components: +IO
nosy: +ajaksu2, benjamin.peterson, pitrou
stage: - test needed
type: - behavior
versions: +Python 2.6, Python 3.1 -Python 2.4
Added file:
Jason R. Coombs jar...@jaraco.com added the comment:
Perhaps I was wrong about 2.7. However, I'm using stock builds of Python 2.6.2
for Windows, both 32- and 64-bit, and I get the undesirable behavior.
Apparently the problem is platform-specific. Should this issue go under a new
ticket?
Changes by Daniel Diniz aja...@gmail.com:
--
components: +Tests
priority: - normal
versions: +Python 3.1 -Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2661
___
Antoine Pitrou pit...@free.fr added the comment:
Why would use a file in universal line endings mode for saving/loading
pickles? Pickles are binary data (even if version 0 pickles happens to
be human-readable), so you should open the files in binary mode (either
rb or wb).
--
versions:
Antoine Pitrou pit...@free.fr added the comment:
Please produce a single patch comprising all changes. Also, there seem
to be some misindentations in the modified C code.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2768
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2661
___
___
Python-bugs-list mailing
Daniel Diniz aja...@gmail.com added the comment:
I get different behavior in py3k compared to trunk:
~/trunk-py$ ./python issue1511_py3k.py
[['foo', 'bar\r\nbaz\r\nbiff', 'boo']]
'foo,bar\r\nbaz\r\nbiff,boo\r\n'
~/trunk-py$ ../py3k/python issue1511_py3k.py
[['foo', 'bar\nbaz\nbiff', 'boo']]
Changes by Antoine Pitrou pit...@free.fr:
--
priority: - critical
versions: +Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5945
___
Changes by Daniel Diniz aja...@gmail.com:
--
nosy: +haypo
stage: - patch review
versions: +Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1621
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1621
___
___
Python-bugs-list mailing
Antoine Pitrou pit...@free.fr added the comment:
Also, I don't understand how you confirmed this bug under py3k. Text
files under py3k forbid bytes input, which is what pickle produces:
pickle.dump([], sys.stdout)
Traceback (most recent call last):
File stdin, line 1, in module
File
Ronald Oussoren ronaldousso...@mac.com added the comment:
I will.
I guess it's too late to merge this into 3.1 (as the first beta has
already been released).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6003
Changes by Daniel Diniz aja...@gmail.com:
--
components: +IO
nosy: +benjamin.peterson, pitrou
stage: - test needed
versions: +Python 2.6, Python 3.1 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1142
Antoine Pitrou pit...@free.fr added the comment:
I guess it's too late to merge this into 3.1 (as the first beta has
already been released).
Since the change should be small and uncontroversial, I think it could
go in.
Benjamin has the final word.
--
nosy: +benjamin.peterson
Antoine Pitrou pit...@free.fr added the comment:
Hmm, PyNumber_InPlaceOr() returns a PyObject*, no wonder why the
compiler complains.
I suppose gcc and MSVC and /really/ laxist to let this error fall through.
--
keywords: +easy
nosy: +pitrou
priority: - critical
stage: - needs patch
Skip Montanaro s...@pobox.com added the comment:
Daniel Daniel Diniz aja...@gmail.com added the comment:
Daniel I get different behavior in py3k compared to trunk:
Daniel ~/trunk-py$ ./python issue1511_py3k.py
Daniel [['foo', 'bar\r\nbaz\r\nbiff', 'boo']]
Daniel
Daniel Diniz aja...@gmail.com added the comment:
You're right, sorry about the noise. Closing as out of date.
--
resolution: - out of date
stage: test needed - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - test needed
versions: +Python 3.1 -Python 2.3, Python 2.4, Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2142
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3061
___
___
Python-bugs-list
New submission from Mads Kiilerich m...@kiilerich.com:
http://docs.python.org/library/socket.html says about socket.send:
Applications are responsible for checking that all data has been sent;
if only some of the data was transmitted, the application needs to
attempt delivery of the remaining
Daniel Diniz aja...@gmail.com added the comment:
This is a duplicate of issue 4540.
--
nosy: +ajaksu2
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - typo in a module describes utf-8 as uft-8
___
Python
Changes by Daniel Diniz aja...@gmail.com:
--
nosy: +michael.foord
stage: - test needed
versions: +Python 2.7, Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1705520
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2537
___
___
Python-bugs-list
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1693050
___
___
Jan Kaliszewski z...@chopin.edu.pl added the comment:
The matter had been discussed (and not once...), IMO without
satisfactory conclusion -- see:
* http://bugs.python.org/issue612627 (the feature added)
* http://bugs.python.org/issue1214889 (another feature rejected)
*
Floris Bruynooghe floris.bruynoo...@gmail.com added the comment:
Oh, sorry about the super() that is why the ar test failed then. Sorry,
I got a little confused by the conflicting update on that file while
working on this patch and must have merged it badly.
--
Jan Kaliszewski z...@chopin.edu.pl added the comment:
PS. The main problem is not a lack of feature but that inconsistency,
and that's not documented if File type docs:
print my_file, my_unicode # - is encoded with my_file.encoding
my_file.write(my_unicode) # - is encoded with
Jan Kaliszewski z...@chopin.edu.pl added the comment:
s / if File / in File
s / -- works # - is encoded with my_file.encoding / # - is encoded
with sys.stdout.encoding
(sorry, too little sleep)
--
___
Python tracker rep...@bugs.python.org
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - patch review
type: behavior - feature request
versions: +Python 2.7, Python 3.2 -Python 2.5, Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1552
Mark Dickinson dicki...@gmail.com added the comment:
The error's also in 3.0.
--
nosy: +marketdickinson
versions: +Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6000
___
Daniel Diniz aja...@gmail.com added the comment:
This bug seems to break help(C-module) in py3k after rev 70587:
import pickle
help(pickle)
Traceback (most recent call last):
File stdin, line 1, in module
File ~/py3k/Lib/site.py, line 429, in __call__
return pydoc.help(*args, **kwds)
Changes by Daniel Diniz aja...@gmail.com:
--
dependencies: +ftplib: Strict RFC 959 (telnet in command channel)
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1576598
Changes by Daniel Diniz aja...@gmail.com:
--
resolution: - duplicate
stage: test needed - committed/rejected
status: pending - closed
superseder: - documentation for new SSL module
___
Python tracker rep...@bugs.python.org
Daniel Diniz aja...@gmail.com added the comment:
Closing on lack of feedback.
--
resolution: - rejected
stage: - committed/rejected
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue831574
New submission from Ely Eshel elyes...@gmail.com:
Building Python 3.0.1 with xlc on AIX 5.3, The following compiler
errros come up:
/home11/eeshel/dev/python/Python-
3.0.1/Modules/_ctypes/libffi/src/powerpc/ffi.c, line 141.25: 1506-045
(S) Undeclared identifier FFI_LINUX_SOFT_FLOAT.
Changes by Daniel Diniz aja...@gmail.com:
--
components: +Tests
stage: - test needed
type: - behavior
versions: +Python 2.6 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1729930
Krzysztof Klimonda kklimo...@syntaxhighlighted.com added the comment:
I still get this error using Python 2.6.2 (release26-maint, Apr 19
2009, 01:58:18) on Ubuntu 9.04:
https://bugs.launchpad.net/bugs/371720
Also test_combotix.py doesn't work.
--
nosy: +kklimonda
Changes by Daniel Diniz aja...@gmail.com:
--
keywords: +patch
stage: - test needed
versions: +Python 2.7, Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1260171
___
Daniel Diniz aja...@gmail.com added the comment:
Confirmed in trunk, doesn't seem to affect py3k.
--
keywords: +patch
nosy: +ajaksu2
stage: - test needed
versions: +Python 2.6 -Python 2.5
___
Python tracker rep...@bugs.python.org
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/issue706392
___
Krzysztof Klimonda kklimo...@syntaxhighlighted.com added the comment:
It is probably related to the old version of Tix that both Debian and
Ubuntu ship.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3872
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - test needed
type: - behavior
versions: +Python 2.6
Added file: http://bugs.python.org/file13971/test.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue706406
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/issue730473
___
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - benjamin.peterson
nosy: +benjamin.peterson
priority: critical - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6000
Sridhar Ratnakumar sridh...@activestate.com added the comment:
Adding Martin to the nosy list as this is related to his change:
http://svn.python.org/view/python/branches/py3k/Modules/python.c?view=annotate#l17
--
nosy: +loewis
___
Python tracker
Changes by Michael Stone mbrie...@gmail.com:
--
nosy: +ajaksu2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue706406
___
___
Python-bugs-list
Changes by Daniel Diniz aja...@gmail.com:
Removed file: http://bugs.python.org/file13971/test.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue706406
___
Daniel Diniz aja...@gmail.com added the comment:
Oops, sorry! I should know better than to name scripts test.py: the
upload failed and when I realized that (after some time), test.py was
already something else.
Thanks for catching this instance of PEBKAC, Michael :)
--
Added file:
Daniel Diniz aja...@gmail.com added the comment:
Tarek,
It looks like all buildbots are red because setup.py doesn't work with
this change:
running build
running build_ext
Traceback (most recent call last):
File ./setup.py, line 1896, in module
main()
File ./setup.py, line 1891, in main
Changes by Gregory P. Smith g...@krypto.org:
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6001
___
___
Python-bugs-list
Dave Baggett jyt...@baggett.org added the comment:
I'm not sure this causes the behavior reported here, but I believe there
really is a bug in imaplib.
In particular, it seems wrong to me that this line:
mustquote = re.compile(r[^\w!#$%'*+,.:;=?^`|~-])
has \w in it. Should that be \s?
I
Dave Baggett jyt...@baggett.org added the comment:
OK, I missed the initial caret in the regex. The mustquote regex is
listing everything that needn't be quoted, and then negating. I still
think it's wrong, though. According to BNF given in the Formal Syntax
section of RFC 3501, you must must
Alexandre Vassalotti alexan...@peadrop.com added the comment:
Should this issue go under a new ticket?
Yes, it would be preferable as the issue is probably not specific to
io.StringIO. Also, make sure that you include the result of this test-case:
open(testnl.txt, wb).write(foo\r\nbar\r\n)
Patrick Miller patmil...@users.sourceforge.net added the comment:
Thanks... I'll submit patches for 2.6, 2.7, and 3.2
On Tue, May 12, 2009 at 2:07 PM, Daniel Diniz rep...@bugs.python.org wrote:
Changes by Daniel Diniz aja...@gmail.com:
--
stage: - test needed
versions: +Python
Benjamin Peterson benja...@python.org added the comment:
Fixed in r72589.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6000
___
New submission from Jean-Paul Calderone exar...@divmod.com:
Per issue3308, it is not really possible to build Python extensions with
MinGW anymore (as far as I can tell). The distutils documentation is
misleading in this regard, as is the continued existence of the
build_ext --compiler=mingw32
Antoine Pitrou pit...@free.fr added the comment:
(or perhaps an announcement can be made on distutils-sig in the hope
that someone step up and fix mingw support?)
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
Daniel Diniz aja...@gmail.com added the comment:
Tarek,
Sorry about breaking the compiler option, I was aware that passing None
there would have that risk.
I think anything that breaks people's setup.py shouldn't go into
release26-maint without a really important motivation.
Is there a way to
Changes by Francis Devereux python@devrx.org:
--
nosy: +frankoid
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5716
___
___
Python-bugs-list
Changes by Jan Kaliszewski z...@chopin.edu.pl:
--
assignee: - georg.brandl
components: +Documentation
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4947
___
New submission from Sridhar Ratnakumar sridh...@activestate.com:
In Python2.x, Idle is installed as idle2.x. This is the case with Linux
and Mac.
However, in Py3.1b2, Idle is installed as `idle3`.
Expected script name is `idle3.1`.
--
components: IDLE
messages: 87664
nosy: srid
Hari Krishna Dara harid...@gmail.com added the comment:
I hit exactly this same problem today trying to customize sys.path. We
conventionally use .pth file under site-packages to add our custom
library paths, but this is not convenient in development while switching
between branches/checkout
Changes by Robert Schuppenies robert.schuppen...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5964
___
Zach Hirsch zhir...@umich.edu added the comment:
I'm not sure if this is the same problem, but it seems related. I can
get the same ImportError without involving py2exe or modulefinder:
Python 2.5.4 (r254:67916, Feb 18 2009, 03:00:47)
[GCC 4.3.3] on linux2
Type help, copyright, credits or
New submission from Vaibhav Mallya mally...@umich.edu:
The first example, and several subsequent examples later on in the
optparse docs, use 'default' as an argument, even though it's apparently
deprecated in favor of set_defaults. At the risk of overstating the
obvious, this seems to be
80 matches
Mail list logo