Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 *. | ||||
* | Nobody on python-dev seemed particularly bothered that Hotshot generates half- | Armin Rigo | 2005-12-06 | 1 | -34/+2 |
| | | | | meaningless numbers, but I figured out I would fix that bug anyway. | ||||
* | Bug #869197: setgroups rejects long integer argument | Georg Brandl | 2005-11-22 | 1 | -6/+31 |
| | |||||
* | [Patch #1350573] zlib.crc32 doesn't handle 0xffffffff seed. Add tests and ↵ | Andrew M. Kuchling | 2005-11-22 | 1 | -2/+2 |
| | | | | bugfix. Bug reported by John Schmidt; bugfix by Danny Yoo. | ||||
* | update busted comment | Fred Drake | 2005-11-11 | 1 | -1/+2 |
| | |||||
* | similar to SF bug 847019: a quick check in the time() constructor, which | Armin Rigo | 2005-11-07 | 1 | -1/+2 |
| | | | | | | accepts strings only for unpickling reasons. This check prevents the honest mistake of passing a string like '2:59.0' to time() and getting an insane object. | ||||
* | Bug #1346533, select.poll() doesn't raise an error if timeout > sys.maxint | Neal Norwitz | 2005-11-03 | 1 | -0/+2 |
| | | | | | | Need to check return result of PyInt_AsLong() Will backport. | ||||
* | Whitespace cleanup. | Walter Dörwald | 2005-11-02 | 1 | -27/+27 |
| | |||||
* | Cleanup the previous checkin. | Neal Norwitz | 2005-11-02 | 1 | -1/+4 |
| | | | | | Close the fd in the close method and invalidated it. Don't try to close a second time when deallocating. | ||||
* | Bug #1344508, Fix UNIX mmap leaking file descriptors. Will backport. | Neal Norwitz | 2005-11-02 | 1 | -0/+1 |
| | |||||
* | Remove .cvsignore files, as they live in svn:ignore | Martin v. Löwis | 2005-10-30 | 1 | -9/+0 |
| | | | | properties now. | ||||
* | Fix a bunch of imports to use code.h instead of compile.h. | Jeremy Hylton | 2005-10-21 | 4 | -4/+1 |
| | | | | Remove duplicate declarations from compile.h | ||||
* | Merge ast-branch to head | Jeremy Hylton | 2005-10-20 | 2 | -3/+6 |
| | | | | | | | | | | This change implements a new bytecode compiler, based on a transformation of the parse tree to an abstract syntax defined in Parser/Python.asdl. The compiler implementation is not complete, but it is in stable enough shape to run the entire test suite excepting two disabled tests. | ||||
* | Get bsddb module to compile with version 3.2 of BSD DB. | Neal Norwitz | 2005-10-20 | 1 | -0/+8 |
| | |||||
* | Change the internal "undefined codepoint" mark for CJKCodecs decoders | Hye-Shik Chang | 2005-10-06 | 1 | -1/+4 |
| | | | | | from U+FFFD to U+FFFE which is considered more appropriate. (from MAL's comment) | ||||
* | SF #1313496: bisect C replacement doesn't accept named args | Raymond Hettinger | 2005-10-05 | 1 | -22/+26 |
| | |||||
* | SF Bug # 941346, AIX shared library fix | Neal Norwitz | 2005-10-03 | 1 | -0/+4 |
| | | | | | | | | Since I can't test this, I'm just adding a comment. If we get access to AIX boxes, we can test this and really resolve. Anyone from IBM want to offer help? Backport candidate I suppose. | ||||
* | SF bug #887946, segfault if redirecting directory | Neal Norwitz | 2005-10-03 | 1 | -0/+8 |
| | | | | | | | Also provide a warning if a directory is passed on the command line. Add minimal command line test. Will backport. | ||||
* | Patch #1309009, Fix segfault in pyexpat when the XML document is | Neal Norwitz | 2005-09-30 | 1 | -1/+6 |
| | | | | | | in latin_1, but Python incorrectly assumes it is in UTF-8 format Will backport. | ||||
* | Fix parse errors in readline module when compiling without threads. | Georg Brandl | 2005-09-29 | 1 | -0/+2 |
| | |||||
* | Commit memory leaking fix. | Georg Brandl | 2005-09-25 | 1 | -2/+6 |
| | |||||
* | Convert iterator __len__() methods to a private API. | Raymond Hettinger | 2005-09-24 | 2 | -15/+23 |
| | |||||
* | Patch #1288833: Removed thread lock from socket.getaddrinfo on | Hye-Shik Chang | 2005-09-24 | 1 | -1/+6 |
| | | | | | FreeBSD 5.3 and later versions which got thread-safe getaddrinfo(3). (Reported by Maxim Sobolev) | ||||
* | Patches #1298449 and #1298499: Add some missing checks for error | Michael W. Hudson | 2005-09-22 | 1 | -7/+15 |
| | | | | | | returns in cStringIO.c. Thanks to Andrew Bennetts. This must be a backport candidate. | ||||
* | SF Patch #1297028, cjkcodecs does not initialize type pointer | Neal Norwitz | 2005-09-21 | 1 | -0/+4 |
| | | | | | | | Fix segfault. I tried to write a test, but it wouldn't crash when running regrtest. This really should have some sort of test. Should definitely be backported. | ||||
* | C89 compliance. | Armin Rigo | 2005-09-20 | 1 | -2/+2 |
| | |||||
* | Remove unnecessary/extra parens when returning a value. | Neal Norwitz | 2005-09-19 | 1 | -6/+6 |
| |