Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _compile(): raise an exception if downcasting to SRE_CODE | Tim Peters | 2006-01-21 | 1 | -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 Norwitz | 2006-01-19 | 73 | -0/+145 |
| | | | | Probably should be backported. | ||||
* | Generate getbuildinfo.o each time the linker is invoked; | Martin v. Löwis | 2006-01-18 | 1 | -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 long | Neal Norwitz | 2006-01-17 | 1 | -1/+1 |
| | |||||
* | Get socketmodule to build after adding netlink support. | Neal Norwitz | 2006-01-16 | 2 | -0/+5 |
| | |||||
* | the implementation uses ZipImportError, not ZipImporterError... | Fredrik Lundh | 2006-01-15 | 1 | -1/+1 |
| | |||||
* | Change build format of netlink addresses. | Martin v. Löwis | 2006-01-15 | 1 | -1/+1 |
| | |||||
* | Patch #1103116: AF_NETLINK sockets basic support. | Martin v. Löwis | 2006-01-14 | 2 | -1/+62 |
| | |||||
* | Fix SF bug #1402308, segfault when using mmap(-1, ...) | Neal Norwitz | 2006-01-11 | 1 | -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 work | Neal Norwitz | 2006-01-10 | 1 | -3/+3 |
| | | | | | | Fix signatures to conform to doc (also fixed ungetmouse()). Will backport. | ||||
* | Bug #1400115, Fix segfault when calling curses.panel.userptr() | Neal Norwitz | 2006-01-09 | 1 | -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 Norwitz | 2006-01-08 | 1 | -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 Norwitz | 2006-01-08 | 1 | -0/+4 |
| | | | | HASH_OBJ_CONSTRUCTOR | ||||
* | Fix icc warnings: strlen() returns size_t | Neal Norwitz | 2006-01-08 | 1 | -4/+5 |
| | |||||
* | Fix icc warnings: using wrong enum type | Neal Norwitz | 2006-01-07 | 1 | -2/+2 |
| | |||||
* | Fix icc warnings: extra semi-colon and signed vs unsigned | Neal Norwitz | 2006-01-07 | 1 | -8/+8 |
| | |||||
* | Fix icc warnings: extra semi-colon | Neal Norwitz | 2006-01-07 | 2 | -3/+3 |
| | |||||
* | Py_GetBuildInfo(): Squash compiler warnings. | Tim Peters | 2006-01-06 | 1 | -3/+3 |
| | | | | Locals `revision` and `branch` were const-incorrect. | ||||
* | Deal with empty svn_revisions. | Martin v. Löwis | 2006-01-06 | 1 | -1/+1 |
| | |||||
* | Drop sys.build_number. Add sys.subversion. | Martin v. Löwis | 2006-01-05 | 1 | -18/+11 |
| | |||||
* | squash compiler warning on Mac OSX 10.3 | Skip Montanaro | 2006-01-05 | 1 | -0/+4 |
| | |||||
* | Always set SVNVERSION to "exported" if it otherwise fails. | Martin v. Löwis | 2006-01-05 | 1 | -5/+7 |
| | |||||
* | Stop maintaining the buildno file. | Martin v. Löwis | 2006-01-05 | 1 | -5/+14 |
| | | | | Also, stop determining Unicode sizes with PyString_GET_SIZE. | ||||
* | Fix errors on 64-bit platforms. Will backport | Neal Norwitz | 2006-01-05 | 1 | -4/+4 |
| | |||||
* | Remove unneeded directories. | Martin v. Löwis | 2006-01-03 | 167 | -39686/+0 |
| | |||||
* | Import zlib into Python tree. | Martin v. Löwis | 2006-01-03 | 202 | -0/+54653 |
| | |||||
* | adding in-place operators to the operator module. | Armin Rigo | 2005-12-29 | 1 | -1/+41 |
| | |||||
* | two missing PyDoc_STR(). | Armin Rigo | 2005-12-29 | 1 | -2/+2 |
| | |||||
* | [ 959576 ] Can't build Python on POSIX w/o $HOME | Georg Brandl | 2005-12-27 | 1 | -1/+2 |
| | |||||
* | SF#1389809 | Fredrik Lundh | 2005-12-25 | 1 | -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 the | Barry Warsaw | 2005-12-19 | 1 | -26/+8 |
| | | | | | use of $(srcdir) in Makefile.pre.in so builds outside the source dir still work. | ||||
* | Remove extra parens | Neal Norwitz | 2005-12-19 | 1 | -1/+1 |
| | |||||
* | Fix SF bug #1072182, problems with signed characters. | Neal Norwitz | 2005-12-19 | 6 | -6/+7 |
| | | | | Most of these can be backported. | ||||
* | Handle a couple of use cases discussed in python-dev w.r.t. calculating the | Barry Warsaw | 2005-12-18 | 1 | -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 Neal | Fredrik Lundh | 2005-12-18 | 1 | -0/+4 |
| | | | | Norwitz) | ||||
* | SF Patch #1365916, mmap fails on AMD64 | Neal Norwitz | 2005-12-18 | 1 | -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 Warsaw | 2005-12-18 | 1 | -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 dictionary | Fredrik Lundh | 2005-12-17 | 1 | -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 Lundh | 2005-12-16 | 1 | -4/+7 |
| | |||||
* | updating to cElementTree 1.0.5 (step 2 of 3) | Fredrik Lundh | 2005-12-16 | 1 | -0/+2766 |
| | |||||
* | updating to cElementTree 1.0.5 | Fredrik Lundh | 2005-12-16 | 1 | -2723/+0 |
| | |||||
* | added PSG licensing blurb | Fredrik Lundh | 2005-12-14 | 1 | -0/+3 |
| | |||||
* | renamed to _elementtree (for Python 2.5) | Fredrik Lundh | 2005-12-14 | 1 | -4/+4 |
| | |||||
* | copied cElementTree 1.0.4 to Modules | Fredrik Lundh | 2005-12-14 | 1 | -0/+2720 |
| | |||||
* | Added the 'ULL' prefix to the unsigned long long literal constants. | Armin Rigo | 2005-12-14 | 1 | -99/+99 |
| | | | | Supresses numerous pages of compiler warnings. | ||||
* | moved magic into structure (mainly to simplify the client code) | Fredrik Lundh | 2005-12-13 | 1 | -5/+5 |
| | | | | added missing API hooks | ||||
* | renamed dispatch -> capi to match other CAPI implementations | Fredrik Lundh | 2005-12-13 | 1 | -24/+24 |
| | | | | (e.g. cStringIO, ucnhash, etc) | ||||
* | added cobject-based expat dispatch mechanism to pyexpat | Fredrik Lundh | 2005-12-13 | 1 | -0/+31 |
| | |||||
* | Bug #1290333: Added a workaround for cjkcodecs' _codecs_cn module | Hye-Shik Chang | 2005-12-12 | 1 | -0/+8 |
| | | | | build problem on AIX. | ||||
* | Add const to several API functions that take char *. | Jeremy Hylton | 2005-12-10 | 20 | -113/+124 |
| | | | | | | | | | | | | | | | | | | | In C++, it's an error to pass a string literal to a char* function without a const_cast(). Rather than require every C++ extension module to put a cast around string literals, fix the API to state the const-ness. I focused on parts of the API where people usually pass literals: PyArg_ParseTuple() and friends, Py_BuildValue(), PyMethodDef, the type slots, etc. Predictably, there were a large set of functions that needed to be fixed as a result of these changes. The most pervasive change was to make the keyword args list passed to PyArg_ParseTupleAndKewords() to be a const char *kwlist[]. One cast was required as a result of the changes: A type object mallocs the memory for its tp_doc slot and later frees it. PyTypeObject says that tp_doc is const char *; but if the type was created by type_new(), we know it is safe to cast to char *. |