Python.org: Python 1.6 Released
Sep 05, 2000, 18:55 (1 Talkback[s])
"The final version of Python 1.6 is released on September 5,
2000...."
"There are lots of new modules and lots of bugs have been
fixed...."
"Probably the most pervasive change is the addition of Unicode
support. We've added a new fundamental datatype, the Unicode
string, a new build-in function unicode(), an numerous C APIs to
deal with Unicode and encodings. See the file Misc/unicode.txt for
details, or
http://starship.python.net/crew/lemburg/unicode-proposal.txt."
"Two other big changes, related to the Unicode support, are the
addition of string methods and a new regular expression engine:
- String methods mean that you can now say s.lower() etc. instead
of importing the string module and saying string.lower(s) etc. One
peculiarity is that the equivalent of string.join(sequence,
delimiter) is delimiter.join(sequence). Use " ".join(sequence) for
the effect of string.join(sequence); to make this more readable,
try space=" " first. Note that the maxsplit argument defaults in
split() and replace() have changed from 0 to -1.
- The new regular expression engine, SRE by Fredrik Lundh, is
fully backwards compatible with the old engine, and is in fact
invoked using the same interface (the "re" module). You can
explicitly invoke the old engine by import pre, or the SRE engine
by importing sre. SRE is faster than pre, and supports Unicode
(which was the main reason to put effort in yet another new regular
expression engine -- this is at least the fourth!)."
Complete Story
Related Stories:
- Linux.com: Programming with Python - Part 1: Baby Steps(Aug 30, 2000)
- LinuxProgramming: Migrating from Perl to Python: Objects and Operators(Aug 22, 2000)
- LWN: Guido van Rossum: The State of Python(Jul 27, 2000)
- LinuxProgramming: Migrating from Perl to Python: First Principles(Jul 17, 2000)
- SunWorld: Qt 2.x and Python 1.6 bind together well - PyQt makes for easy GUI construction(Jul 09, 2000)
- Borland Community: Snake charming - Python squishes problems little by little(Jul 09, 2000)
- LinuxDev.net: GUI Python: All This and Good Looks Too?(Jun 27, 2000)
- LinuxProgramming: Migrating from Perl to Python(Jun 26, 2000)
- O'Reilly Network: Python as a First Language(Jun 06, 2000)
- LinuxMall.com: BeOpen.com Swallows Python Whole(Jun 04, 2000)
- VNU Net: Python 3000 not backwards compatible, warns creator(Mar 27, 2000)
- IBM developerWorks: Python 101 cheat sheet(Mar 06, 2000)
- O'Reilly News: Why I Promote Python(Mar 03, 2000)
- Byte.com: A Perl Hacker in the Land of Python(Feb 07, 2000)