Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Assorted xreadlines problems: | Tim Peters | 2001-01-09 | 1 | -1/+1 |
| | | | | | | | Wasn't built on Windows; not in config.c either. Module init function missing DL_EXPORT magic. test_xreadline output file obviously wrong (started w/ "test_xrl"). test program very unclear about what was expected. | ||||
* | Jeff Epler's xreadlines module, with slight reformatting and some | Guido van Rossum | 2001-01-09 | 2 | -0/+121 |
| | | | | changes for safety and tuning. | ||||
* | Address a bug in the uuencode decoder, reported bu "donut" in SF bug | Guido van Rossum | 2001-01-09 | 1 | -3/+3 |
| | | | | #127718: '@' and '`' seem to be confused. | ||||
* | Anonymous SF bug report #128053 point out that the #ifdef for | Guido van Rossum | 2001-01-08 | 1 | -1/+1 |
| | | | | | including "tmpfile" in the posix_methods[] array is wrong -- should be HAVE_TMPFILE, not HAVE_TMPNAM. | ||||
* | Fix problems with validation of import statement parse trees. | Fred Drake | 2001-01-07 | 1 | -5/+24 |
| | | | | This closes SF bug #127271. | ||||
* | Patch #103012: Update fpectlmodule for current glibc; | Andrew M. Kuchling | 2001-01-04 | 1 | -0/+7 |
| | | | | | The _setfpucw() function/macro doesn't seem to exist any more; instead there's an _FPU_SETCW macro. | ||||
* | Mark the "encoding" parameter to ExternalEntityParserCreate() as optional | Fred Drake | 2001-01-03 | 1 | -1/+1 |
| | | | | in the docstring. | ||||
* | Add the curses constants ERR and OK to the module at TG's suggestion | Andrew M. Kuchling | 2000-12-26 | 1 | -0/+3 |
| | |||||
* | Shortened / wrapped some long lines. | Fred Drake | 2000-12-23 | 1 | -8/+11 |
| | | | | Removed warning on use of panel_userptr() in PyCursesPanel_userptr(). | ||||
* | Add correction caught by Thomas Gellekum (and sitting in my e-mail) | Andrew M. Kuchling | 2000-12-22 | 1 | -1/+2 |
| | |||||
* | Add _curses_panel to Setup | Andrew M. Kuchling | 2000-12-22 | 1 | -1/+2 |
| | |||||
* | Patch #102813: add a wrapper for the panel library included with ncurses. | Andrew M. Kuchling | 2000-12-22 | 1 | -0/+495 |
| | | | | | Original version written by Thomas Gellekum, reshaped into a separate module by AMK. | ||||
* | Export C API from this module. | Andrew M. Kuchling | 2000-12-22 | 1 | -99/+47 |
| | | | | Remove several macros and #includes; py_curses.h contains them now. | ||||
* | Fix bug 126587: matchobject.groupdict() leaks memory because of a missing | Andrew M. Kuchling | 2000-12-22 | 1 | -0/+1 |
| | | | | DECREF | ||||
* | When using the latest & greatest version of Expat (currently in the Expat | Fred Drake | 2000-12-21 | 1 | -0/+7 |
| | | | | CVS repository), provide the library version information. | ||||
* | Another patch from Thomas Gellekum: add .overlay() and .overwrite() | Andrew M. Kuchling | 2000-12-21 | 1 | -3/+81 |
| | | | | window methods | ||||
* | Adding a warning about the regex module. This is the first official | Guido van Rossum | 2000-12-19 | 1 | -0/+3 |
| | | | | | use of PyErr_Warn()! This module is a good guinea pig because it's been obsolete since 1.5.0 was released. | ||||
* | Minimal fix for the complaints about pickling Unicode objects. (SF | Guido van Rossum | 2000-12-19 | 1 | -2/+48 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | bugs #126161 and 123634). The solution doesn't use the unicode-escape encoding; that has other problems (it seems not 100% reversible). Rather, it transforms the input Unicode object slightly before encoding it using raw-unicode-escape, so that the decoding will reconstruct the original string: backslash and newline characters are translated into their \uXXXX counterparts. This is backwards incompatible for strings containing backslashes, but for some of those strings, the pickling was already broken. Note that SF bug #123634 complains specifically that cPickle fails to unpickle the pickle for u'' (the empty Unicode string) correctly. This was an off-by-one error in load_unicode(). XXX Ugliness: in order to do the modified raw-unicode-escape, I've cut-and-pasted a copy of PyUnicode_EncodeRawUnicodeEscape() into this file that also encodes '\\' and '\n'. It might be nice to migrate this into the Unicode implementation and give this encoding a new name ('half-raw-unicode-escape'? 'pickle-unicode-escape'?); that would help pickle.py too. But right now I can't be bothered with the necessary infrastructural changes. | ||||
* | Adapted from a patch by Barry Scott, SF patch #102875 and SF bug | Guido van Rossum | 2000-12-18 | 1 | -3/+4 |
| | | | | #125981: closing sockets was not thread-safe. | ||||
* | Add support for gdbm2 open flags ('s' and 'u'). Add module constant | Neil Schemenauer | 2000-12-17 | 1 | -12/+54 |
| | | | | | open_flags which contains the flags supported by gdbm. Closes patch #102802. | ||||
* | Add returns_unicode to the __members__ list. | Fred Drake | 2000-12-16 | 1 | -1/+2 |
| | | | | Fix a small style consistency nit. | ||||
* | Add the -W option. | Guido van Rossum | 2000-12-15 | 1 | -1/+8 |
| | |||||
* | [Patch #102827] Fix for PR#119558, avoiding core dumps by checking for | Andrew M. Kuchling | 2000-12-15 | 1 | -7/+16 |
| | | | | malloc() returning NULL | ||||
* | Wrapper for napms() function, contributed by Thomas Gellekum <tg@FreeBSD.org> | Andrew M. Kuchling | 2000-12-15 | 1 | -1/+50 |
| | |||||
* | The Mac C library (MSL from CodeWarrior 6) and I/O library (GUSI | Jack Jansen | 2000-12-12 | 1 | -2/+2 |
| | | | | | 2.1.3) finally agree on when the epoch is, so the code to convert epochs has been disabled. | ||||
* | Add URL with info for PIL. | Guido van Rossum | 2000-12-12 | 1 | -0/+1 |
| | |||||
* | SF bug 110843: Low FD_SETSIZE limit on Win32 (PR#41). Boosted to 512. | Tim Peters | 2000-12-12 | 1 | -1/+10 |
| | |||||
* | Trivial typo fix, submitted by Charles Waldman (SF patch #102794). | Guido van Rossum | 2000-12-12 | 1 | -1/+1 |
| | |||||
* | validate_varargslist(): Fix two bugs in this function, one that affected | Fred Drake | 2000-12-11 | 1 | -11/+20 |
| | | | | | | | it when *args and/or **kw are used, and one when they are not. This closes bug #125375: "parser.tuple2ast() failure on valid parse tree". | ||||
* | The C+ compiler is called $(CXX) these days, not CCC. | Guido van Rossum | 2000-12-06 | 1 | -5/+5 |
| | | | | This fixes SF Bug #124478. | ||||
* | posix_getlogin(): Be more cautious about interpreting a NULL from | Fred Drake | 2000-12-06 | 1 | -1/+1 |
| | | | | | getlogin() -- it is not clear that a NULL is always an error. | ||||
* | posix_getlogin(): Handle the possibility that getlogin() can return | Fred Drake | 2000-12-06 | 1 | -3/+12 |
| | | | | | | | NULL without setting errno; observed on Linux Mandrake 7.2 by an anonymous user. This closes bug #124758. | ||||
* | Patch by Michael Hudson to clarify the error message from | Guido van Rossum | 2000-12-01 | 1 | -1/+7 |
| | | | | getsockaddrarg when the address is not a tuple. | ||||
* | Clarify two comments | Andrew M. Kuchling | 2000-11-30 | 1 | -2/+2 |
| | |||||
* | Update dependencies per /F. | Guido van Rossum | 2000-11-28 | 1 | -1/+1 |
| | |||||
* | Patch #102412 from mwh: Add support for the setupterm() function, to | Andrew M. Kuchling | 2000-11-18 | 1 | -15/+76 |
| | | | | initialize the terminal without necessarily calling initscr() | ||||
* | Allow new.function() called with explicit 3rd arg of None, as | Guido van Rossum | 2000-11-13 | 1 | -1/+6 |
| | | | | | | documented, and as is reasonable (since it is optional, but there's another argument following it that may require you to specify a value). This solves SF bug 121887. | ||||
* | Fix for SF bug 117402, crashes on str(array) and repr(array). This was an | Tim Peters | 2000-11-10 | 1 | -3/+5 |
| | | | | | unfortunate consequence of somebody switching from PyArg_Parse to PyArg_ParseTuple but without changing the argument from a NULL to a tuple. | ||||
* | Patch #102278: add tparm() function to _curses module | Andrew M. Kuchling | 2000-11-07 | 1 | -4/+55 |
| | |||||
* | Added 38,642 missing characters to the Unicode database (first-last | Fredrik Lundh | 2000-11-03 | 1 | -96/+114 |
| | | | | | | | ranges) -- but thanks to the 2.0 compression scheme, this doesn't add a single byte to the resulting binaries (!) Closes bug #117524 | ||||
* | Move our own getopt() implementation to _PyOS_GetOpt(), and use it | Thomas Wouters | 2000-11-03 | 1 | -16/+12 |
| | | | | | | | | | regardless of whether the system getopt() does what we want. This avoids the hassle with prototypes and externs, and the check to see if the system getopt() does what we want. Prefix optind, optarg and opterr with _PyOS_ to avoid name clashes. Add new include file to define the right symbols. Fix Demo/pyserv/pyserv.c to include getopt.h itself, instead of relying on Python to provide it. | ||||
* | Patch from Randall Hopper to fix PR #116172, "curses module fails to | Andrew M. Kuchling | 2000-11-01 | 1 | -4/+38 |
| | | | | | | | build on SGI": * Check for 'sgi' preprocessor symbol, not '__sgi__' * Surround individual character macros with #ifdef's, instead of making them all rely on STRICT_SYSV_CURSES | ||||
* | ParserCreate(): Added test that the namespace_separator value, if given, | Fred Drake | 2000-10-29 | 1 | -0/+9 |
| | | | | | | | has the required length. initpyexpat(): Provide the type object for the ParserCreate() return value as XMLParserType. | ||||
* | Do not echo the echo command with the message telling the user that Setup | Fred Drake | 2000-10-29 | 1 | -1/+1 |
| | | | | may be out of date. | ||||
* | Do not release unallocated Tcl objects. Closes #117278 and #117167. | Martin v. Löwis | 2000-10-29 | 1 | -3/+8 |
| | |||||
* | -- properly reset groups in findall (bug #117612) | Fredrik Lundh | 2000-10-28 | 1 | -15/+18 |
| | | | | | | | | -- fixed negative lookbehind to work correctly at the beginning of the target string (bug #117242) -- improved syntax check; you can no longer refer to a group inside itself (bug #110866) | ||||
* | Rename Setup.in to Setup.dist, and assume that configure will create | Fred Drake | 2000-10-26 | 3 | -13/+9 |
| | | | | Setup (instead of creating it from the Makefile). | ||||
* | Update a comment to be correct. | Fred Drake | 2000-10-26 | 1 | -3/+3 |
| | |||||
* | Ka-Ping Yee <ping@lfw.org>: | Fred Drake | 2000-10-24 | 3 | -52/+52 |
| | | | | | | Changes to error messages to increase consistency & clarity. This (mostly) closes SourceForge patch #101839. | ||||
* | t_bootstram(): Use PySys_WriteStderr() instead of fprintf(stderr,...). | Fred Drake | 2000-10-20 | 1 | -1/+1 |
| | | | | This closes bug #117324. |