Guido van Rossum
b961920ff4
Final part of SF patch #102409 by jlt63: Cygwin Python DLL and Shared
...
Extension Patch.
These are the changes to the Modules Makefile and makesetup script for
Cygwin.
2001-01-10 21:12:18 +00:00
Guido van Rossum
5a53019b0d
Part of SF patch #102409 by jlt63 to support building these modules
...
under CYGWIN as shared libraries (DLLs).
2001-01-10 21:03:32 +00:00
Guido van Rossum
3d15bd8806
Adapted version of Eric Raymond's patches to automatically configure
...
curses and readline (for Linux, at least).
These are done as shared libraries by default, and so is bsddb -- that
seems to make the most sense.
2001-01-10 18:53:48 +00:00
Tim Peters
0d9f9dcf67
Windows mmap should (as the docs probably <wink> say) create a mapping
...
without a name when the optional tagname arg isn't specified. Was
actually creating a mapping with an empty string as the name.
2001-01-10 05:42:18 +00:00
Tim Peters
58c82f0b56
Assorted xreadlines problems:
...
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.
2001-01-09 23:26:39 +00:00
Guido van Rossum
ea3375d96b
Jeff Epler's xreadlines module, with slight reformatting and some
...
changes for safety and tuning.
2001-01-09 21:46:50 +00:00
Guido van Rossum
92d8917f83
Address a bug in the uuencode decoder, reported bu "donut" in SF bug
...
#127718 : '@' and '`' seem to be confused.
2001-01-09 02:11:57 +00:00
Guido van Rossum
e2ad633051
Anonymous SF bug report #128053 point out that the #ifdef for
...
including "tmpfile" in the posix_methods[] array is wrong -- should be
HAVE_TMPFILE, not HAVE_TMPNAM.
2001-01-08 17:51:55 +00:00
Fred Drake
711370831a
Fix problems with validation of import statement parse trees.
...
This closes SF bug #127271 .
2001-01-07 05:59:59 +00:00
Andrew M. Kuchling
5a571639fc
Patch #103012 : Update fpectlmodule for current glibc;
...
The _setfpucw() function/macro doesn't seem to exist any more;
instead there's an _FPU_SETCW macro.
2001-01-04 01:01:12 +00:00
Fred Drake
2d4ac208b5
Mark the "encoding" parameter to ExternalEntityParserCreate() as optional
...
in the docstring.
2001-01-03 15:36:25 +00:00
Andrew M. Kuchling
caefb37ee1
Add the curses constants ERR and OK to the module at TG's suggestion
2000-12-26 15:57:01 +00:00
Fred Drake
4e36d5885b
Shortened / wrapped some long lines.
...
Removed warning on use of panel_userptr() in PyCursesPanel_userptr().
2000-12-23 05:46:23 +00:00
Andrew M. Kuchling
d7d2e19922
Add correction caught by Thomas Gellekum (and sitting in my e-mail)
2000-12-22 22:03:15 +00:00
Andrew M. Kuchling
1a86cbbc32
Add _curses_panel to Setup
2000-12-22 21:57:33 +00:00
Andrew M. Kuchling
7b59ed2ebd
Patch #102813 : add a wrapper for the panel library included with ncurses.
...
Original version written by Thomas Gellekum, reshaped into a separate
module by AMK.
2000-12-22 21:54:12 +00:00
Andrew M. Kuchling
3255268777
Export C API from this module.
...
Remove several macros and #includes; py_curses.h contains them now.
2000-12-22 21:52:27 +00:00
Andrew M. Kuchling
48f224c877
Fix bug 126587: matchobject.groupdict() leaks memory because of a missing
...
DECREF
2000-12-22 14:39:10 +00:00
Fred Drake
738293d663
When using the latest & greatest version of Expat (currently in the Expat
...
CVS repository), provide the library version information.
2000-12-21 17:25:07 +00:00
Andrew M. Kuchling
9de6ffa314
Another patch from Thomas Gellekum: add .overlay() and .overwrite()
...
window methods
2000-12-21 16:22:22 +00:00
Guido van Rossum
b1d136174a
Adding a warning about the regex module. This is the first official
...
use of PyErr_Warn()! This module is a good guinea pig because it's
been obsolete since 1.5.0 was released.
2000-12-19 18:21:39 +00:00
Guido van Rossum
fb10c3f664
Minimal fix for the complaints about pickling Unicode objects. (SF
...
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.
2000-12-19 02:08:38 +00:00
Guido van Rossum
20d3fc071b
Adapted from a patch by Barry Scott, SF patch #102875 and SF bug
...
#125981 : closing sockets was not thread-safe.
2000-12-18 22:23:44 +00:00
Neil Schemenauer
e9e860faf3
Add support for gdbm2 open flags ('s' and 'u'). Add module constant
...
open_flags which contains the flags supported by gdbm. Closes patch
#102802 .
2000-12-17 07:14:13 +00:00
Fred Drake
e8f3ad560f
Add returns_unicode to the __members__ list.
...
Fix a small style consistency nit.
2000-12-16 01:48:29 +00:00