Robert Kern robert.k...@gmail.com added the comment:
Ah, I misread the Apple function-return probe code. Its extra argument
is the type name of the return object or error if an exception was
raised, not the returned object itself. Could be useful.
--
New submission from Jarek Sobieszek j.sobies...@neo.pl:
u'\u1d79'.lower() returns u'\x00'
I think it should return u'\u1d79', at least according to my
understanding of UnicodeData.txt (the lowercase field is empty).
--
components: Unicode
messages: 86400
nosy: jarek
severity: normal
Walter Dörwald wal...@livinglogic.de added the comment:
It *does* return u'\u1d79' for me on Python 2.5.2:
u'\u1d79'.lower()
u'\u1d79'
import sys
sys.version
'2.5.2 (r252:60911, Apr 8 2008, 18:54:00) \n[GCC 3.3.5 (Debian
1:3.3.5-13)]'
However on 2.6.2 it's broken:
u'\u1d79'.lower()
New submission from Mark Dickinson dicki...@gmail.com:
In (for example) Python 2.6:
float('1e500')
inf
complex('1e500')
Traceback (most recent call last):
File stdin, line 1, in module
ValueError: float() out of range: 1e500
I'd say that one of these is a bug, but I'm not sure which one.
Changes by Mark Dickinson dicki...@gmail.com:
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5829
___
___
Python-bugs-list
Mark Dickinson dicki...@gmail.com added the comment:
Note: complex('1e-500') also produces ValueError in 2.6. That's
definitely a bug.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5829
Mark Dickinson dicki...@gmail.com added the comment:
Backported to trunk in r71824.
Leaving open, as I now need forward port some bits of r71824 which
weren't in the r71818 checkin.
Note that with this change, some strings which were previously accepted
by the complex constructor are no
Walter Dörwald wal...@livinglogic.de added the comment:
The following patch fixes the problem for me, however it breaks the test
suite. The change seems to have been introduced in r66362.
Assigning to Martin.
--
assignee: - loewis
nosy: +loewis
stage: - patch review
Added file:
Mark Dickinson dicki...@gmail.com added the comment:
Extra bits forward ported in r71829. Python 3.1 and 2.7 now both accept
the same strings for the complex constructor.
--
resolution: - fixed
status: open - closed
___
Python tracker
New submission from Kay F. Jahnke k_...@web.de:
scheduler uses heapq to schedule it's events. Heapq uses plain /
comparisons on the events. Now that comparisons of incomparable data
are no longer valid, the comparison fails if two events are scheduled
for the same time with the same priority,
Mark Dickinson dicki...@gmail.com added the comment:
Applied in r71832 (trunk), r71834 (py3k).
One nice aspect of this change is that Fraction(a, b) is now
a safe alternative to a/b in places where a and b might be
either Fractions or integers.
--
resolution: - accepted
stage: patch
Walter Dörwald wal...@livinglogic.de added the comment:
Updated the patch (diff2.txt) as requested by Amaury.
--
Added file: http://bugs.python.org/file13759/diff2.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5828
New submission from Maxence maxe...@dunnewind.net:
In the documentation, the Timer() function of the threading class is
described as a class. however, it's a function :
import threading
threading.Timer
function Timer at 0x967495c
Cheers
Maxence
--
assignee: georg.brandl
components:
Mark Dickinson dicki...@gmail.com added the comment:
Rejecting this due to:
- no activity for almost 4 years
- lack of positive responses
Also, I'm -1 on this change: for me, a x n that silently becomes
x -n when n is negative would cause more harm than good. In most
of my uses, left
R. David Murray rdmur...@bitdance.com added the comment:
The Timer function is a simple wrapper for creating an instance of the
_Timer class.
The Timer class was proposed in Issue428326 by Itamar and applied
by Martin in r22972. In the original patch the class was exposed as
Timer. Martin's
Changes by Collin Winter coll...@gmail.com:
--
nosy: +collinwinter
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5794
___
___
Python-bugs-list
Mark Dickinson dicki...@gmail.com added the comment:
Test fixed for 2.7, 3.1 in r71837, r71839
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5593
Terry J. Reedy tjre...@udel.edu added the comment:
Instead, I think such problems must be detected during beta testing.
The fact that it hasn't been detected so far, even though it existed
since 2.6.0, indicates that the problem can't be that serious.
I believe I tried F1 Help once, got the
Collin Winter coll...@gmail.com added the comment:
Interestingly, it only fails with protocol 0:
v = ([],)
v[0].append(v)
import pickle,cPickle
cPickle.loads(pickle.dumps(v, 0))
Traceback (most recent call last):
File stdin, line 1, in module
cPickle.UnpicklingError: unpickling stack
Guilherme Polo ggp...@gmail.com added the comment:
I had temporary access to a mac to verify this, and it is really sad to
see things like that.
Anyway, I found out that by calling self.entry.update_idletasks in
_QueryDialog.body right after calling self.entry.insert(0,
self.initialvalue)
New submission from Stephen Gilbert linux...@gmail.com:
I just ran into this using os.path.walk. I noticed it wouldn't find
files inside a particular directory. In debugging, I found that the
name of the directory was 'BBDO Atlanta ' os.path.walk would find the
directory, but wouldn't enter
Thomas Heller thel...@ctypes.org added the comment:
Fixed in trunk svn rev. 71842, I will merge this into the py3k branch soon.
--
resolution: - fixed
status: open - closed
versions: +Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
Mark Dickinson dicki...@gmail.com added the comment:
This looks like an interaction with test_distutils. On OS X 10.5.6 I get:
Macintosh-4:py3k dickinsm$ ./python.exe Lib/test/regrtest.py test_distutils
test_httpservers
test_distutils
test_httpservers
Traceback (most recent call last):
File
Thomas Heller thel...@ctypes.org added the comment:
Unassigning; myself I will not rewrite the ctypes docs.
--
assignee: theller -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2774
___
Mark Dickinson dicki...@gmail.com added the comment:
Here's the verbose test output:
Macintosh-4:py3k dickinsm$ ./python.exe Lib/test/regrtest.py -v test_distutils
test_httpservers
test_distutils
test_formats (distutils.tests.test_bdist.BuildTestCase) ... ok
test_simple_built
Changes by Georg Brandl ge...@python.org:
--
assignee: georg.brandl - michael.foord
nosy: +michael.foord
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5826
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Terry, I believe your issue (online docs not found in 3.0) is different
from this issue, so please open a new issue.
I'm leaving this open until the patches have been forward-ported.
--
___
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Fixed r71844 and 71845.
--
assignee: - rhettinger
nosy: +rhettinger
resolution: - fixed
status: open - closed
versions: +Python 3.1
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
Py3.0.1
'\u1d79'.lower()
'\x00'
I am guessing that this bug is in 2.7 and 3.1 as well.
--
nosy: +tjreedy
versions: +Python 2.7, Python 3.0, Python 3.1
___
Python tracker rep...@bugs.python.org
Mark Dickinson dicki...@gmail.com added the comment:
On my machine, the failure seems to come down to this:
Macintosh-4:py3k dickinsm$ MACOSX_DEPLOYMENT_TARGET=10.4 ./python.exe
Python 3.1a2+ (py3k:71845M, Apr 24 2009, 19:51:44)
[GCC 4.0.1 (Apple Inc. build 5490)] on darwin
Type help,
Michael Foord mich...@voidspace.org.uk added the comment:
Oops... sorry about that, will fix.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5826
___
Thomas Heller thel...@ctypes.org added the comment:
Thanks, amaury, for the patch.
Fixed in trunk, release26-maint, release30-maint, py3k branch.
SVN revisions 71847, 71848, 71849, 71851.
--
keywords: -needs review
resolution: - fixed
status: open - closed
versions: +Python 2.7,
Terry J. Reedy tjre...@udel.edu added the comment:
My point, relative to this issue, was to explain why I had not commented
before, but also to report that forward porting is needed, and not just
a convenience. I just reported the breakage to webmas...@python.org.
--
Thomas Heller thel...@ctypes.org added the comment:
Fixed in trunk (svn rev 71853).
I'll leave this open until it is ported to py3k.
--
resolution: - accepted
versions: +Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
Thomas Heller thel...@ctypes.org added the comment:
BTW: The 'My_Unicode...' symbols are gone, too.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3102
___
New submission from J. Evans jreva...@earthlink.net:
Attached is a patch file that will update the readline functionality of
python in the following ways:
-- makes the tab-expand module be compatible with readline v6.x (fixes
the annoying extra-space bug)
-- removes '~$-/' from the completer
Thomas Heller thel...@ctypes.org added the comment:
svn rev 71845, in py3k branch.
--
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3102
Benjamin Peterson benja...@python.org added the comment:
os.path.walk is deprecated. You should use os.walk.
--
nosy: +benjamin.peterson
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
Mark Dickinson dicki...@gmail.com added the comment:
Okay, I think I've got this figured out. It's a problem in the distutils
tests: the mechanism for saving and restoring environment variables in
Lib/distutils/tests/test_util.py
doesn't work: after the line
self.environ =
Peter Otten __pete...@web.de added the comment:
Is BBDO Atlanta a symbolic link?. These are skipped by
os.path.walk(). (The behaviour of os.walk() can be specified with the
followsymlinks argument.)
--
nosy: +potten
___
Python tracker
Benjamin Peterson benja...@python.org added the comment:
Fixed in r71855
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3521
___
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Closing since no one seems interested.
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2531
Jeremy Dunck jdu...@gmail.com added the comment:
I'm interested. I just had already said my peace and didn't know my
prior interest wasn't being counted. The patch uploaded by dmmartins
seemed good to me. I'm probably biased, since this bug affected me.
--
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Daniel, you're basically on the money. No exception is getting masked.
The rich comparison operations for sets are defined as subset/superset
operations. So, those operations are not useful for total orderings
used by
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
title: vars() no longer has a use __repr__ - vars() no longer has a useful
__repr__
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5587
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
assignee: georg.brandl - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5479
___
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
When the datatype is the same, memcpy() should be used.
--
nosy: +rhettinger
priority: - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5109
Benjamin Peterson benja...@python.org added the comment:
Fixed in r71860.
--
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5283
___
Kurt B. Kaiser k...@shore.net added the comment:
The issue that Terry Reedy raised is due to 68801 being forward
ported to py3k but not backported to 2.6-maint or 3.0-maint.
Access in 2.6.2 happens to work because there's a redirect on
the website which points to the correct doc release. But
New submission from Kurt McKee contac...@kurtmckee.org:
In the unittest documentation a distinction is made between the word
error and failure. However, the description for the
TestCase.assertTrue() function reads:
Signal a test failure if expr is false; the explanation for the error...
The
Martin v. Löwis mar...@v.loewis.de added the comment:
I used 'pending' in the Debian sense of: I'm working it,
expect an upload soon. Unless I'm mistaken, there's no bot
closing 'pending' like there was on SF.
Actually, the Pending status is exactly the one as there was
on SF. The bot
51 matches
Mail list logo