summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Initialize __version__ to the correct version string regardless ofGuido van Rossum1997-12-011-3/+14
| | | | | what RCS checkout options are used. Problem first diagnosed by Marc Lemburg.
* mymemreplace(), strop_replace(): Add support for optional 4th argumentBarry Warsaw1997-11-291-4/+12
| | | | | | | | maxsplit which is implemented in string.py but wasn't here. The reference manual doesn't define what happens when maxsplit is negative or larger than the number of occurrences, but in either case, I implemented this as all get replaced. Default value is zero which replaces all occurrences.
* os2 patch by Jeff RushGuido van Rossum1997-11-225-21/+399
|
* Redone the _tkinter configuration section with support for popular packages.Guido van Rossum1997-11-221-15/+41
|
* New tkappinit supporting several popular packages.Guido van Rossum1997-11-221-15/+36
|
* PySocketSock_methods: Added "connect_ex" so the method can actually beBarry Warsaw1997-11-201-0/+1
| | | | called!
* Add support for _locale.Guido van Rossum1997-11-191-0/+2
|
* Add s.connect_ex() which returns errno instead of raising an exception.Guido van Rossum1997-11-191-0/+20
|
* Add optional support fort Tix and BLT.Guido van Rossum1997-11-191-0/+19
|
* Martin von Loewis' _locale module (locale.py follows tomorrow).Guido van Rossum1997-11-181-0/+355
|
* This fix (across 4 files in 3 directories) solves a subtle problem withGuido van Rossum1997-11-142-0/+10
| | | | | | | | | | | | | | | signal handlers in a fork()ed child process when Python is compiled with thread support. The bug was reported by Scott <scott@chronis.icgroup.com>. What happens is that after a fork(), the variables used by the signal module to determine whether this is the main thread or not are bogus, and it decides that no thread is the main thread, so no signals will be delivered. The solution is the addition of PyOS_AfterFork(), which fixes the signal module's variables. A dummy version of the function is present in the intrcheck.c source file which is linked when the signal module is not used.
* Got rid of the errorstr dictionary, which is redundant now thatGuido van Rossum1997-11-041-21/+9
| | | | there's os.strerror() -- also, it would form a locale liability.
* Fix due to Bill Noon for problem discovered by Ken Manheimer: packingGuido van Rossum1997-11-041-2/+2
| | | | 0.0 as float or double would yield the representation for 1.0!
* Move the Py_{{BEGIN,END}_ALLOW,BLOCK}_THREADS macros in time_sleep()Guido van Rossum1997-11-031-7/+15
| | | | | | to inside floatsleep(). This is necessary because floatsleep() does the error handling and it must have grabbed the interpreter lock and thread state before it can do so.
* Change the signal finialization so that it also resets the signalGuido van Rossum1997-11-031-1/+7
| | | | | handlers. After this has been called, our signal handlers are no longer active!
* Add cast to realloc/malloc call to shut up AIX compiler. (Vladimir Marangozov)Guido van Rossum1997-10-311-2/+2
|