summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* - Use PY_CFLAGS when compile modules that will be part of the interpreter.Neil Schemenauer2001-01-261-3/+5
| | | | - Put shared modules in the same place as object files.
* Correct one-line typo, reported by yole @ SF, bug 130077.Guido van Rossum2001-01-251-1/+1
|
* Fix arguments for PyFrame_New(). The previous checkin used the wrongJeremy Hylton2001-01-251-1/+0
| | | | arguments, which were based on an interim development API.
* PEP 227 implementationJeremy Hylton2001-01-252-4/+13
| | | | Track changes to PyFrame_New() and PyFuntion_New().
* Let's keep things portable to non GCC compilers, please.Sjoerd Mullender2001-01-251-22/+22
| | | | You can only use mult-line strings in C if each line ends in \.
* lockf_doc: a much better description of the lockf() function, based onBarry Warsaw2001-01-251-4/+23
| | | | an eyeballing of the code.
* The array type was missing the Py_TPFLAGS_DEFAULT initializer for theGuido van Rossum2001-01-241-1/+1
| | | | | tp_flags. This will become important when I introduce Py_TPFLAGS_HAVE_RICHCOMPARE (as I should have!).
* Changes for flat makefile. Building of modules happens from toplevelNeil Schemenauer2001-01-241-12/+16
| | | | | | | directory. Modify meaning of -s option to specify the Modules directory. Add -l option to specify library source directory when building extension modules. Perhaps these names should be switched to avoid breaking old code. Add -c compiler option to when emitting rules to build object files.
* Build now happens in toplevel directory, not Modules. Don't monkey withNeil Schemenauer2001-01-241-12/+1
| | | | VPATH.
* ucnhash is no longer usedFredrik Lundh2001-01-241-22/+0
|
* ucnhash is no longer usedFredrik Lundh2001-01-241-2/+1
|
* Move uchhash functionality into unicodedata (after the recentFredrik Lundh2001-01-242-212/+229
| | | | | crop of changes, the files are small enough to do this). Also adds "name" and "lookup" functions to unicodedata.
* _PyImport_Inittab: define the exceptions module's init function.Barry Warsaw2001-01-231-1/+1
| | | | Fixes bug #121706.
* Clean up some comments and the default VERSION.Guido van Rossum2001-01-231-3/+2
|
* Get rid of weird @SET_CXX@ and @SET_DLLLIBRARY@ macro occurrences.Guido van Rossum2001-01-231-2/+2
|
* Use PyThreadState_DeleteCurrent() instead of PyThreadState_Delete()Guido van Rossum2001-01-231-2/+1
| | | | | | | and PyEval_ReleaseThread(). This fixes SF bug #125673 PyThreadState_Delete: invalid tstate (Unix only?).
* SF Patch #103185, by jlt63: Some more standard modules cleanup for CygwinGuido van Rossum2001-01-224-5/+15
|
* Fix off-by-one error in array size.Martin v. Löwis2001-01-221-1/+1
|
* unicodedatabase.[ch] are no longer used.Fredrik Lundh2001-01-222-2/+0
|
* removed unicodedatabase.[ch] references from Makefile.pre.in.Fredrik Lundh2001-01-221-3/+2
| | | | also added unicodename_db.h dependency to ucnhash.
* Fixed teensy memory leak, but doesn't help test_sax on Windows.Tim Peters2001-01-221-0/+1
|
* Move declaration of 'clnt_create()' NIS function to pyport.h, as it'sThomas Wouters2001-01-211-1/+1
| | | | | | supposed to be declared in system include files (with a proper prototype.) Should be moved to a platform-specific block if anyone finds out which broken platforms need it :-)
* Unicode nits: Don't include unicodedatabase.h no more. And make sureFredrik Lundh2001-01-211-1/+0
| | | | to build *all* tables in makeunicodedata.py.
* compress unicode decomposition tables (this saves another 55k)Fredrik Lundh2001-01-216-10680/+7429
|
* forgot to check in the new makeunicodedata.py scriptFredrik Lundh2001-01-213-8365/+8022
|
* Fix typo: MICRO instead of MINOR.Martin v. Löwis2001-01-211-1/+1
|
* Merge with 1.25 of PyXML:Martin v. Löwis2001-01-211-40/+355
| | | | | | | | | | | | Participate in garbage collection if available. Potentially decref handlers in clear_handlers. Partially reindent. Put synthetic frame object on the stack to support better error output. Expose Python codecs to pyexpat. Add new Expat 1.2 handlers and API. Fix memory leak: release self->handlers. Do not expect PyModule_AddObject and PyModule_AddStringConstant in 2.0b1. Raise exception in ParseFile.
* Make the 'time' argument to the timemodule functions strftime, asctime,Thomas Wouters2001-01-191-30/+54
| | | | | | ctime, gmtime and localtime optional, defaulting to 'the current time' in all cases. Adjust docs, add news item. Also convert all argument-handling to METH_VARARGS. Closes SF patch #103265.
* gethash/cmpname both looked beyond the end of the character name.Fredrik Lundh2001-01-191-16/+14
| | | | This patch makes u"\N{x}" a bit less dependent on pure luck...
* Minor patch from Thomas Gellekum:Andrew M. Kuchling2001-01-191-8/+3
| | | | | | * Deletes the Panel_NoArgReturnStringFunction() macro, which isn't used anymore * Adjusts two comments.
* new unicode name database (~160k)Fredrik Lundh2001-01-192-12174/+8471
|
* 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)