This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2009-03-17.12:58:15
SpamBayes Score 0.001801022
Marked as misclassified No
Message-id <1237294698.92.0.380829116259.issue5499@psf.upfronthosting.co.za>
In-reply-to
Content
To avoid byte/character mixture, getarg('c') must only accept a byte 
string of 1 byte and getarg('C') only an unicode string of 1 
character.

Impacted methods:
- datetime.datetime.isoformat(sep), array.array(type, data): don't 
accept byte anymore
- msvcrt.putch(char), msvcrt.ungetch(char), <mmap 
object>.write_byte(char): don't accept unicode anymore

I tried runtests.sh: only the 3 bytes.{center,ljust,rjust} tests have 
to be changed, all other tests are ok.

Related issues: #3446, #5391.
History
Date User Action Args
2009-03-17 12:58:19vstinnersetrecipients: + vstinner
2009-03-17 12:58:18vstinnersetmessageid: <1237294698.92.0.380829116259.issue5499@psf.upfronthosting.co.za>
2009-03-17 12:58:17vstinnerlinkissue5499 messages
2009-03-17 12:58:16vstinnercreate