summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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.)
* New versions of cPickle and cStringIO, from Jim Fulton's cPickle 1.0b1Guido van Rossum1997-12-042-345/+648
| | | | distribution.
* Moved the thread module to its own Setup.thread(.in) file,Guido van Rossum1997-12-043-7/+16
| | | | | which is edited by the config.status script depending on whether --with-thread is specified or not. Also needs changes to configure(.in).
* Patches by Fred Lundh to make it compile better with K&R compilers.Guido van Rossum1997-12-021-20/+20
| | | | | (Should really let AMK do this, but don't know when he'll give me a new version.)
* Small bugfixes for broken old style use of the syntax table. AMK, ofGuido van Rossum1997-12-021-6/+6
| | | | course.
* Yes, Virginia, Tix does have a Tix_SafeInit() function.Guido van Rossum1997-12-021-5/+5
|
* Understand -Xlinker option.Guido van Rossum1997-12-021-0/+1
|
* Left-aligned preprocessor directives and changed C++ comments to CGuido van Rossum1997-12-021-9/+9
| | | | comments.
* Patch for QNX, by Chris Herborth. Also left-aligned preprocessorGuido van Rossum1997-12-021-58/+58
| | | | directives and changed C++ comments to C comments.
* Patch for QNX, by Chris Herborth.Guido van Rossum1997-12-021-5/+5
|
* Changed the occurrence of *shared* in the example so people won'tGuido van Rossum1997-12-021-13/+10
| | | | accidentally uncomment it...
* Comment out crypt by default; it's not used very much and messes upGuido van Rossum1997-12-021-6/+8
| | | | | | | the default build on Linux (because it requires -lcrypt which isn't availabel everywhere). Some improvements to the _tkinter build line suggested by Case Roole.
* split_whitespace(): Make sure delimiter is stripped from the beginningBarry Warsaw1997-12-021-1/+4
| | | | | of the remainder item (last item in list) when maxsplit is < the number of occurrences.