Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use symbolic METH_VARARGS/METH_OLDARGS instead of 1/0 for ml_flags | Neal Norwitz | 2002-03-31 | 3 | -17/+17 |
| | |||||
* | Add missing typecast. | Neil Schemenauer | 2002-03-29 | 1 | -1/+2 |
| | |||||
* | [Patch #536769] Add -Xcompiler flag for adding arguments and switches for | Andrew M. Kuchling | 2002-03-29 | 1 | -0/+1 |
| | | | | the compiler | ||||
* | Make _PyObject_GC_UnTrack do nothing if WITH_CYCLE_GC is not defined. | Neil Schemenauer | 2002-03-29 | 1 | -0/+2 |
| | |||||
* | Add type cast. | Neil Schemenauer | 2002-03-28 | 1 | -1/+2 |
| | |||||
* | This is Neil's fix for SF bug 535905 (Evil Trashcan and GC interaction). | Guido van Rossum | 2002-03-28 | 1 | -1/+3 |
| | | | | | | | | The fix makes it possible to call PyObject_GC_UnTrack() more than once on the same object, and then move the PyObject_GC_UnTrack() call to *before* the trashcan code is invoked. BUGFIX CANDIDATE! | ||||
* | Add a simple test of the METH_CLASS and METH_STATIC flags for type methods. | Fred Drake | 2002-03-28 | 1 | -0/+28 |
| | |||||
* | Expose C library's gettext. Fixes #516412. | Martin v. Löwis | 2002-03-27 | 1 | -2/+96 |
| | |||||
* | Don't imply XPG4 constants from CODESET presence. Fixes #534153. | Martin v. Löwis | 2002-03-27 | 1 | -1/+4 |
| | | | | 2.2.2 candiate. | ||||
* | Missed change METH_OLDARGS to METH_NOARGS for two aliased functions | Neal Norwitz | 2002-03-26 | 1 | -2/+2 |
| | |||||
* | Remove last occurrance of PyArg_GetInt. It is deprecated, | Neal Norwitz | 2002-03-25 | 1 | -1/+1 |
| | |||||
* | Missed change METH_OLDARGS to METH_NOARGS for two aliased functions | Neal Norwitz | 2002-03-25 | 1 | -2/+2 |
| | |||||
* | Remove many uses of PyArg_NoArgs macro, change METH_OLDARGS to METH_NOARGS. | Neal Norwitz | 2002-03-25 | 8 | -122/+62 |
| | |||||
* | Due to interaction between the MSL C library and the GUSI I/O library I can ↵ | Jack Jansen | 2002-03-25 | 1 | -0/+5 |
| | | | | | | | | get reads from sockets to work consistently either for unbuffered binary files or for buffered binary files, but not for both:-( The workaround is to force socket.makefile() to disable buffering for binary files. Fixes bug 534625. 2.2.1 candidate. | ||||
* | Expose RLIM_INFINITY constant. Closes SF patch 489066. | Neil Schemenauer | 2002-03-24 | 1 | -1/+13 |
| | |||||
* | Add get_history_item, get_current_history_length, and redisplay functions. | Neil Schemenauer | 2002-03-24 | 1 | -2/+61 |
| | | | | Clarify the docstring for get_history_length. Closes SF patch 494066. | ||||
* | Match behavior of the pickle.py module more closely. | Neil Schemenauer | 2002-03-22 | 1 | -0/+5 |
| | |||||
* | Handle os.listdir("") case correctly on Windows. Closes bug 500705. | Neil Schemenauer | 2002-03-22 | 1 | -4/+5 |
| | |||||
* | Use pymalloc for realloc() as well. | Neil Schemenauer | 2002-03-22 | 1 | -2/+2 |
| | |||||
* | Use pymalloc if it's enabled. | Neil Schemenauer | 2002-03-22 | 1 | -4/+4 |
| | |||||
* | Remove compiler warnings on Solaris 8. | Neal Norwitz | 2002-03-20 | 3 | -3/+3 |
| | | | | Can go into 2.2.x, but not necessary. | ||||
* | Remove extraneous #define as per effbot's instructions in: | Neal Norwitz | 2002-03-18 | 1 | -2/+0 |
| | | | | [ 530285 ] redefining SRE_CODE in Modules/sre.h | ||||
* | Include Python.h first. Fixes #530159. | Martin v. Löwis | 2002-03-15 | 1 | -1/+1 |
| | |||||
* | Verify arguments for nl_langinfo. Fixes #528879. | Martin v. Löwis | 2002-03-12 | 1 | -84/+106 |
| | |||||
* | Change the example code to prefer PyModule_Add*() instead of using the | Fred Drake | 2002-03-12 | 2 | -12/+12 |
| | | | | | module dictionary directly. Also, be more careful about not re-initializing globals in the event of re-initialization of a C extension. | ||||
* | Update docstrings to use te attribute names of the new structures returned | Fred Drake | 2002-03-12 | 2 | -4/+7 |
| | | | | | by stat and time functions. This closes SF patch #523271. | ||||
* | Changed C++ comment into standard comment. | Sjoerd Mullender | 2002-03-11 | 1 | -1/+1 |
| | |||||
* | SF bug 525705: [2.2] underflow raise OverflowException. | Tim Peters | 2002-03-09 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | Another year in the quest to out-guess random C behavior. Added macros Py_ADJUST_ERANGE1(X) and Py_ADJUST_ERANGE2(X, Y). The latter is useful for functions with complex results. Two corrections to errno- after-libm-call are attempted: 1. If the platform set errno to ERANGE due to underflow, clear errno. Some unknown subset of libm versions and link options do this. It's allowed by C89, but I never figured anyone would do it. 2. If the platform did not set errno but overflow occurred, force errno to ERANGE. C89 required setting errno to ERANGE, but C99 doesn't. Some unknown subset of libm versions and link options do it the C99 way now. Bugfix candidate, but hold off until some Linux people actually try it, with and without -lieee. I'll send a help plea to Python-Dev. | ||||
* | Fix SF bug #526518 | Jeremy Hylton | 2002-03-08 | 1 | -1/+1 |
| | | | | | | | | The doc string for cStringIO suggested that str() of a StringIO object was equivalent to getvalue(). This was never true, so repair the doc string. (doctest would have helped here.) Bug fix candidate for any past versions. | ||||
* | SF bug 515943: searching for data with \0 in mmap. | Tim Peters | 2002-03-08 | 1 | -9/+5 |
| | | | | | | | | | mmap_find_method(): this obtained the string to find via s#, but it ignored its length, acting as if it were \0-terminated instead. Someone please run on Linux too (the extended test_mmap works on Windows). Bugfix candidate. | ||||
* | Remove tp_print. | Martin v. Löwis | 2002-03-04 | 1 | -34/+1 |
| | |||||
* | Python no longer compiled on Windows, due to #include file confusion | Tim Peters | 2002-03-03 | 1 | -4/+5 |
| | | | | | | over SEP, ALTSEP and MAXPATHLEN. Patched up posixmodule.c for MSVC, but unsure what the story is now on other non-Unixish platforms -- the preprocessor maze has no exit <wink>. | ||||
* | OS/2 EMX port changes (Modules part of patch #450267): | Andrew MacIntyre | 2002-03-03 | 1 | -17/+702 |
| | | | | | | | | | | Modules/ posixmodule.c - use SEP,ALTSEP #defines instead of hard coded path separator chars - use EMX specific variants of chdir2(),getcwd() that support drive letters - OS/2+EMX spawnv(),spawnve() support - EMX specific popen[234]() derived from Win32 popen[234]() code | ||||
* | OS/2 EMX port changes (Modules part of patch #450267): | Andrew MacIntyre | 2002-03-03 | 1 | -6/+11 |
| | | | | | | | Modules/ socketmodule.c EMX handles sockets like Posix, rather than use native APIs | ||||
* | OS/2 EMX port changes (Modules part of patch #450267): | Andrew MacIntyre | 2002-03-03 | 11 | -11/+47 |
| | | | | | | | | | | | | | | | Modules/ _hotshot.c dbmmodule.c fcntlmodule.c main.c pwdmodule.c readline.c selectmodule.c signalmodule.c termios.c timemodule.c unicodedata.c | ||||
* | SF patch 517245 by Marc Recht. | Guido van Rossum | 2002-03-01 | 1 | -1/+1 |
| | | | | | | Support GMP version >= 2. Bugfix candidate. | ||||
* | Patch #523268, #522027: return enhanced tuples. | Martin v. Löwis | 2002-03-01 | 2 | -20/+110 |
| | |||||
* | Patch 520694: arraymodule.c improvements: | Martin v. Löwis | 2002-03-01 | 1 | -107/+316 |
| | | | | | | - make array.array a type - add Py_UNICODE arrays - support +=, *= | ||||
* | Patch #520062: Support IPv6 with VC.NET. | Martin v. Löwis | 2002-03-01 | 2 | -0/+13 |
| | |||||
* | Add documentation about how the inter-module linking works. | Marc-André Lemburg | 2002-02-25 | 1 | -1/+54 |
| | |||||
* | Moved the declaration of PySocketSock_Type from socketmodule.h to | Tim Peters | 2002-02-17 | 2 | -7/+5 |
| | | | | | | | | | | | | socketmodule.c. No code outside of the .c file references it, so it doesn't belong the .h file (at least not yet ...), and declaring it an imported symbol in the .h file can't be made to work on Windows (it's a cross-DLL symbol then) without substantial code rewriting. Also repaired the comment that goes along with the decl, to stop referring to names and functions that haven't existed for 7 years <wink>. socketmodule.c compiles cleanly on Windows again. The test_socket dies at once, though (later). | ||||
* | For readability, switch to tab indents; was using a mix of tab indents, | Tim Peters | 2002-02-17 | 1 | -35/+35 |
| | | | | | 4-space indents, and ambiguous space+tab indents. Added an XXX comment about a confusing part. Still doesn't build on Windows. | ||||
* | Patch #511193: Implement killpg in posixmodule. | Martin v. Löwis | 2002-02-16 | 1 | -0/+21 |
| | |||||
* | Remove extraneous variable 'total', as reported by James Rucker. | Martin v. Löwis | 2002-02-16 | 1 | -2/+1 |
| | |||||
* | Also fix the comment. | Marc-André Lemburg | 2002-02-16 | 1 | -1/+1 |
| | |||||
* | Fix the name of the header file. | Marc-André Lemburg | 2002-02-16 | 1 | -1/+1 |
| | |||||
* | Break SSL support out of _socket module and place it into a new | Marc-André Lemburg | 2002-02-16 | 4 | -557/+716 |
| | | | | | | | | | | | | | | | | | | helper module _ssl. The support for the RAND_* APIs in _ssl is now only enabled for OpenSSL 0.9.5 and up since they were added in that release. Note that socketmodule.* should really be renamed to _socket.* -- unfortunately, this seems to lose the CVS history of the file. Please review and test... I was only able to test the header file chaos in socketmodule.c/h on Linux. The test run through fine and compiles don't give errors or warnings. WARNING: This patch does *not* include changes to the various non-Unix build process files. | ||||
* | Fix typo. | Fred Drake | 2002-02-14 | 1 | -1/+1 |
| | |||||
* | Use PyModule_AddObject() instead of accessing the module dict directly. | Fred Drake | 2002-02-14 | 2 | -10/+14 |
| | |||||
* | Use PyModule_AddIntConstant() instead of creating a private helper function. | Fred Drake | 2002-02-14 | 1 | -30/+22 |
| | | | | This also avoids directly accessing the module'd __dict__. |