- 02 Jul, 1998 3 commits
-
-
Fred Drake authored
-
Fred Drake authored
Reflects Guido's revision.
-
Guido van Rossum authored
This is because they are huge and the stack is limited on Windows. Other platforms keep declaring it on the stack.
-
- 01 Jul, 1998 9 commits
-
-
Guido van Rossum authored
-
Barry Warsaw authored
1. Convert to using re module 2. Added two new exception classes a. MissingSectionHeaderError which signals an early parsing exception when options appear in the file before any section header. Previously a bogus TypeError was thrown deeper down. b. ParsingError which collates any non-fatal parsing errors. ConfigParser.read() will raise this after the entire file was parsed if any errors occurred during parsing (client could just catch the exception and continue, because the ConfigParser instance would still be initialized with the valid data). (small note: Error.__msg => Error._msg) 3. ConfigParser.__read() now uses re which has the following minor semantic change: underscore is now allowed in section header and option name. Also, because of the old regexps, theoretically. Fixed continuation line bug reported by F. Lundh. 4. It seemed that the old ConfigParser automatically added the option `name' to every section, which contained the name of the section. This seemed bogus to me so I took it out.
-
Guido van Rossum authored
-
Jack Jansen authored
-
Jack Jansen authored
initMacOS().
-
Jack Jansen authored
-
Fred Drake authored
-
Fred Drake authored
are in the appropriate sections. Some minor nits.
-
Andrew M. Kuchling authored
The text is almost completely from GvR's essay on packages; some introductory paragraphs have been removed, and everything after the 'Details' section in the HTML has been dropped (seems too technical). A paragraph has been added after the sample package layout stating that there must be a file called__init__.py in a directory to make it a package.
-
- 30 Jun, 1998 15 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
# later release.
-
Guido van Rossum authored
-
Fred Drake authored
Use logical (& consistent) markup. Added a see-also section at the end.
-
Guido van Rossum authored
-
Guido van Rossum authored
Need to add \optional{} to sort argument too. Made x a \var in descr of pop. Fixed note for pop() and mentioned that it is experimental. Also added pop to index.
-
Guido van Rossum authored
# The brackets generated by \optional{} are real ugly. Alas...
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
article().
-
Guido van Rossum authored
article() commands.
-
Andrew M. Kuchling authored
-
- 29 Jun, 1998 13 commits
-
-
Guido van Rossum authored
.mirrorinfo. Fix by me to call string.lstrip(filename) to cope with a bug in strop.strip() in Python 1.4. Additionally, I changed all print statements that print filenames etc. to put them in backquotes so that it will be more obvious when there's a funny character on one of them (such as a space...).
-
Guido van Rossum authored
groupdict() and findall().
-
Guido van Rossum authored
exception waiting to happen next...
-
Guido van Rossum authored
-
Guido van Rossum authored
should never be called, so this isn't really needed, but this signifies that rexec now supports packages -- because ihooks does.
-
Guido van Rossum authored
didn't want to commit until it had been tested. I presume that it works in Grail.)
-
Guido van Rossum authored
string. Added groupdict() to MatchObject -- return the named groups as a dict. Added default argument to groups() to specify what to return for unmatching groups; groupdict() also has this.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
the '%' should be put back in.
-