Neal Norwitz [EMAIL PROTECTED] added the comment:
It seems that if the tests are run in this order:
./python -E -tt ./Lib/test/regrtest.py -u all test_xmlrpc test_ctypes
test_json test_bsddb3 test_pickletools
The error will trigger consistently. That is in 2.6 with a debug build
on a dual cpu
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Updated patch with the additional PyBuffer_Release mentioned by Neal,
plus a proposition of entry for the NEWS file.
There is no doc about the new interface, so no update is needed :-(
See issue2619.
Added file:
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Viktor?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3160
___
___
Python-bugs-list mailing list
Changes by Antoine Pitrou [EMAIL PROTECTED]:
--
keywords: +needs review
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3160
___
___
Python-bugs-list
Changes by Antoine Pitrou [EMAIL PROTECTED]:
--
nosy: +pitrou
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3668
___
___
Python-bugs-list mailing list
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Attached patch writes the 'import site' failed message to libc stderr
instead of sys.stderr, which does not exist at this point.
The initial problem still remains: site.py cannot use the open builtin.
--
keywords: +patch
Added
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Agreed. PyErr_ExceptionMatches returns owned references, so the tb
variable has to remain an owned reference.
Patch attached, please review.
--
keywords: +needs review, patch
Added file:
Matt Giuca [EMAIL PROTECTED] added the comment:
It seems like parse_multipart and parse_header are very strongly related
to parse_qs. (eg. if you want to process HTTP requests you'll want to
call parse_qs for x-www-form-urlencoded and parse_multipart for
multipart/form-data).
Should these be
Changes by Antoine Pitrou [EMAIL PROTECTED]:
--
assignee: - pitrou
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3668
___
___
Python-bugs-list mailing
New submission from Hagen Fürstenau [EMAIL PROTECTED]:
After pickling a set of ints with Python 3.0 and pickle protocol 2:
[EMAIL PROTECTED] ~]$ python3.0
Python 3.0b3 (r30b3:65927, Aug 21 2008, 11:48:29)
[GCC 4.1.0 20060304 (Red Hat 4.1.0-3)] on linux2
Type help, copyright, credits or license
Changes by Anders J. Munch [EMAIL PROTECTED]:
--
nosy: +andersjm
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1220212
___
___
Python-bugs-list mailing
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Here is a patch. Please review.
--
keywords: +needs review, patch
type: - resource usage
Added file: http://bugs.python.org/file11243/argleak.patch
___
Python tracker [EMAIL PROTECTED]
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
This patch elegantly reuses the existing cleanup list.
Only two remarks:
- there are a few tabs/spaces inconsistencies.
- I would make the cleanup_ptr explicit:
intead of
addcleanup(*buffer, freelist, NULL);
I'd prefer
Senthil [EMAIL PROTECTED] added the comment:
Hello Paul,
Have you beeing keeping track of urlparse changes in Python2.6? I
anaylzed your patch and read through the RFC3986 and have the
following comments:
1) The usage of this module is very diffirent from the current
urlparse module's
Benjamin Peterson [EMAIL PROTECTED] added the comment:
The patch looks fine to me.
--
nosy: +benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3663
___
New submission from Oren Tirosh [EMAIL PROTECTED]:
The comments in the following modules contain references to PEP 291 or
to remaining compatible with version 2.x. However, they all include non
backward compatible python 3 syntax like except x as y.
decimal.py
modulefinder.py
pkgutil.py
Benjamin Peterson [EMAIL PROTECTED] added the comment:
We could:
1. Use _fileio._FileIO directly.
2. Use os.open.
3. Initialize the stdio streams before importing site. This seems like
the best option, although I haven't run all the tests yet.
--
nosy: +benjamin.peterson
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Ok, here is a new patch addressing Amaury's comments.
Added file: http://bugs.python.org/file11244/argleak2.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3668
Antoine Pitrou [EMAIL PROTECTED] added the comment:
By the way, this bug affects 2.6 as well, although not in binascii since
it has not been converted to use s*:
codecs.latin_1_decode(b, 0)
Traceback (most recent call last):
File stdin, line 1, in module
TypeError: latin_1_decode() argument
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Here is a patch for 2.6.
Added file: http://bugs.python.org/file11245/argleak-2.6.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3668
___
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Both patches look good to me.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3668
___
___
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Actually, here is a better patch for py3k.
Added file: http://bugs.python.org/file11246/argleak3.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3668
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Here's my patch for the problem.
Added file: http://bugs.python.org/file11247/different_order.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3279
Antoine Pitrou [EMAIL PROTECTED] added the comment:
And a similarly better patch for 2.6.
--
versions: +Python 2.6
Added file: http://bugs.python.org/file11248/argleak2-2.6.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3668
Gerhard Häring [EMAIL PROTECTED] added the comment:
Can we close this now? Did you try out a Python2.6 or Python 3.0 beta?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2127
___
New submission from Kristján Valur Jónsson [EMAIL PROTECTED]:
When executing a script from a UNC path, e.g. //myhost/exports/a.py,
r\\myhost\exports gets prepended to sys.path. But it doesn't work.
This means that in a.py, import b will fail even though b.py is
present in the same
Benjamin Peterson [EMAIL PROTECTED] added the comment:
It was probably done so that importing _bytesio would actually work in
io. IMO, it would be better to just compile _bytesio and _stringio into
the python binary.
___
Python tracker [EMAIL PROTECTED]
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
resolution: - accepted
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3218
___
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment:
I think what you're after is the encoding used in SMS messages:
http://en.wikipedia.org/wiki/Short_message_service
Here's an old discussion about this codec:
http://mail.python.org/pipermail/python-list/2002-October/167267.html
Alexandre Vassalotti [EMAIL PROTECTED] added the comment:
Benjamin is right. site.py imports the io module before _bytesio and
_stringio are available for import. Thus the python version of BytesIO
and StringIO is always used. There is an old thread about the issue at
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment:
Is this still an issue in 2.6 ?
AFAIK, there have been a few changes both to setuptools and PyPI that
make it easy to just use Unicode objects in the setup() call for
non-ASCII values.
___
Python
Antoine Pitrou [EMAIL PROTECTED] added the comment:
By the way, py3k suffers from this problem too, so a similar patch
should be applied if possible.
--
nosy: +pitrou
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2534
Changes by Antoine Pitrou [EMAIL PROTECTED]:
--
versions: +Python 3.0
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2534
___
___
Python-bugs-list
Alexandre Vassalotti [EMAIL PROTECTED] added the comment:
Oh, that's nasty. Recalling __init__ with bad arguments breaks the
internal invariants as it clears the Pickler's content before parsing
the arguments. I suspect that Unpickler is vulnerable too.
Adding a NULL check in pickler_write will
Pascal Bach [EMAIL PROTECTED] added the comment:
I currently use the codec in my ucplib already and this is not a
problem. I just thought that it might be useful for somebody else. But
maybe it is to use case specific.
If this codec is not of general interest I think this report can be closed.
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment:
On 2008-08-23 10:08, Hye-Shik Chang wrote:
Hye-Shik Chang [EMAIL PROTECTED] added the comment:
Committed patch cjkmactemporary.diff as r65988 in the py3k branch.
I'll open another issue for cjkcodecs implementation of Mac codecs.
Kristján Valur Jónsson [EMAIL PROTECTED] added the comment:
Correction: The workaround is to _append_ a backslash.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3677
___
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
keywords: +needs review
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2534
___
___
Python-bugs-list
Changes by Antoine Pitrou [EMAIL PROTECTED]:
--
nosy: +alexandre.vassalotti
priority: - critical
type: - behavior
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3675
___
Alexandre Vassalotti [EMAIL PROTECTED] added the comment:
Unpickler looks safe as Unpickler_load() checks if Unpickler was
properly initialized. And only Pickler_dump is vulnerable right now (new
methods, if any, exposed for issue3385 will have to take into account
this vulnerability).
Tarek Ziadé [EMAIL PROTECTED] added the comment:
The problem is in distutils code, not in setuptools or PyPI.
As long as I can see, the problem remains in the trunk. It is dead
simple to reproduce : put an unicode name for the author in a plain setup.py
with a non ascii character. (for example
Changes by Tarek Ziadé [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file9961/unicode.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2562
___
Changes by Tarek Ziadé [EMAIL PROTECTED]:
Removed file:
http://bugs.python.org/file10065/distutils.unicode.simplified.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2562
___
Changes by Tarek Ziadé [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file9967/unicode.metadata.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2562
___
Marc-Andre Lemburg [EMAIL PROTECTED] added the comment:
Here's an updated patch that applies the same logic to all meta-data
fields, instead of just a few. This simplifies the code somewhat.
I've tested it with the test you provided and also with eGenix packages
using Unicode author names (ie.
Eric Smith [EMAIL PROTECTED] added the comment:
Unfortunately, I missed the window to get these into 3.0 and 2.6.
Better luck for 3.1 and 2.7!
--
versions: +Python 2.7, Python 3.1 -Python 2.6, Python 3.0
___
Python tracker [EMAIL PROTECTED]
Brett Cannon [EMAIL PROTECTED] added the comment:
On Mon, Aug 25, 2008 at 6:40 AM, Benjamin Peterson
[EMAIL PROTECTED] wrote:
Benjamin Peterson [EMAIL PROTECTED] added the comment:
We could:
1. Use _fileio._FileIO directly.
2. Use os.open.
3. Initialize the stdio streams before importing
Brett Cannon [EMAIL PROTECTED] added the comment:
On Mon, Aug 25, 2008 at 10:49 AM, Benjamin Peterson
[EMAIL PROTECTED] wrote:
Benjamin Peterson [EMAIL PROTECTED] added the comment:
On Mon, Aug 25, 2008 at 12:48 PM, Brett Cannon [EMAIL PROTECTED] wrote:
Brett Cannon [EMAIL PROTECTED] added
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Here's my 2to3 fixer for the job. It cleanly removes the imports and
changes the usage.
--
assignee: - collinwinter
components: +2to3 (2.x to 3.0 conversion tool)
keywords: +patch
nosy: +collinwinter
title: Warn against importing
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
keywords: +needs review -26backport
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2350
___
___
Changes by djc [EMAIL PROTECTED]:
--
nosy: +djc
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2534
___
___
Python-bugs-list mailing list
Unsubscribe:
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Here's my 2to3 fixer for the cause. It always changes assignment to
sys.exitfunc to atexit.register. It then inserts a import atexit after
the module's sys import. If it can't find a sys import (that should be
rare obviously :) ), it emits a
Antoine Pitrou [EMAIL PROTECTED] added the comment:
I'm currently doing the port to py3k. It makes me find interesting flaws
in the current isinstance/issubclass implementation :-))
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2534
New submission from Arfrever Frehtes Taifersar Arahesis [EMAIL PROTECTED]:
LDFLAGS are ignored during linking libpython$(VERSION).so.
(LDFLAGS are respected during linking $(BUILDPYTHON) and $(PGEN).)
--
components: Build
files: python-respect_LDFLAGS.patch
keywords: patch
messages:
New submission from Toby Donaldson [EMAIL PROTECTED]:
In IDLE 3.0b2, whenever I press the Home key in an IDLE editor window,
IDLE ends and all windows disappear.
--
components: IDLE
messages: 71953
nosy: tjd
severity: normal
status: open
title: pressing HOME key in IDLE editor ends IDLE
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Well, 3.0b3 is out and many bugs may have been corrected.
Can you try with this newer version?
--
nosy: +amaury.forgeotdarc
___
Python tracker [EMAIL PROTECTED]
New submission from Robert Schuppenies [EMAIL PROTECTED]:
The dict, set, and deque iterators do not implement tp_traverse although
they reference container objects. This can lead to reference cycles
which will not be collected. The attached cycle.py script from Amaury
demonstrates the problem
Changes by Robert Schuppenies [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file11255/tp_traverse.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3680
___
Benjamin Peterson [EMAIL PROTECTED] added the comment:
The py3k warnings look good to me.
--
keywords: +needs review
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2370
___
New submission from Rahul Ghosh [EMAIL PROTECTED]:
I am trying to save a csv file from a scope and then open it to post
process the data.
The file is getting created currectly, but when it tries to open the
csv file it complains about file not found. I am trying to do this in
a single run. If
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Are you closing the file before trying to read it?
--
nosy: +benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3681
___
Antoine Pitrou [EMAIL PROTECTED] added the comment:
New patch with a couple of tiny fixes.
Added file: http://bugs.python.org/file11257/isinstance3k-2.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2534
Rahul Ghosh [EMAIL PROTECTED] added the comment:
I wrote a python GPIB command to the scope to export the waveform as a
csv file. Then in another function I try to read this file that I just
saved and it cannot find the file till I rerun.
___
Python tracker
Benjamin Peterson [EMAIL PROTECTED] added the comment:
On Mon, Aug 25, 2008 at 4:45 PM, Rahul Ghosh [EMAIL PROTECTED] wrote:
Rahul Ghosh [EMAIL PROTECTED] added the comment:
I wrote a python GPIB command to the scope to export the waveform as a
csv file. Then in another function I try to
New submission from Damien Miller [EMAIL PROTECTED]:
Hi,
On OpenBSD 4.4, the test_math.py regression test fails with the following:
Traceback (most recent call last):
File Lib/test/test_math.py, line 419, in testLog
self.assertRaises(ValueError, math.log, NINF)
AssertionError: ValueError
Changes by Daniel Diniz [EMAIL PROTECTED]:
--
nosy: +ajaksu2
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3638
___
___
Python-bugs-list mailing list
Changes by Daniel Diniz [EMAIL PROTECTED]:
--
nosy: +ajaksu2
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3634
___
___
Python-bugs-list mailing list
Benjamin Peterson [EMAIL PROTECTED] added the comment:
The patch no longer applies cleanly.
--
nosy: +benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1081824
___
Benjamin Peterson [EMAIL PROTECTED] added the comment:
The patch looks good to me.
Next time, please a a .patch or .diff extension to your patch, so it
isn't marked as binary data. Thanks!
--
keywords: +needs review
nosy: +benjamin.peterson
priority: - release blocker
New submission from Brodie Rao [EMAIL PROTECTED]:
+
File stdin, line 1
+
^
SyntaxError: invalid syntax
import sys
import traceback
traceback.print_exception(sys.last_type, sys.last_value, None)
File stdin, line 1
+
^
SyntaxError: invalid syntax
sys.last_value
70 matches
Mail list logo