- 02 May, 2000 14 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
are no longer supported (i.e. -X option is removed). _PyBuiltin_Init_1(): Don't call initerrors(). This does mean that it is possible to raise an ImportError before that exception has been initialized, say because exceptions.py can't be found, or contains bogosity. See changes to errors.c for how this is handled. _PyBuiltin_Init_2(): Don't test Py_UseClassExceptionsFlag, just go ahead and initialize the class-based standard exceptions. If this fails, we throw a Py_FatalError.
-
Barry Warsaw authored
Py_Main(): Remove the 'X' case.
-
Barry Warsaw authored
API consistency, but nothing sets it or checks it now.
-
Guido van Rossum authored
If you still haven't updated your extension since the Grand Renaming, you don't deserve Python 1.6. :-)
-
Barry Warsaw authored
-
Fred Drake authored
-
Fred Drake authored
Added support for optional parameter explaining the change that was made in the specified version.
-
Fred Drake authored
was allowed to be None.
-
Fred Drake authored
-
Guido van Rossum authored
search() functions didn't even work because _fixflags() isn't idempotent. I'm adding another stop-gap measure so that you can at least use sre.search() and sre.match() with a zero flags arg.
-
Guido van Rossum authored
telnetlib is unable to connect to a few telnet daemons because of improper IAC handling, heres an attached oneliner to reject WILL messages which will allow many more telnet daemons to work with it, namely FreeBSD.
-
Guido van Rossum authored
Bad % formatting.
-
Guido van Rossum authored
the /nodefaultlib: option.
-
- 01 May, 2000 12 commits
-
-
Guido van Rossum authored
Fixed \OOO interpretation for Unicode objects. \777 now correctly produces the Unicode character with ordinal 511.
-
Guido van Rossum authored
Changed all references to the MAGIC constant to use a global pyc_magic instead. This global is initially set to MAGIC, but can be changed by the _PyImport_Init() function to provide for special features implemented in the compiler which are settable using command line switches and affect the way PYC files are generated. Currently this change is only done for the -U flag.
-
Guido van Rossum authored
(1) Added and documented the capability for shlex to handle lexical-level inclusion and a stack of input sources. Also, the input stream member is now documented, and the constructor takes an optional source-filename. The class provides facilities to generate error messages that track file and line number. (2) Add a convenience function to generate C-compiler style error leaders.
-
Guido van Rossum authored
Add a convenience function to generate C-compiler style error leaders.
-
Guido van Rossum authored
Added and documented the capability for shlex to handle lexical-level inclusion and a stack of input sources. Also, the input stream member is now documented, and the constructor takes an optional source-filename. The class provides facilities to generate error messages that track file and line number. [GvR: I changed the __main__ code so that it actually stops at EOF, as Eric surely intended -- however it returned '' instead of the None he was testing for.]
-
Guido van Rossum authored
Added Py_UnicodeFlag for use by the -U command line option.
-
Guido van Rossum authored
Support for the new -U command line option option: with the option enabled the Python compiler interprets all "..." strings as u"..." (same with r"..." and ur"...").
-
Guido van Rossum authored
Added -U command line option. With the option enabled the Python compiler interprets all "..." strings as u"..." (same with r"..." and ur"...").
-
Guido van Rossum authored
1.6a2 caused by wrong return values in routine allcaps83. [GvR: I also changed the case for end-s>8 to return 0.]
-
Barry Warsaw authored
previous functionality utime(path, (atime, mtime)), now allowed is utime(path, None) which sets the file's times to the current time.
-
Guido van Rossum authored
The two methods .readline() and .readlines() in StreamReaderWriter didn't define the self argument. Found by Tom Emerson.
-
Barry Warsaw authored
utime(path, NULL) call, setting the atime and mtime of the file to the current time. The previous signature utime(path, (atime, mtime)) is of course still allowed.
-
- 28 Apr, 2000 14 commits
-
-
Guido van Rossum authored
Store sys.exc_info()[:2] instead.
-
Guido van Rossum authored
because we've added Unicode marshalling to the repertoire.
-
Fred Drake authored
sufficiently robust to survive the creation of bookmarks in the PDF format.
-
Fred Drake authored
-
Fred Drake authored
Made the attributes more XHTML-friendly.
-
Greg Ward authored
bad link URLs in HTML, etc.
-
Greg Ward authored
???/*.css and ???/*.html -- need to pick up the Distutils manuals!
-
Greg Ward authored
-
Greg Ward authored
-
Greg Ward authored
-
Guido van Rossum authored
Follow a suggestion in an /*XXX*/ comment [in com_add()] to speed up compilation by using supplemental dictionaries to keep track of names and constants, eliminating quadratic behavior. With this patch in place, the time to import a 5000-line file with lots of constants [at the global level] is reduced from 20 seconds to under 3 on my system.
-
Fred Drake authored
from Brian Hooper <brian_takashi@hotmail.com>.
-
Fred Drake authored
Here's a patch which changes modsupport to add 'u' and 'u#', to support building Unicode objects from a null-terminated Py_UNICODE *, and a Py_UNICODE * with length, respectively. [Conversion from 'U' to 'u' by Fred, based on python-dev comments.] Note that the use of None for NULL values of the Py_UNICODE* value is still in; I'm not sure of the conclusion on that issue.
-
Guido van Rossum authored
-