summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* added "getcode" and "getname" methods to the ucnhash module (they'reFredrik Lundh2001-01-191-13/+58
| | | | | probably more useful for the test code than for any applications, but one never knows...)
* refactored the unicodeobject/ucnhash interface, to hide theFredrik Lundh2001-01-191-81/+74
| | | | | | | implementation details inside the ucnhash module. also cleaned up the unicode copyright blurb a little; Secret Labs' internal revision history isn't that interesting...
* SF Patch #103185, by jlt63: Some more standard modules cleanup for CygwinGuido van Rossum2001-01-191-1/+2
| | | | Support building this as a DLL under Cygwin.
* Support building this as a DLL under Cygwin.Guido van Rossum2001-01-191-2/+5
|
* Use openssl/*.h to include the OpenSSL header filesAndrew M. Kuchling2001-01-181-6/+6
|
* Same treatment as listobject.c:Guido van Rossum2001-01-181-67/+156
| | | | | | | | | | | | - In count(), remove(), index(): call RichCompare(Py_EQ). - Get rid of array_compare(), in favor of new array_richcompare() (a near clone of list_compare()). - Aligned items in array_methods initializer and comments for type struct initializer. - Folded a few long lines.
* The signal module has to be compiled statically, so add it to Setup.distAndrew M. Kuchling2001-01-171-0/+3
| | | | and remove support for it from setup.py
* strop doesn't actually seem to be neededAndrew M. Kuchling2001-01-171-1/+0
|
* Restore lost AFMT_S16_NE entry.Ka-Ping Yee2001-01-171-0/+1
|
* Patch #102588 / PEP 229:Andrew M. Kuchling2001-01-172-392/+7
| | | | | | | The final piece of this change... Strip down Setup.config.in and Setup.dist to the minimal sets required to get a working Python; setup.py will handle the rest
* Eric the half-a-wit, driven to berserk rage after repeatedly doingEric S. Raymond2001-01-172-1/+18
| | | | | | | | | | | | | | builds during which he forgot to uncomment crucial library lines in Setup, walks into Guido's East End nightclub with a tactical nuclear weapon on his shoulder. Said nuclear weapon is promptly deployed exactly where it will do the most good, right in the middle of configure.in. With this patch, the set of libraries autoconfigured in is extended to include ndbm, gdbm, and crypt. This essentially eliminates any need to tweak Setup for a normal Linux build. "'E was a fair man. Cruel, but fair."
* bumped SRE version number to 2.1. cleaned up and added 1.5.2Fredrik Lundh2001-01-161-25/+41
| | | | compatibility patches.
* fixed a memory leak in pattern cleanup (patch #103248 by cgw)Fredrik Lundh2001-01-161-2/+6
|
* Plug memory leak.Neil Schemenauer2001-01-161-1/+2
|
* better format names and error messagesKa-Ping Yee2001-01-151-13/+12
|
* Committing patch #103216, autodetect of dbmmodule support and buildingBarry Warsaw2001-01-152-1/+7
| | | | | | of dbmmodule dynamically by default (otherwise it can pull in dependencies with libdb that croak pybsddb3). This change moves the Setup line for dbmmodule to Setup.config.in.
* added "magic" number to the _sre module, to avoid weird errors causedFredrik Lundh2001-01-152-1/+10
| | | | by compiler/engine mismatches
* -- don't use recursion for unbounded non-greedy repeatFredrik Lundh2001-01-141-2/+13
| | | | | | | | (bugs #115903, #115696) This is based on a patch by Darrel Gallion. I'm not 100% sure about this fix, but I haven't managed to come up with any test case it cannot handle...
* SRE fixes for 2.1 alpha:Fredrik Lundh2001-01-142-28/+40
| | | | | | | | | | -- added some more docstrings -- fixed typo in scanner class (#125531) -- the multiline flag (?m) should't affect the \Z operator (#127259) -- fixed non-greedy backtracking bug (#123769, #127259) -- added sre.DEBUG flag (currently dumps the parsed pattern structure) -- fixed a couple of glitches in groupdict (the #126587 memory leak had already been fixed by AMK)
* SF bug 128713: type(mmap_object) blew up on Linux.Tim Peters2001-01-141-3/+4
|
* Conform the new module to /the/ C style.Thomas Wouters2001-01-111-5/+9
| | | | Noone but me cares, but Guido said to go ahead and fix it if it bothered me.
* Move the _socket module closer to the SSL-_socket line (mmap andThomas Wouters2001-01-111-2/+5
| | | | | | xreadlines inserted themselves inbetween the two) and clarify that the normal socket module should be commented out. (Someone also suggested the latter on c.l.py some time ago, I forget who, sorry.)
* SF Patch #102357 by bbum: Add support for frameworks and objective-cGuido van Rossum2001-01-101-1/+6
| | | | | | | source. Uesful for both GnuStep and for OSXS/OSX/Darwin. (Note: I changed $(CCC) to $(CXX) since that's now the name of the C++ compiler. Please test!
* Final part of SF patch #102409 by jlt63: Cygwin Python DLL and SharedGuido van Rossum2001-01-102-1/+23
| | | | | | | Extension Patch. These are the changes to the Modules Makefile and makesetup script for Cygwin.
* Part of SF patch #102409 by jlt63 to support building these modulesGuido van Rossum2001-01-104-11/+10
| | | | under CYGWIN as shared libraries (DLLs).
* Adapted version of Eric Raymond's patches to automatically configureGuido van Rossum2001-01-102-8/+17
| | | | | | | 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.
* Windows mmap should (as the docs probably <wink> say) create a mappingTim Peters2001-01-101-2/+2
| | | | | without a name when the optional tagname arg isn't specified. Was actually creating a mapping with an empty string as the name.
* Assorted xreadlines problems:Tim Peters2001-01-091-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 someGuido van Rossum2001-01-092-0/+121
| | | | changes for safety and tuning.
* Address a bug in the uuencode decoder, reported bu "donut" in SF bugGuido van Rossum2001-01-091-3/+3
| | | | #127718: '@' and '`' seem to be confused.
* Anonymous SF bug report #128053 point out that the #ifdef forGuido van Rossum2001-01-081-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 Drake2001-01-071-5/+24
| | | | This closes SF bug #127271.
* Patch #103012: Update fpectlmodule for current glibc;Andrew M. Kuchling2001-01-041-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 optionalFred Drake2001-01-031-1/+1
| | | | in the docstring.
* Add the curses constants ERR and OK to the module at TG's suggestionAndrew M. Kuchling2000-12-261-0/+3
|
* Shortened / wrapped some long lines.Fred Drake2000-12-231-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. Kuchling2000-12-221-1/+2
|
* Add _curses_panel to SetupAndrew M. Kuchling2000-12-221-1/+2
|
* Patch #102813: add a wrapper for the panel library included with ncurses.Andrew M. Kuchling2000-12-221-0/+495
| | | | | Original version written by Thomas Gellekum, reshaped into a separate module by AMK.
* Export C API from this module.Andrew M. Kuchling2000-12-221-99/+47
| | | | Remove several macros and #includes; py_curses.h contains them now.
* Fix bug 126587: matchobject.groupdict() leaks memory because of a missingAndrew M. Kuchling2000-12-221-0/+1
| | | | DECREF
* When using the latest & greatest version of Expat (currently in the ExpatFred Drake2000-12-211-0/+7
| | | | CVS repository), provide the library version information.
* Another patch from Thomas Gellekum: add .overlay() and .overwrite()Andrew M. Kuchling2000-12-211-3/+81
| | | | window methods
* Adding a warning about the regex module. This is the first officialGuido van Rossum2000-12-191-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. (SFGuido van Rossum2000-12-191-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 bugGuido van Rossum2000-12-181-3/+4
| | | | #125981: closing sockets was not thread-safe.
* Add support for gdbm2 open flags ('s' and 'u'). Add module constantNeil Schemenauer2000-12-171-12/+54
| | | | | open_flags which contains the flags supported by gdbm. Closes patch #102802.
* Add returns_unicode to the __members__ list.Fred Drake2000-12-161-1/+2
| | | | Fix a small style consistency nit.
* Add the -W option.Guido van Rossum2000-12-151-1/+8
|
* [Patch #102827] Fix for PR#119558, avoiding core dumps by checking forAndrew M. Kuchling2000-12-151-7/+16
| | | | malloc() returning NULL