summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Check for boundary errors in [r]find -- find("x", "", 2) should return -1.Guido van Rossum1998-03-241-2/+2
|
* patch for re.sub bug, by AMK.Guido van Rossum1998-03-103-6/+7
|
* Check for HAVE_MKTIME (if you don't have it, some tests will fail, butGuido van Rossum1998-03-061-0/+9
| | | | at least the build will now succeed). For Sony NEWS-OS, BSD 4.3 based.
* Don't use setvbuf unless HAVE_SETVBUF is defined.Guido van Rossum1998-03-061-4/+12
|
* Clear class_map in constructor so that when it later detects an errorGuido van Rossum1998-03-061-1/+2
| | | | and the destructor is called early, it doesn't DECREF garbage.
* Raise ValueError: "unconvertible time" when ctime() returns NULL,Guido van Rossum1998-03-031-0/+4
| | | | instead of dumping core.
* Doc strings added by Mitch Chapman.Guido van Rossum1998-03-031-7/+67
|
* Doc strings added by Mitch Chapman.Guido van Rossum1998-03-031-4/+32
|
* Doc strings added by Mitch Chapman.Guido van Rossum1998-03-031-19/+107
| | | | Also got rid of some inconsistent change log comments near the top.
* Looks like mention of http://quest.jpl.nasa.gov/zlib/ got added butKen Manheimer1998-03-031-1/+1
| | | | not checked in, so i'm doing it.
* A bug in PCRE could cause core dumps in patterns such asGuido van Rossum1998-02-201-2/+7
| | | | '((a)*)*'. Andrew Kuchling posted a fix to the string-sig.
* Delete the 'exit' command from the Tcl interpreter -- it would allowGuido van Rossum1998-02-191-0/+3
| | | | | users to exit Python without the normal precautions. (The can do this using os._exit() anyway, but at least that's documented.)
* Forgot to return NULL in joinfields() when a type error was detectedGuido van Rossum1998-02-061-1/+3
| | | | in one of the sequence items.
* Updated URL for zlib.Guido van Rossum1998-02-061-1/+2
|
* Register Tcl_Finalize as a Python exit handler.Guido van Rossum1998-02-061-1/+4
|
* Don't store the exception info from an unhandled exception in a threadGuido van Rossum1998-02-061-1/+1
| | | | | in sys.last_*; it prevents proper calling of destructors of local variables.
* - Use Py_GetPythonHome() instead of getenv("PYTHONHOME").Guido van Rossum1998-02-061-2/+4
| | | | - Don't print error messages when Py_FrozenFlag is set.
* Renamed Jim's PyErr_[JF]Format() to cPickle_ErrFormat(). It's not aGuido van Rossum1998-01-191-11/+10
| | | | standard Python API function so it should not have a Py prefix.
* Instead of a single exists(), differentiate between files, modules,Guido van Rossum1998-01-191-13/+70
| | | | | executable files, and directories. When expecting a module, we also look for the .pyc or .pyo file.
* Add unistd.h for isatty().Guido van Rossum1998-01-191-0/+4
|
* Add LOG_SYSLOG if defined.Guido van Rossum1998-01-191-0/+3
|
* Deleted targets used only by Jim Fulton's now deleted "gMakefile".Guido van Rossum1998-01-131-17/+1
| | | | | | Also change the build rules to use $(LIBRARY) instead of -L.. -lpython$(VERSION) since the latter trips up the SunOS 4.1.x linker (sigh).
* Oops, big glitch. Charles had put a 1 in the column for argument listGuido van Rossum1997-12-301-8/+8
| | | | | | | | type for all functions. However many function call PyArg_Parse() and need a 0. This is so that when they didn't change anything, the can do Py_INCREF(args); return args. Reverted this back. For atof(), there's no reason not to use PyArg_ParseTuple(), so I changed the code (atoi and atol already used that).
* Oops, the last checkin left a blank line in a string literal.Guido van Rossum1997-12-301-1/+1
|
* At Jeff Rush' request, add Py_BEGIN/END_ALLOW_THREADS around call toGuido van Rossum1997-12-291-0/+3
| | | | DosSleep().
* Moved some #ifdefs around that got put in the wrong place by theGuido van Rossum1997-12-291-16/+22
| | | | latest OS/2 patch set.
* Minor editing corrections.Guido van Rossum1997-12-291-5/+6
|
* Added doc string, provided by Charles Waldman (with some reformattingGuido van Rossum1997-12-291-29/+162
| | | | and a little editing my me).
* AMK's latest -- synchronized with PCRE 1.04.Guido van Rossum1997-12-224-125/+179
|
* Oops, left in a non-standard multi-line doc string that GCC finds okayGuido van Rossum1997-12-211-4/+4
| | | | but other compilers don't like.
* Added doc strings, suggested by Charles G. Waldman (but massaged quite a bit).Guido van Rossum1997-12-191-7/+41
|
* Patch by Brian Gallew for DG/UX. I'm not quite sure what it does butGuido van Rossum1997-12-181-2/+3
| | | | | | | | | | | | it seems harmless for other platforms. It plays tricks with the name of the library used to link with. Apparently DG/UX really wants a shared library to link with if it wants shared modules to use symbols from the library. I'm not sure why this wasn't an issue with 1.4; DG/UX seems to be the only platform where moving to a single library made things harder! BTW This adds a target to create libpython$(VERSION).so; however this target is *only* for DG/UX.
* Win32 treatment.Guido van Rossum1997-12-181-2/+7
|
* AMK's latest; plus three null bytes that I added for purifyGuido van Rossum1997-12-174-167/+157
|
* Fix mysterious undetected error -- call to non-existant Py_Err_SetStr()Guido van Rossum1997-12-161-1/+1
| | | | which shoulda coulda woulda oughta been PyErr_SetString().
* Add -lld option for AIX to _tkinter rules.Guido van Rossum1997-12-161-0/+2
|
* Patch by Oliver Andrich for Lunix using glibc.Guido van Rossum1997-12-151-0/+4
|
* Untested change to include gmp-mparam.h instead of gmp-impl.h.Guido van Rossum1997-12-151-1/+1
| | | | Chris Lawrence <quango@ix.netcom.com>
* Patch (by Andrew Kuchling of course) to prevent named back referencesGuido van Rossum1997-12-151-1/+1
| | | | in the pattern to wear out the reference count on small integers.
* Move the dbm module around and add an introductory paragraph for dbm,Guido van Rossum1997-12-111-3/+12
| | | | gdbm and bsddb, as suggested by Skip Montanaro.
* Remove "Lib/test" from the default path; this is now a package!Guido van Rossum1997-12-101-1/+0
|
* The 'l' flag (locale specific matching) has been renamed to 'L'.Guido van Rossum1997-12-101-2/+2
|
* Add a test for a bad format character.Guido van Rossum1997-12-091-0/+16
|
* Typo: RUSAGE_CHILDERN -> RUSAGE_CHILDREN.Guido van Rossum1997-12-091-1/+1
|
* LC_MESSAGES is not defined on all systems; use #ifdef LC_MESSAGES.Guido van Rossum1997-12-091-0/+2
|
* (1) call mktime() just before strftime(); it normalizes the buffer andGuido van Rossum1997-12-081-0/+8
| | | | | | may set the timezone name for BSD systems... (2) fake all of the timezone variables for the mac.
* New pcre version from AMKGuido van Rossum1997-12-084-1209/+1797
|
* Jim Fulton:Guido van Rossum1997-12-081-24/+50
| | | | | | | | | | | | | | | | | | | | | | - Loading non-binary string pickles checks for insecure strings. This is needed because cPickle (still) uses a restricted eval to parse non-binary string pickles. This change is needed to prevent untrusted pickles like:: "S'hello world'*2000000\012p0\012." from hosing an application. - User-defined types can now support unpickling without executing a constructor. The second value returned from __reduce__ can now be None, rather than an argument tuple. On unpickling, if the second value returned from __reduce__ during pickling was None, then rather than calling the first value returned from __reduce__, directly, the __basicnew__ method of the first value returned from __reduce__ is called without arguments.
* Another large batch of patches from Jeff Rush for OS/2.Guido van Rossum1997-12-051-15/+243
| | | | I hope this time I've taken out all // comments and indended #ifdefs.
* Two changes by Jeff Rush (slightly tweaked):Guido van Rossum1997-12-051-9/+26
| | | | | | | | | | | - New option -x, to skip first line of script - Use the correct platform-specific delimiter and library location in the usage message (Also removed two blank lines and moved one line around so that each part of the usage message is again under 512 bytes and the whole usage message still fits in 23 lines.)