Recently, Greg Stein <gstein@lyra.org> said: > This was done last year!! We have "s#" meaning "give me some bytes." We > have "t#" meaning "give me some 8-bit characters." The Python distribution > has been completely updated to use the appropriate format in each call. Oops... I remember the discussion but I wasn't aware that somone had actually _implemented_ this:-). Part of my misunderstanding was also caused by the fact that I inspected what I thought would be the prime candidate for t#: file.write() to a non-binary file, and it doesn't use the new format. I also noted a few inconsistencies at first glance, by the way: most modules seem to use s# for things like filenames and other data-that-is-readable-but-shouldn't-be-messed-with, but binascii is an exception and it uses t# for uuencoded strings... -- Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++ www.oratrix.nl/~jack | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4