summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Take out the setlocale() call. It affects atof() and will breakGuido van Rossum1997-10-311-8/+0
| | | | floating point literals. Need to do this differently...
* Add #include "mytime.h", needed for SunOS 4.1 (Matthias Klose).Guido van Rossum1997-10-311-0/+1
|
* Forgot to add .cxx and .cpp to the second case statement.Guido van Rossum1997-10-211-0/+2
| | | | Thanks to Daniel Larsson.
* Some patches to Lee Busby's fpectl mods that accidentally didn't make itGuido van Rossum1997-10-201-3/+2
| | | | into 1.5a4.
* Add getintarg(), getlongarg(), getstrarg() to macros since these noGuido van Rossum1997-10-201-0/+3
| | | | longer exist in the general headers.
* Add proper (getattrfunc) cast in Pcre_Type.Guido van Rossum1997-10-201-1/+1
|
* Change sharedmodules to lib-dynload.Guido van Rossum1997-10-202-7/+7
| | | | ### If you still have sharedmodules in your Modules/Setup file, remove it! ###
* Darn. When thread support is disabled, the BEGIN/END macros don'tGuido van Rossum1997-10-102-4/+8
| | | | | | save and restore the tstate, but explicitly calling PyEval_SaveThread() does reset it! While I think about how to fix this for real, here's a fix that avoids getting a fatal error.
* Don Beaudry's changes to support SGI_ABI on Irix 6.x.Guido van Rossum1997-10-091-0/+2
|
* Remove requirement for strdup() since it causes so many troubles for too manyFred Drake1997-10-091-4/+4
| | | | platforms. Argh!
* Add call to setlocale(LC_ALL, "").Guido van Rossum1997-10-081-1/+8
|
* Put back the extern declaration for strdup(), between #ifndef MS_WINDOWS.Guido van Rossum1997-10-081-0/+3
| | | | | This should make everybody happy, especially since we don't say what the argument type is (there is disagreement on that, too :-( ).
* timezone support for macintosh (Jack)Guido van Rossum1997-10-081-0/+36
|
* Include macbuildno.h here (mac only) (Jack)Guido van Rossum1997-10-081-0/+4
|
* lots of "goto error" replaced by "return" (Jack)Guido van Rossum1997-10-081-264/+264
|
* Converted to new exception style (Jack)Guido van Rossum1997-10-081-6/+2
|
* Mac does support createfilehandler now (Jack)Guido van Rossum1997-10-081-1/+1
|
* Checking in AMK's latest installement.Guido van Rossum1997-10-082-130/+68
| | | | (Two small changes to shup up gcc added.)
* initparser(): Use PyErr_NewException() to create the exception.Fred Drake1997-10-071-1/+1
|
* Fix EventHook (the trick to make widgets appear when using GNUGuido van Rossum1997-10-071-3/+19
| | | | | readline) to create and use a new thread state object -- otherwise it would dump core!
* Add the Setup line for the pcre module.Guido van Rossum1997-10-071-1/+2
|
* Add get_line_buffer() and insert_text(), suggested by Michael McLay.Guido van Rossum1997-10-071-0/+40
|