Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
...large amount of Python code that assumes that string data is represented as str instances. The long-term plan for Python is to phase out the str type and use unicode for all string data. Clearly, a smooth migration path must be provided. We need to upgrade existing libraries, written for str instances, to be made capable of operating in an all-unicode string world. We can't change to an all-unicode world until all essential libraries are made capable for it. Upgrading the libraries in one shot...
...text of the proposal: At the request of some supporters of other languages, I've withdrawn a language comparison chart that contained highly personal and sometimes unfounded opinions of other languages. The table was being used out of context in a way that some found objectionable. (Not all of the table is disputed, but it seems wiser not to engage in direct language comparisons without a lot more documentation.) I've also removed some administrative details from the text and made so...
...text of a funding proposal that we sent to DARPA in January 1999. In August 1999, we submitted a revised version of the proposal. Please look at the EDU-SIG home page (Python in Education Special Interest Group). This is where the current project status is described and/or will be discussed, and where you'll find pointers to more resources. Note:I have made one change to the text of the proposal: At the request of some supporters of other languages, I've withdrawn a language compari...
...textdomain_codeset() in gettext module. Introduced in gettext module the l*gettext() family of functions, which return translation strings encoded in the preferred encoding, as informed by locale module's getpreferredencoding(). optparse module (and tests) upgraded to Optik 1.5a1. Changes: Add expansion of default values in help text: the string "%default" in an option's help string is expanded to str() of that option's default value, or "none" if no default value. Bug #9...
...Large file support is now enabled on Win32 platforms as well as on Win64. This means that, for example, you can use f.tell() and f.seek() to manipulate files larger than 2 gigabytes (provided you have enough disk space, and are using a Windows filesystem that supports large partitions). Windows filesystem limits: FAT has a 2GB (gigabyte) filesize limit, and large file support makes no difference there. FAT32's limit is 4GB, and files >= 2GB are easier to use from Python now. NTFS has no pr...
...texts which makes assignment targets (write contexts) look like expressions (read contexts). Pattern matching never creates objects. This is in the same way that [a, b] = my_list doesn't create a new [a, b] list, nor reads the values of a and b. Matching process During this matching process, the structure of the pattern may not fit the subject, and matching fails. For example, matching the pattern Point2d(x, 0) to the subject Point2d(3, 0) successfully matches. The match also binds the patter...