[Python-Dev] Re: Masks in getargs.c (was: 2.3b1 release) (original) (raw)
Thomas Heller theller@python.net
16 Apr 2003 20:38:33 +0200
- Previous message: [Python-Dev] Re: Masks in getargs.c (was: 2.3b1 release)
- Next message: [Python-Dev] Re: Masks in getargs.c (was: 2.3b1 release)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum <guido@python.org> writes:
> > > And it introduces incompatibilities. > > > > What kind? I thought it would be a new format code? > > Two new format codes ('k' and 'K'), and changes to existing format > codes - per your request: > > | How about the following counterproposal. This also changes some of the > | other format codes to be a little more regular. > | > | Code C type Range check > | > | b unsigned char 0..UCHARMAX > | B unsigned char none ** > | h unsigned short 0..USHRTMAX > | H unsigned short none ** > | i int INTMIN..INTMAX > | I * unsigned int 0..UINTMAX > | l long LONGMIN..LONGMAX > | k * unsigned long none > | L long long LLONGMIN..LLONGMAX > | K * unsigned long long none > | > | Notes: > | > | * New format codes. > | > | ** Changed from previous "range-and-a-half" to "none"; the > | range-and-a-half checking wasn't particularly useful.
Oh of course. None to worry about IMO.
Well, implementing (and testing) these as the main part of the work, and I'm at least halfway through.
Thomas
- Previous message: [Python-Dev] Re: Masks in getargs.c (was: 2.3b1 release)
- Next message: [Python-Dev] Re: Masks in getargs.c (was: 2.3b1 release)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]