Matteo Bertini [EMAIL PROTECTED] added the comment:
I confirm this issue, some handy workaround available?
--
nosy: +naufraghi
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3588
___
Mark Dickinson [EMAIL PROTECTED] added the comment:
Here's an updated patch, with the following changes from the original:
- make the size of a digit (both the conceptual size
in bits and actual size in bytes) available to Python
via a new structseq sys.int_info. This information
is useful for
Mark Dickinson [EMAIL PROTECTED] added the comment:
I've opened a separate issue (issue 4258) for the idea of using 30-bit
long digits instead of 15-bit ones. I'll remove the patch from this
issue.
Pernici Mario's idea applies even better to base 2**30 longs: one can
clump together 16 (!) of
Changes by Mark Dickinson [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11724/30bit.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3944
___
Mark Dickinson [EMAIL PROTECTED] added the comment:
Note that to avoid bad marshal data errors, you'll probably need to do a
'make distclean' before rebuilding with this patch.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4258
STINNER Victor [EMAIL PROTECTED] added the comment:
Updated patch, changes:
- fix mashal module
- fix all conversion from/to small integer (long, unsigned long, long
long, unsigned long long, size_t, ssize_t)
- create numbits() method for the long type (see also issue #3439)
- catch memory
STINNER Victor [EMAIL PROTECTED] added the comment:
Since it's hard to compare patches, I will now attach the
longobject.c. But it would be better to use a DVCS with a branch to
test it...
Added file: http://bugs.python.org/file11938/longobject.c
___
STINNER Victor [EMAIL PROTECTED] added the comment:
It would be nicer if the OverflowError from _PyLong_NumBits
were propagated, so that the second case raises OverflowError
instead of giving an incorrect result
Why not, but I prefer your second proposition: return a long integer.
Attached
Changes by STINNER Victor [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11913/nntp-bytes.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3714
___
Changes by STINNER Victor [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11813/poplib-bytes-2.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3727
___
STINNER Victor [EMAIL PROTECTED] added the comment:
Le Tuesday 04 November 2008 01:03:42 Barry A. Warsaw, vous avez écrit :
Benjamin's reviewed this and the only thing that jumps out at me is some
funky indentation at about line 331
It's not related to my patch (I did'nt change POP3_SSL
Changes by STINNER Victor [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11796/imaplib_bytes-3.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1210
___
STINNER Victor [EMAIL PROTECTED] added the comment:
Le Tuesday 04 November 2008 01:08:25 Barry A. Warsaw, vous avez écrit :
Please fix the test as Benjamin suggests (network)
Done: see new attached patch.
Added file: http://bugs.python.org/file11941/nntp-bytes-2.patch
Changes by Jean-Paul Calderone [EMAIL PROTECTED]:
--
nosy: -exarkun
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1210
___
___
Python-bugs-list
Changes by Raghuram Devarakonda [EMAIL PROTECTED]:
--
nosy: -draghuram
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1210
___
___
Python-bugs-list
Georg Brandl [EMAIL PROTECTED] added the comment:
Moved to http://www.bitbucket.org/birkenfeld/sphinx/issue/31.
--
resolution: - duplicate
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4189
Georg Brandl [EMAIL PROTECTED] added the comment:
Moved to http://www.bitbucket.org/birkenfeld/sphinx/issue/32.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4203
___
Georg Brandl [EMAIL PROTECTED] added the comment:
Moved to http://www.bitbucket.org/birkenfeld/sphinx/issue/33.
--
resolution: - duplicate
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2608
Changes by Georg Brandl [EMAIL PROTECTED]:
--
resolution: - duplicate
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4203
___
___
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Thanks for the patch. Committed as r67098, r67099, and r67100.
--
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4204
___
Georg Brandl [EMAIL PROTECTED] added the comment:
Thanks, fixed in r67101.
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4167
___
Georg Brandl [EMAIL PROTECTED] added the comment:
This is already tracked in
http://www.bitbucket.org/birkenfeld/sphinx/issue/26/sphinxsty-incompatible-with-texlive-sphinx.
--
resolution: - duplicate
status: open - closed
___
Python tracker [EMAIL
Georg Brandl [EMAIL PROTECTED] added the comment:
Now tracked in
http://www.bitbucket.org/birkenfeld/sphinx/issue/6/fix-html-generation-for-tocs.
--
resolution: - duplicate
status: open - closed
___
Python tracker [EMAIL PROTECTED]
New submission from Mark Dickinson [EMAIL PROTECTED]:
Here's an experimental patch, against the py3k branch, that makes Python
represent its long integers internally in base 2**30 instead of base
2**15, on platforms that have 32-bit and 64-bit integers available.
On platforms for which
New submission from A.M. Kuchling [EMAIL PROTECTED]:
The URL for module documentation generated by pydoc is no longer valid.
The attached patch corrects it for Python 2.5.3 by assembling the URL
using the Python version.
This patch shouldn't be forward-ported to 2.6 or 2.7; Sphinx changes the
Changes by STINNER Victor [EMAIL PROTECTED]:
--
nosy: +haypo
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3166
___
___
Python-bugs-list mailing list
STINNER Victor [EMAIL PROTECTED] added the comment:
You may use if (nbits == (size_t)-1 PyErr_Occurred()) to check
_PyLong_NumBits() error (overflow). Well, if (numbits DBL_MAX_EXP)
should already catch overflow, but I prefer explicit test to check the
error case.
Anyway, interresting
Matteo Bertini [EMAIL PROTECTED] added the comment:
The solution I found is:
LINKFORSHARED = -u _PyMac_Error -framework Python
as in the Apple included Python Makefile
and
LDFLAGS += -F$(PYTHONFRAMEWORKPREFIX)
that makes linker use the right framework (not sure, but works with
MacPython
STINNER Victor [EMAIL PROTECTED] added the comment:
Note that to avoid bad marshal data errors,
you'll probably need to do a 'make distclean'
before rebuilding with this patch.
I saw that you choosed to use the base 2^30 for marshal. For a better
portability (be able to use .pyc generated
Changes by STINNER Victor [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file11935/30bit_longdigit.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4258
___
Changes by Andrew McNamara [EMAIL PROTECTED]:
--
versions: +Python 2.5.3, Python 2.6
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue416670
___
___
Gregory P. Smith [EMAIL PROTECTED] added the comment:
oh yay, thanks. it looks like you did approximately what i had started
working on testing a while back but have gone much further and added
autoconf magic to try and determine when which size should be used. good.
(i haven't reviewed your
Changes by Christian Heimes [EMAIL PROTECTED]:
--
nosy: +christian.heimes
priority: normal -
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4258
___
Christian Heimes [EMAIL PROTECTED] added the comment:
Here is a new patch with doc and NEWS updates.
Added file: http://bugs.python.org/file11944/fileio_closefd4.patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue4233
New submission from David W. Lambert [EMAIL PROTECTED]:
http://docs.python.org/dev/3.0/library/ctypes.html#callback-functions
ctypes.xFUNCTYPE are another opportunity to advertise decorators.
Please consider inserting yet another qsort example written as a
decorator, perhaps as follows.
35 matches
Mail list logo