Gregory P. Smith [EMAIL PROTECTED] added the comment:
I submitted a patch from Neal Norwitz after jcea reviewed it to trunk as
r63403.
I'll take care of backporting it to release25-maint.
--
assignee: jcea - gregory.p.smith
versions: -Python 2.6
__
Gregory P. Smith [EMAIL PROTECTED] added the comment:
r63404 in release25-maint.
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2858
__
Gregory P. Smith [EMAIL PROTECTED] added the comment:
This is fixed in trunk now that jcea has done his merge.
If anyone wants it fixed in release25-maint it'll need a volunteer to
backport just the bugfix parts without the bsddb 4.6.x feature additions.
--
assignee: gregory.p.smith -
Gregory P. Smith [EMAIL PROTECTED] added the comment:
does this still apply to the current test suite Jesus?
--
assignee: gregory.p.smith - jcea
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1397
__
Gregory P. Smith [EMAIL PROTECTED] added the comment:
I believe this was finally cleaned up. There are still changes to be
made to the current test suite (blindly using a directory under /tmp and
not cleaning it up afterwards is bad) but the actual bug this refers to
was fixed.
--
Gregory P. Smith [EMAIL PROTECTED] added the comment:
This bug was created to track my FIXME in the code. Nobody else has
commented on it. I doubt its an issue worth fixing. It is a valid
FIXME but I'm marking it as low priority and leaving it unassigned just
to track the issue incase someone
Gregory P. Smith [EMAIL PROTECTED] added the comment:
Jesus is the bsddb maintainer now.
--
assignee: gregory.p.smith - jcea
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1391
__
Gregory P. Smith [EMAIL PROTECTED] added the comment:
I think the workaround proposed in my email in this bug is sufficient.
Blindly letting associate work on python wrapped overridden objects such
that the underlying library doesn't call into the wrapper could confuse
people.
--
Gregory P. Smith [EMAIL PROTECTED] added the comment:
the redundant asserts were removed. reclosing.
further discussion on signedness issues in the code base should take
place on the mailing list, future bugs or peps as appropriate.
--
status: open - closed
Gregory P. Smith [EMAIL PROTECTED] added the comment:
I'm going to let the committed change bake in Python trunk for a beta
release or two before backporting it to release25-maint.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2632
Gregory P. Smith [EMAIL PROTECTED] added the comment:
fixed in trunk r63405
--
priority: - normal
resolution: - accepted
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2381
__
Georg Brandl [EMAIL PROTECTED] added the comment:
It would be a good thing to paste the exact error message from the compiler.
--
nosy: +georg.brandl
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2896
__
Hirokazu Yamamoto [EMAIL PROTECTED] added the comment:
Hello. This issue seems to be fixed by r63385.
(alexandre.vassalotti's merge)
--
nosy: +ocean-city
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2896
__
Georg Brandl [EMAIL PROTECTED] added the comment:
Ah, it wasn't merged yet. So this can be closed.
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2896
__
New submission from Robert Schuppenies [EMAIL PROTECTED]:
I propose a patch which allows to query the memory footprint of an
object. Calling 'footprint(o)', a python developer can retrieve the
size of any python object. Only the size of the object itself will be
returned, the size of any
Georg Brandl [EMAIL PROTECTED] added the comment:
Can't you write this as a simple Python function using
type.__basicsize__ and type.__itemsize__?
In any case, if this is added somewhere it should not be a builtin. This
operation is nowhere near the usefulness to be one.
--
nosy:
Robert Schuppenies [EMAIL PROTECTED] added the comment:
Can't you write this as a simple Python function using
type.__basicsize__ and type.__itemsize__?
Yes, it would be possible and has been done, e.g.
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/546530. The
problem is though,
Georg Brandl [EMAIL PROTECTED] added the comment:
Such implementation-specific things usually went into the sys module.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2898
__
New submission from Haoyu Bai [EMAIL PROTECTED]:
Functions like find() rfind() index() rindex() has been removed in
Python 3.0. So there should be a 2to3 fix for it.
Eg. fix
if string.find(s, hello) = 0:
to
if str.find(s, hello) = 0:
Thank you!
--
assignee: collinwinter
Martin v. Löwis [EMAIL PROTECTED] added the comment:
It's actually not possible, in general, to compute the memory
consumption of an object using basicsize and itemsize. An example is the
dictionary, where there is no way to find out how many slots are
currently allocated.
Even for the things
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Proposals like this have been rejected in the past. Memory consumption
is an evasive concept. Lists over-allocate space, there are freelists,
there are immortal objects, the python memory allocator may hang-on to
space thought to be
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Proposals like this have been rejected in the past. Memory consumption
is an evasive concept. Lists over-allocate space
That issue is addressed in this patch.
there are freelists,
but they allocate just an upper bound.
there are
New submission from Christian Heimes [EMAIL PROTECTED]:
What's your opinion on the edge case
math.copysign(1, float('nan'))
1.0
Is 1.0 the correct answer? IMHO Nan would be better ...
--
assignee: marketdickinson
components: Extension Modules
messages: 66997
nosy: christian.heimes,
Mark Dickinson [EMAIL PROTECTED] added the comment:
This is fine. copysign isn't supposed to propagate NaNs---it's just
supposed to silently transfer the sign bit from the second argument to the
first. So I think this is correct behaviour.
Incidentally, on OS X:
from math import copysign
Georg Brandl [EMAIL PROTECTED] added the comment:
Committed modmerge patch in r63408.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2839
__
___
Python-bugs-list mailing list
Matthias Kievernagel [EMAIL PROTECTED] added the comment:
Hi Guilherme,
funny, I wasn't aware of this duplicate of this issue
until I got the message of your comment :)
The other duplicate is:
http://bugs.python.org/issue1643641
which was closed by Georg Brandl upon my request.
The oldest
Guilherme Polo [EMAIL PROTECTED] added the comment:
Closed as this is yet another duplicate.
--
resolution: - duplicate
status: open - closed
superseder: - Text.edit_modified() fails
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1362475
Martin McNickle [EMAIL PROTECTED] added the comment:
I verified the behaviour but this is a problem with that particular
site, not with urllib/urllib2.
Should be closed.
--
nosy: +BitTorment
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2868
Guilherme Polo [EMAIL PROTECTED] added the comment:
From issue 1362475:
This bug still exists, I'm attaching a patch against current python-trunk.
This patch is based on the fact that documentation tk 8.4 (version which
edit command was added) and tk 8.5 says only edit_modified is supposed
to
Matthias Kievernagel [EMAIL PROTECTED] added the comment:
Hi,
found a related (duplicate ?) issue
which mentions a platform and has code
producing the error:
http://bugs.python.org/issue775544
Can someone based on WinXP try the code?
Attaching it here for easier reference.
Works without
Mark Dickinson [EMAIL PROTECTED] added the comment:
Okay, just to show it's possible:
Here (msum4.py) is a modified version of Raymond's recipe that deals
correctly with:
(1) intermediate overflows
(2) special values (infs and nans) in the input, and
(3) always gives correctly rounded
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
resolution: - invalid
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2868
__
___
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
title: Fixes find, rfind, etc in 'string' module - Fixers find, rfind, etc in
'string' module
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2899
__
Georg Brandl [EMAIL PROTECTED] added the comment:
OK, committed patch as r63412.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue961805
Georg Brandl [EMAIL PROTECTED] added the comment:
The warning message for oct() should include that the output will be
different too. Else this is fine with me.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2337
__
Georg Brandl [EMAIL PROTECTED] added the comment:
Lists will need a custom tp_footprint then, too. Or, if we call it
sizeof, the slot should be tp_sizeof. BTW, is a new slot necessary, or
can it just be a type method called __sizeof__?
__
Tracker [EMAIL
Guilherme Polo [EMAIL PROTECTED] added the comment:
Patch added for handling the merging of tkSimpleDialog into
tkinter.simpledialog and tkFileDialog into tkinter.filedialog, specific
for py3k.
Added file: http://bugs.python.org/file10358/tkinter_modmerge_py3k.diff
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Lists will need a custom tp_footprint then, too.
True.
BTW, is a new slot necessary, or
can it just be a type method called __sizeof__?
It wouldn't be a type method, but a regular method on the specific type,
right?
I think that would
Georg Brandl [EMAIL PROTECTED] added the comment:
Handled Py3k branch in revs 63417 to 63423. Closing this issue.
--
resolution: - accepted
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2839
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Done in r63425.
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2337
__
Benjamin Peterson [EMAIL PROTECTED] added the comment:
I'm attaching a new patch with changes made from the Georg's comments.
Added file: http://bugs.python.org/file10359/bool_assign6.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2349
Benjamin Peterson [EMAIL PROTECTED] added the comment:
I have reverted this. See
mail.python.org/pipermail/python-checkins/2008-May/069843.html.
--
resolution: fixed -
status: closed - pending
__
Tracker [EMAIL PROTECTED]
Changes by Eric Smith [EMAIL PROTECTED]:
--
nosy: +eric.smith
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2337
__
___
Python-bugs-list mailing list
Unsubscribe:
Raymond Hettinger [EMAIL PROTECTED] added the comment:
Guido, recently you've been opposed to adding more slots. Any opinions
on this one? Also, is this something you want an additional builtin
for?
--
assignee: - gvanrossum
nosy: +gvanrossum
__
Georg Brandl [EMAIL PROTECTED] added the comment:
Committed slightly reviewed patch and test in r63340.
--
nosy: +georg.brandl
resolution: - accepted
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2353
Håkan Waara [EMAIL PROTECTED] added the comment:
test_server.py and test_client.py zipped attached.
Added file: http://bugs.python.org/file10360/testcase.zip
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2901
__
New submission from Håkan Waara [EMAIL PROTECTED]:
I'm using the standard lib SimpleXMLRPCServer to receive a file from a
client. The file is sent using an instance of the xmlrpclib.Binary class.
Whenever the file is bigger than a few MB, the server reports spews out
an internal error to
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
type: - crash
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2901
__
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Benjamin Peterson [EMAIL PROTECTED]:
A few days ago I removed the MacOS module. I didn't realize that it was
used in Tkinter until today. It seems the module is only used in one spot:
if _MacOS and hasattr(_MacOS, 'SchedParams'):
# Disable event scanning
Jean Brouwers [EMAIL PROTECTED] added the comment:
I intend to submit a C version of msum4 shortly.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2819
__
___
Python-bugs-list
New submission from Guillaume Knispel [EMAIL PROTECTED]:
Some 3rd party tracers rely on frame.f_globals[__name__] to be set to
the module name that contains the code currently executed.
frame.f_globals[__name__] is not defined when some code has been
generated with exec, which is the way
New submission from Leandro Lucarella [EMAIL PROTECTED]:
When using cross-references to a method using an alternate title, like
:meth:`some title some_method` and configuration option
add_function_parentheses is True, the link is not generated (if this
option is False, it works fine.
--
52 matches
Mail list logo