summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Check return results for errorsNeal Norwitz2006-02-071-0/+5
|
* Patch #1407135, bug #1424041, make mmap.mmap(-1, length) work the sameNeal Norwitz2006-02-051-10/+49
| | | | | | | | | | | on both Unix (SVR4 and BSD) and Windows. Restores behaviour of passing -1 for anonymous memory on Unix. Use MAP_ANONYMOUS instead of _ANON since the latter is deprecated according to Linux (gentoo) man pages. Should we continue to allow mmap.mmap(0, length) to work on Windows? 0 is a valid fd. Will backport bugfix portions.
* Whitespace normalizationNeal Norwitz2006-02-051-2/+2
|
* Patch #1422385: Changes to nis module to support multiple NIS domainsMartin v. Löwis2006-02-041-23/+79
|
* Drop C library for stat/fstat on Windows.Martin v. Löwis2006-02-031-117/+246
|
* maintain support for older python versions in this module so that itGregory P. Smith2006-01-301-0/+16
| | | | is ok for a standalone pybsddb source dist for use with <= 2.3.
* Add wrapper for DBEnv.set_tx_timeout method to allow time based DB_RECOVERGregory P. Smith2006-01-271-3/+18
|
* Fix bug #1413192, fix seg fault in bsddb if a txn was deleted before the env.Neal Norwitz2006-01-251-3/+6
| | | | Will backport.
* commits sourceforge patch #1407992 by neil.norwitz.Gregory P. Smith2006-01-241-7/+7
| | | | | | this fixes the bsddb db associate tests when compiled against BerkeleyDB 3.3 thru 4.1. 4.2 thru 4.4 already passed and still pass.
* Support for BerkeleyDB 4.4 (tested against 4.4.20 as well as all theGregory P. Smith2006-01-241-2/+16
| | | | | way back thru 3.2). This should be backported to the release24-maint branch.
* _compile(): raise an exception if downcasting to SRE_CODETim Peters2006-01-211-37/+40
| | | | | | | | | | | | | | | | | | loses information: OverflowError: regular expression code size limit exceeded Otherwise the compiled code is gibberish, possibly leading at least to wrong results or (as reported on c.l.py) internal sre errors at match time. I'm not sure how to test this. SRE_CODE is a 2-byte type on my box, and it's easy to create a regexp that causes the new exception to trigger here. But it may be a 4-byte type on other boxes, and creating a regexp large enough to trigger problems there would be pretty crazy. Bugfix candidate.
* Check return result from Py_InitModule*(). This API can fail.Neal Norwitz2006-01-1973-0/+145
| | | | Probably should be backported.
* Generate getbuildinfo.o each time the linker is invoked;Martin v. Löwis2006-01-181-0/+4
| | | | | try to generate SVNVERSION information if subwcrev.exe can be found.
* SF Bug #1407069, Remove extra semi-colon if there is no long longNeal Norwitz2006-01-171-1/+1
|
* Get socketmodule to build after adding netlink support.Neal Norwitz2006-01-162-0/+5
|
* the implementation uses ZipImportError, not ZipImporterError...Fredrik Lundh2006-01-151-1/+1
|
* Change build format of netlink addresses.Martin v. Löwis2006-01-151-1/+1
|
* Patch #1103116: AF_NETLINK sockets basic support.Martin v. Löwis2006-01-142-1/+62
|
* Fix SF bug #1402308, segfault when using mmap(-1, ...)Neal Norwitz2006-01-111-0/+1
| | | | | | | This didn't crash on Linux, but valgrind complained. I'm not sure if this test is valid on Windows. Will backport.
* SF bug #1400822, Extended version of _curses over{lay,write} does not workNeal Norwitz2006-01-101-3/+3
| | | | | | Fix signatures to conform to doc (also fixed ungetmouse()). Will backport.
* Bug #1400115, Fix segfault when calling curses.panel.userptr()Neal Norwitz2006-01-091-0/+5
| | | | | | without prior setting of the userptr. Will backport.
* Fix icc warnings: try to set TCL_UNIX_FD for #if TCL_WIN_SOCKET == ↵Neal Norwitz2006-01-081-0/+11
| | | | TCL_UNIX_FD. res is not used, add a XXX comment
* Fix icc warnings: HASH_OBJ_CONSTRUCTOR was not defined and using #if ↵Neal Norwitz2006-01-081-0/+4
| | | | HASH_OBJ_CONSTRUCTOR
* Fix icc warnings: strlen() returns size_tNeal Norwitz2006-01-081-4/+5
|
* Fix icc warnings: using wrong enum typeNeal Norwitz2006-01-071-2/+2
|
* Fix icc warnings: extra semi-colon and signed vs unsignedNeal Norwitz2006-01-071-8/+8
|
* Fix icc warnings: extra semi-colonNeal Norwitz2006-01-072-3/+3
|
* Py_GetBuildInfo(): Squash compiler warnings.Tim Peters2006-01-061-3/+3
| | | | Locals `revision` and `branch` were const-incorrect.
* Deal with empty svn_revisions.Martin v. Löwis2006-01-061-1/+1
|
* Drop sys.build_number. Add sys.subversion.Martin v. Löwis2006-01-051-18/+11
|
* squash compiler warning on Mac OSX 10.3Skip Montanaro2006-01-051-0/+4
|
* Always set SVNVERSION to "exported" if it otherwise fails.Martin v. Löwis2006-01-051-5/+7
|
* Stop maintaining the buildno file.Martin v. Löwis2006-01-051-5/+14
| | | | Also, stop determining Unicode sizes with PyString_GET_SIZE.
* Fix errors on 64-bit platforms. Will backportNeal Norwitz2006-01-051-4/+4
|
* Remove unneeded directories.Martin v. Löwis2006-01-03167-39686/+0
|
* Import zlib into Python tree.Martin v. Löwis2006-01-03202-0/+54653
|
* adding in-place operators to the operator module.Armin Rigo2005-12-291-1/+41
|
* two missing PyDoc_STR().Armin Rigo2005-12-291-2/+2
|
* [ 959576 ] Can't build Python on POSIX w/o $HOMEGeorg Brandl2005-12-271-1/+2
|
* SF#1389809Fredrik Lundh2005-12-251-1/+1
| | | | | | cast first PyUnicode_Decode argument to proper type (why is "char *" used for encoded byte streams, btw? shouldn't that be "void *" or, if necessary, "unsigned char *"?)
* Revert most of r41765. Don't use $Revision$ in Py_GetBuildNumber(). Keep theBarry Warsaw2005-12-191-26/+8
| | | | | use of $(srcdir) in Makefile.pre.in so builds outside the source dir still work.
* Remove extra parensNeal Norwitz2005-12-191-1/+1
|
* Fix SF bug #1072182, problems with signed characters.Neal Norwitz2005-12-196-6/+7
| | | | Most of these can be backported.
* Handle a couple of use cases discussed in python-dev w.r.t. calculating theBarry Warsaw2005-12-181-8/+26
| | | | | | | | | | Subversion revision number. First, in an svn export, there will be no .svn directory, so use an in-file $Revision$ keyword string with the keyword chrome stripped off. Also, use $(srcdir) in the Makefile.pre.in to handle the case where Python is build outside the source tree.
* Fixed None reference leaks in TreeBuilder class (reported by NealFredrik Lundh2005-12-181-0/+4
| | | | Norwitz)
* SF Patch #1365916, mmap fails on AMD64Neal Norwitz2005-12-181-12/+12
| | | | Fix some 64-bit issues due to mismatch format characters w/actual data types
* Expose Subversion revision number (calculated via "svnversion .") to Python.Barry Warsaw2005-12-181-2/+8
| | | | | | | Add C API function Py_GetBuildNumber(), add it to the interactive prompt banner (i.e. Py_GetBuildInfo()), and add it as the sys.build_number attribute. The build number is a string instead of an int because it may contain a trailing 'M' if there are local modifications.
* Fixed reference counting error when using the entity dictionaryFredrik Lundh2005-12-171-1/+0
| | | | | (reported by Chris Olds). Backported from the 1.0.6 development branch.
* updating to cElementTree 1.0.5 (step 3 of 3)Fredrik Lundh2005-12-161-4/+7
|
* updating to cElementTree 1.0.5 (step 2 of 3)Fredrik Lundh2005-12-161-0/+2766
|