Message75697
| Author |
mark.dickinson |
| Recipients |
gregory.p.smith, mark.dickinson, vstinner |
| Date |
2008年11月10日.13:48:47 |
| SpamBayes Score |
1.1026788e-08 |
| Marked as misclassified |
No |
| Message-id |
<1226324928.35.0.481351475791.issue4294@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Another thought: macros that are going to be used elsewhere in Python
(like the way you're using PyLong_SIGN in mathmodule.c) would probably
be better off in longobject.h. The fewer places there are that have to
include longintrepr.h, the easier it is to mess with the internal
representation.
It's quite tempting to 'fix' _PyLong_AsScaledDouble to return e as the
number of bits, rather than the number of digits; then mathmodule.c
wouldn't have to include longintrepr.h at all.
(And if marshal.c were also changed, to read and write integers as byte
strings, we wouldn't need longintrepr.h anywhere any more!) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年11月10日 13:48:48 | mark.dickinson | set | recipients:
+ mark.dickinson, gregory.p.smith, vstinner |
| 2008年11月10日 13:48:48 | mark.dickinson | set | messageid: <1226324928.35.0.481351475791.issue4294@psf.upfronthosting.co.za> |
| 2008年11月10日 13:48:47 | mark.dickinson | link | issue4294 messages |
| 2008年11月10日 13:48:47 | mark.dickinson | create |
|