Kevin Goodsell [EMAIL PROTECTED] added the comment:
Here's a small test script.
Added file: http://bugs.python.org/file10813/test.py
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1754483
___
Mark Dickinson [EMAIL PROTECTED] added the comment:
In the interests of getting early feedback, here's half a patch,
containing an implementation of from.fromhex and tests.
Still to come: float.hex and documentation.
I'll ask on python-dev about C99 and %a.
Added file:
Mark Dickinson [EMAIL PROTECTED] added the comment:
containing an implementation of from.fromhex and tests.
That should be 'float.fromhex', not 'from.fromhex'.
I should also have said that this patch is against the trunk; only minor
changes should be required for py3k.
Changes by Georg Brandl [EMAIL PROTECTED]:
--
assignee: - georg.brandl
nosy: +georg.brandl
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1754483
___
Georg Brandl [EMAIL PROTECTED] added the comment:
Committed in r64722. Thanks everyone!
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2663
___
New submission from Mark Dickinson [EMAIL PROTECTED]:
The float.as_integer_ratio method needs to be documented somewhere other
than whatsnew/2.6.rst.
--
assignee: georg.brandl
components: Documentation
messages: 69277
nosy: georg.brandl, marketdickinson
severity: normal
status: open
Mark Dickinson [EMAIL PROTECTED] added the comment:
Here's an updated patch, complete with both float methods and
documentation.
Added file: http://bugs.python.org/file10815/hex_float2.patch
___
Python tracker [EMAIL PROTECTED]
Hans Ulrich Niedermann [EMAIL PROTECTED] added the comment:
Even with that patch, I'm still getting backtraces similar to this:
Traceback (most recent call last):
File /home/user/foo/src/foo, line 83, in module
foomain(sys.argv)
File /home/uli/foo/src/foo, line 79, in foomain
Mark Dickinson [EMAIL PROTECTED] added the comment:
Add updated patch with expanded documentation.
Added file: http://bugs.python.org/file10816/hex_float2.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3008
Changes by Mark Dickinson [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file10815/hex_float2.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3008
___
Mark Dickinson [EMAIL PROTECTED] added the comment:
Checked in, r64729.
--
resolution: - accepted
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3188
___
Mark Dickinson [EMAIL PROTECTED] added the comment:
Thanks, Jean. I've checked in your workaround in r64735.
Leaving this open for now as a reminder about finite/is_finite.
--
resolution: - fixed
___
Python tracker [EMAIL PROTECTED]
Antoine Pitrou [EMAIL PROTECTED] added the comment:
If I try to follow the chain the consequences:
- all PyArg_ParseTuple(s#) calls that release the GIL afterwards
should be re-written to use another API (which one I don't know exactly,
but hopefully the appropriate functions are already
Antoine Pitrou [EMAIL PROTECTED] added the comment:
By the way, here's a more reliable way to make it crash (on my Linux
machine):
import bz2, threading
bz2c = bz2.BZ2Compressor()
# Span at least a whole arena (256KB long)
junk_len = 512 * 1024
junk = ba * junk_len
buf = bytearray()
for x in
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Now I've just discovered there is the same problem with the
array.array() type (see following code).
import bz2, threading, array
bz2c = bz2.BZ2Compressor()
# Span at least a whole arena (256KB long)
junk_len = 512 * 1024
junk =
New submission from Sacha Varma [EMAIL PROTECTED]:
As I understand it, python-config --cflags is intended to yield the C
compiler flags needed to compile a program that uses Python headers and
libraries (as opposed to the C flags needed to compile python itself).
However, it seems to include
Facundo Batista [EMAIL PROTECTED] added the comment:
Commited in r64745. Thanks for this patch!
--
nosy: +facundobatista
resolution: - accepted
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3289
Mark Dickinson [EMAIL PROTECTED] added the comment:
There is another, perhaps related issue on Solaris. The compiler warns
that function finite is implicitly defined.
Commenting out this line in pyconfig.h as
/* #define HAVE_FINITE 1 */
make that warning go away. If there is no
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Georg, what do you think?
--
assignee: - georg.brandl
nosy: +georg.brandl, loewis
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3290
___
New submission from Antoine Pitrou [EMAIL PROTECTED]:
In the latest py3k versions, rlcompleter doesn't work anymore. Pressing
the tab key (with tab-completion enabled) doesn't produce anything on
screen.
--
components: Library (Lib)
messages: 69293
nosy: pitrou
severity: normal
status:
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Antoine, can you try it before r64671?
--
nosy: +benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3291
___
Facundo Batista [EMAIL PROTECTED] added the comment:
Commited in r64746. Thank you!!
--
resolution: - accepted
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3239
___
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Le samedi 05 juillet 2008 à 20:32 +, Benjamin Peterson a écrit :
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Antoine, can you try it before r64671?
Bingo, the regression occurs exactly at r64671.
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Here is a fix (in addition to the one you already committed).
--
keywords: +patch
Added file: http://bugs.python.org/file10820/rlcompleter.patch
___
Python tracker [EMAIL PROTECTED]
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Thanks for the report and the fix! (committed in r64748)
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3291
Antoine Pitrou [EMAIL PROTECTED] added the comment:
http://codereview.appspot.com/2439
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2834
___
___
New submission from Terry J. Reedy [EMAIL PROTECTED]:
Suggested changes to Lib Ref Manual: Sequence Types --...(3.6 for 2.5)
(These are mostly based on an issue posted on c.l.p. The Plone
Archetypes package (which I know nothing of) was reported as suggesting
that users pass sys.maxint, to
New submission from Antoine Pitrou [EMAIL PROTECTED]:
The declaration for PyObject_ReleaseBuffer (in Include/abstract.h) has
the following comments attached to it. But the part about the return
value is wrong since the function is defined as returning void. Also,
PEP 3118 says it always succeeds
Martin v. Löwis [EMAIL PROTECTED] added the comment:
I believe the 2.6 s# processing works correctly; the error is in the
bytearray object. This either shouldn't support the buffer interface, or
it shouldn't reallocate the buffer after having returned a pointer to it.
For 3k, convertbuffer
New submission from Antoine Pitrou [EMAIL PROTECTED]:
In the py3k SVN branch I can see the following link. I suppose it is a
mistake?
$ ls -la Mac/IDLE/IDLE.app/Contents/MacOS/Python
lrwxrwxrwx 1 antoine antoine 92 2008-07-01 22:33
Mac/IDLE/IDLE.app/Contents/MacOS/Python -
Antoine Pitrou [EMAIL PROTECTED] added the comment:
For reference, here is a proof-of-concept patch which shows how to fix
the bytearray crasher above (it raises a BufferError instead).
Added file: http://bugs.python.org/file10822/bzcrash.py
___
Python
Changes by Antoine Pitrou [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file10822/bzcrash.py
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3139
___
Changes by Antoine Pitrou [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file10823/bzcrash.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3139
___
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Fixed in r64749.
--
assignee: - benjamin.peterson
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3294
New submission from Florian Mayer [EMAIL PROTECTED]:
It is for sure only a minor issue, but the new tutorial should not
confuse readers as the print function is not executed here and does not
do anything at all. Patch is attached.
--
assignee: georg.brandl
components: Documentation
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Done in r64751.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3295
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Thanks! Fixed in r64752.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3296
Gregory P. Smith [EMAIL PROTECTED] added the comment:
committed to 2.6 trunk in r64753.
--
resolution: - accepted
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2862
___
Gregory P. Smith [EMAIL PROTECTED] added the comment:
committed to release25-maint in r64754.
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2632
___
Changes by Gregory P. Smith [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file10027/issue2620-gps01-patch.txt
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2620
___
40 matches
Mail list logo