Christian Heimes added the comment:
Applied in r59254.
I've moved the code to floatobject.c/h and added PyFloat_GetMax() and
PyFloat_GetMin(), too. The intobject.c file has a similar function.
--
resolution: - fixed
status: open - closed
__
Tracker
jos added the comment:
included torriem's fix.
IMHO, there is no clear solution for this
because this is due to HTTP server's bug
and a bug is the one that you can't predict accurately...
Added file: http://bugs.python.org/file8841/httplib.py.diff
__
Tracker
jos added the comment:
Any chance to get this fix commmited in?
--
type: - behavior
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1706039
_
___
Changes by Raymond Hettinger:
--
assignee: - rhettinger
nosy: +rhettinger
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1533
__
___
Python-bugs-list mailing list
Christian Heimes added the comment:
Unbound methods are gone and so is the isinstance check in method_call().
--
resolution: - fixed
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1438
__
Christian Heimes added the comment:
Here is a fixer for the new name.
Added file: http://bugs.python.org/file8843/2to3_builtins.patch
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1535
__Index: tests/test_fixers.py
Christian Heimes added the comment:
I had to copy the __builtin__.rst prior to patch.
svn cp Doc/library/__builtin__.rst Doc/library/builtins.rst
svn patch -p0 builtins.diff
svn del --force Doc/library/__builtin__.rst
--
keywords: +patch, py3k
nosy: +tiran
priority: - high
Changes by Georg Brandl:
Removed file: http://bugs.python.org/file8842/builtins.diff
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1535
__
___
Python-bugs-list mailing list
Ronald Oussoren added the comment:
This issue is fixed in the trunk and python2.5 branch.
To work around this issue with the 2.5.1 source tree you have to set
MACOSX_DEPLOYMENT_TARGET when configuring python:
../configure insert-args-here MACOSX_DEPLOYMENT_TARGET=10.3
(the value 10.3 is
Mark Dickinson added the comment:
A (probably stupid) question: what's supposed to happen on platforms that
don't define things like DBL_MAX_10_EXP, which isn't part of ANSI C89? Or
are there no such platforms?
--
nosy: +marketdickinson
__
Tracker
Carl Karsten added the comment:
Another reason to fix: perception. installing to the root looks like a
hack. Installing to the proper place* looks professional.
As for it being hard to type, either add it to PATH or put a .bat file
in the path. I think vista even supports some sort of
Christian Heimes added the comment:
I've checked all major platforms before committing the patch. They all
have a float.h with the information available. Do you know of a platform
where this information isn't available? I could add a lot of #ifdef but
I don't feel like bloating the code unless
Mark Dickinson added the comment:
And it looks as though DBL_MAX_10_EXP *is* part of ANSI C anyway... I
shouldn't have assumed that just because it's not in Kernighan and Ritchie
(2nd edition) it doesn't exist... Apologies.
__
Tracker [EMAIL PROTECTED]
Mark Dickinson added the comment:
No, I don't know of any platforms that don't define these constants.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1534
__
___
Alexandre Vassalotti added the comment:
Please assign this to me.
I am planning to fix this, along a few other bugs, with my new revision
of the pickle protocol.
--
nosy: +alexandre.vassalotti
__
Tracker [EMAIL PROTECTED]
Alexandre Vassalotti added the comment:
Please assign this bug to me.
Note that neither cPickle or pickle is able to load the stream generated
by cPickle correctly:
g = group(None)
subitem(g)
g[0].parent is g
True
gp = cPickle.loads(cPickle.dumps(g))
gp[0].parent is gp
Alexandre Vassalotti added the comment:
Please mark this bug as Won't Fix.
As Tim said, the list-based interface of cPickle is unsupported and
pending removal. Please use the pickle.dumps and pickle.loads functions
if you want string interface to pickle.
--
nosy: +alexandre.vassalotti
Georg Brandl added the comment:
I added the Developer role to your roundup account, so you can now
assign bugs to yourself. :)
--
assignee: - alexandre.vassalotti
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1338
Alexandre Vassalotti added the comment:
Please assign this bug to me.
This certainly doesn't look easy to fix. I will look into it, but I can
promise that I can fix it.
--
nosy: +alexandre.vassalotti
type: - behavior
versions: +Python 2.6, Python 3.0
Alexandre Vassalotti added the comment:
Thank you, Georg!
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1338
__
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Alexandre Vassalotti:
--
assignee: - alexandre.vassalotti
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue892902
___
Python-bugs-list mailing list
Changes by Alexandre Vassalotti:
--
assignee: - alexandre.vassalotti
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1761028
_
___
Python-bugs-list mailing list
Christian Heimes added the comment:
Thanks for checking it out for me! Do you have a reliable online source
for the ANSI C89 standard? I'm usually using the GNU C Library docs but
the site doesn't list what's available in C89.
__
Tracker [EMAIL PROTECTED]
Changes by Georg Brandl:
--
resolution: - wont fix
status: open - closed
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue939395
___
Python-bugs-list mailing list
New submission from Alexandre Vassalotti:
The current documentation for the pickle module (and related modules) is
outdated and should be updated. For example, the section Pickling and
unpickling extension types [1] is not only confusing, but outright
wrong. For Python 2.6, the documentation of
Alexandre Vassalotti added the comment:
This should be fixed along issue1536.
--
assignee: - alexandre.vassalotti
dependencies: +pickle's documentation is severely outdated
nosy: +alexandre.vassalotti
Tracker [EMAIL PROTECTED]
Christian Heimes added the comment:
Are you sure that the SSL tests are still leaking memory? The tests
aren't leaking references on Windows nor on Linux.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1469
__
Alexandre Vassalotti added the comment:
This should be fixed along with issue1536.
I am assigning this to me, instead of Fred Drake. (Is that okay with
you, Fred?)
--
assignee: fdrake - alexandre.vassalotti
dependencies: +pickle's documentation is severely outdated
nosy:
Alexandre Vassalotti added the comment:
[I just realized that dependencies in the tracker should go the other
way around.]
--
dependencies: +Update pickle docs to describe format of persistent IDs, cPickle
not always same as pickle
__
Tracker [EMAIL
Changes by Alexandre Vassalotti:
--
dependencies: -pickle's documentation is severely outdated
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue655802
___
Chris AtLee added the comment:
timedelta.todays() could be useful in general I suppose. I think
timedelta.toweeks() could be omitted since it's simple division by an
easy to recognize constant...also the timedelta docs say that it stores
data in terms of microseconds, seconds, and days.
OTOH
Lars Gustäbel added the comment:
I fixed this in the trunk (r59260) and release25-maint branch (r59261).
Thanks for the report. If you cannot wait for the next release, I
recommend you use mode r| as a workaround.
BTW, 756 is absolutely no realistic example value for the position of
the second
Bill Janssen added the comment:
I'm seeing the leaks on my Leopard machine. I haven't had a chance to look
into it yet.
On Dec 1, 2007 11:20 AM, Christian Heimes [EMAIL PROTECTED] wrote:
Christian Heimes added the comment:
Are you sure that the SSL tests are still leaking memory? The
Alexandre Vassalotti added the comment:
Here a patch that adds support for any iterable (or sequence) of
integers to bytearray.extend().
--
assignee: - alexandre.vassalotti
keywords: +patch
nosy: +alexandre.vassalotti
resolution: accepted -
Added file:
Alexandre Vassalotti added the comment:
Made 2 minor enhancements to the patch:
+ Added the proper type-cast to PyMem_Realloc call.
+ Changed (len 1) to (len 1) + 1, just to be sure that the
buffer doesn't overflow if __length_hint__ return 0 or 1 erroneously.
Added file:
Alexandre Vassalotti added the comment:
There is a reference leak in my previous patches. So, I updated (again)
the patch. There is still another possible leak if the PyMem_Realloc
return NULL (i.e., the system is out of memory), but I don't think it
worth fixing.
Added file:
Mark Dickinson added the comment:
The site that persuaded me about DBL_MAX_10_EXP was
http://www.schweikhardt.net/identifiers.html
Googling 'C89 draft' also turns up some potentially useful stuff.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1534
George Notaras added the comment:
Thanks for the quick fix and the workaround.
You are right about position 756. I hadn't spent enough time studying
the ''ustar'' format.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1531
Guido van Rossum added the comment:
OK Georg, take 'er away!
--
assignee: gvanrossum - georg.brandl
resolution: - accepted
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1535
__
Guido van Rossum added the comment:
PS. A note on backporting this to 2.6: I think it's sufficient if
builtins exists in sys.modules as an alias of __builtin__ in 2.6.
Crys: go ahead and check in the fixer as well.
__
Tracker [EMAIL PROTECTED]
New submission from Chad Austin:
Per discussion at http://mail.python.org/pipermail/python-dev/2007-
December/075498.html, this patch changes GeneratorExit's base class
from Exception to BaseException.
I updated the tests and documentation, but I may have missed any other
discussion of
Nick Coghlan added the comment:
I forgot to update the special _run_module_as_main variant when I
modified run_module. I'll modify the patch to fix that and to test '-m'
explicitly in test_cmd_line_script.
__
Tracker [EMAIL PROTECTED]
New submission from Skip Montanaro:
The topic of avoiding string copies in certain string methods came up in
the
ChiPy list:
http://mail.python.org/pipermail/chicago/2007-December/002975.html.
The attached patch modifies the split and rsplit implementations to
avoid
making a copy of self
43 matches
Mail list logo