Message142265
| Author |
lemburg |
| Recipients |
Rhamphoryncus, amaury.forgeotdarc, belopolsky, doerwalter, eric.smith, ezio.melotti, georg.brandl, lemburg, loewis, pitrou, rhettinger, stutzbach, tchrist, vstinner |
| Date |
2011年08月17日.11:18:07 |
| SpamBayes Score |
1.1104069e-09 |
| Marked as misclassified |
No |
| Message-id |
<4E4BA36A.7090501@egenix.com> |
| In-reply-to |
<1313577043.74.0.265762921074.issue10542@psf.upfronthosting.co.za> |
| Content |
Ezio Melotti wrote:
>
> Ezio Melotti <ezio.melotti@gmail.com> added the comment:
>
>> For bug fixes, you can put the macros straight into unicodeobject.c,
>> but please leave unicodeobject.h untouched - otherwise people will
>> mess around with these macros (even if they are private) and users
>> will start to wonder about linker errors if they use old patch
>> level releases of Python 2.7/3.2.
>
> OK, so in 2.7/3.2 I'll put them in unicodeobject.c, and in 3.3 I'll move them in unicodeobject.c.
>
> Regarding the name, other macros in unicodeobject.c don't have any prefix, so we can do the same (e.g. IS_SURROGATE) for 2.7/3.2 if that's fine.
Sure.
>> Also note that some of these macros change the behavior of Python
>> - that's good if it fixes a bug (obviously :-)), but bad if it
>> changes areas that are correctly implemented and then suddenly expose
>> new behavior.
>
> After this we can fix #9200 and make narrow builds behave correctly (i.e. like wide ones) with non-BMP chars (at least in some places).
Ok. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年08月17日 11:18:08 | lemburg | set | recipients:
+ lemburg, loewis, doerwalter, georg.brandl, rhettinger, amaury.forgeotdarc, belopolsky, Rhamphoryncus, pitrou, vstinner, eric.smith, stutzbach, ezio.melotti, tchrist |
| 2011年08月17日 11:18:07 | lemburg | link | issue10542 messages |
| 2011年08月17日 11:18:07 | lemburg | create |
|