Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix the reference count errors revealed by the test suite... | Michael W. Hudson | 2004-08-03 | 1 | -1/+3 | |
| | ||||||
* | Restore compilation on MSVC++ 6.0 | Raymond Hettinger | 2004-08-03 | 1 | -0/+4 | |
| | ||||||
* | SF bug #808756: refleaks in _hotshot.c. | Armin Rigo | 2004-08-03 | 1 | -2/+10 | |
| | ||||||
* | update to Expat 1.95.8 | Fred Drake | 2004-08-03 | 7 | -361/+789 | |
| | ||||||
* | Fix [ 1001018 ]: Windows: setdefaulttimeout causes unnecessary timeouts on | Mark Hammond | 2004-08-03 | 1 | -3/+24 | |
| | | | | connect error | |||||
* | Any call to insort_{left,right} with a non-list leaked a reference to None | Michael W. Hudson | 2004-08-02 | 1 | -6/+10 | |
| | | | | (or to whatever the 'insert' method chose to return). | |||||
* | PEP-0318, @decorator-style. In Guido's words: | Anthony Baxter | 2004-08-02 | 1 | -9/+62 | |
| | | | | | "@ seems the syntax that everybody can hate equally" Implementation by Mark Russell, from SF #979728. | |||||
* | SF bug #999776, zlib home page wrong | Neal Norwitz | 2004-07-29 | 1 | -1/+1 | |
| | | | | Backport candidate. | |||||
* | Remove CJKCodecs implementation of UTF-7 and UTF-8 codec which | Hye-Shik Chang | 2004-07-28 | 1 | -560/+0 | |
| | | | | | | aren't intended to be part of Python distributiuon. This was accidently imported on mass converting from standalone version of CJKCodecs. | |||||
* | Switch arguments to memset (kudos to MSVC C4318 for finding that) | Martin v. Löwis | 2004-07-27 | 1 | -2/+2 | |
| | ||||||
* | Patch #995766: Keyword argument support in cPickle. | Martin v. Löwis | 2004-07-27 | 1 | -15/+21 | |
| | ||||||
* | This change implements the following gettext features, as | Gustavo Niemeyer | 2004-07-22 | 1 | -0/+22 | |
| | | | | | | | | | | | | | | | | | | | | discussed recently in python-dev: In _locale module: - bind_textdomain_codeset() binding In gettext module: - bind_textdomain_codeset() function - lgettext(), lngettext(), ldgettext(), ldngettext(), which return translated strings encoded in preferred system encoding, if bind_textdomain_codeset() was not used. - Added equivalent functionality in translate() function and catalog classes. Every change was also documented. | |||||
* | Fix SF #994580, typo in time.tzsets docstring. Backport candidate | Neal Norwitz | 2004-07-20 | 1 | -1/+1 | |
| | ||||||
* | Patch #984654: Add more address family constants. | Martin v. Löwis | 2004-07-19 | 1 | -0/+60 | |
| | ||||||
* | Patch #993173: Enable audioop on 64-bit platforms. | Martin v. Löwis | 2004-07-19 | 1 | -0/+1 | |
| | ||||||
* | Silence a GCC unused variable warning in debug builds. | Raymond Hettinger | 2004-07-19 | 1 | -2/+1 | |
| | ||||||
* | Replace an extern magic to assigning declared pointer from array's. | Hye-Shik Chang | 2004-07-18 | 1 | -26/+12 | |
| | | | | And unifdef(1) compatibility blocks. | |||||
* | Remove unused CNS-11643 mapping which shouldn't merged into main Python | Hye-Shik Chang | 2004-07-18 | 1 | -11864/+0 | |
| | | | | yet. | |||||
* | Whitespace normalization, via reindent.py. | Tim Peters | 2004-07-18 | 1 | -391/+391 | |
| | ||||||
* | Repair MS compiler warning about signed-vs-unsigned mismatch. The plane | Tim Peters | 2004-07-18 | 1 | -2/+2 | |
| | | | | and width clearly don't need to be signed. | |||||
* | Added a comment explaining the extern ugliness. | Tim Peters | 2004-07-18 | 1 | -0/+6 | |
| | ||||||
* | Changed the "predefinitions" of codec_list and mapping_list from static | Tim Peters | 2004-07-18 | 1 | -2/+2 | |
| | | | | | | | | to extern. It's not legal C to say static whatever[]; because the size isn't given. Presumably this is a gcc extension. | |||||
* | Bring CJKCodecs 1.1 into trunk. This completely reorganizes source | Hye-Shik Chang | 2004-07-18 | 68 | -40197/+34075 | |
| | | | | | | and installed layouts to make maintenance simple and easy. And it also adds four new codecs; big5hkscs, euc-jis-2004, shift-jis-2004 and iso2022-jp-2004. | |||||
* | Apply VISIT macro. | Raymond Hettinger | 2004-07-15 | 1 | -5/+3 | |
| | ||||||
* | Moved SunPro warning suppression into pyport.h and out of individual | Nicholas Bastin | 2004-07-15 | 2 | -8/+0 | |
| | | | | modules and objects. | |||||
* | Moved PyMac_GetScript() to _localemodule, which is the only place where | Jack Jansen | 2004-07-15 | 1 | -2/+26 | |
| | | | | it is used, and made it private. Should fix #978662. | |||||
* | Exercise Jim's VISIT macro. | Raymond Hettinger | 2004-07-15 | 1 | -129/+24 | |
| | ||||||
* | Fix typo. | Hye-Shik Chang | 2004-07-15 | 1 | -1/+1 | |
| | ||||||
* | Implemented thread-local data as proposed on python-dev: | Jim Fulton | 2004-07-14 | 1 | -0/+260 | |
| | | | | http://mail.python.org/pipermail/python-dev/2004-June/045785.html | |||||
* | [Patch #947352 from Jason Andryuk] Add support for AF_PACKET hardware addresses | Andrew M. Kuchling | 2004-07-10 | 1 | -6/+15 | |
| | ||||||
* | Change some declarations from ``char *`` to ``const char *``. Also added | Brett Cannon | 2004-07-10 | 1 | -6/+8 | |
| | | | | | docstrings for decode and encode; accidentally were left out of the PyMethodDev table. | |||||
* | [Patch #909007] Enable a bunch of safe bug workarounds in OpenSSL, for ↵ | Andrew M. Kuchling | 2004-07-10 | 1 | -0/+1 | |
| | | | | compatibility with various broken SSL implementations out there. | |||||
* | [Patch #945642] Fix non-blocking SSL sockets, which blocked on reads/writes ↵ | Andrew M. Kuchling | 2004-07-10 | 1 | -26/+60 | |
| | | | | | | | in Python 2.3. (It turns out that the Debian unstable packaging of Python 2.3.4 includes this patch.) Patch by Tino Lange. | |||||
* | Add comments at end of every #endif and fix ones already there when for closing | Brett Cannon | 2004-07-10 | 1 | -11/+11 | |
| | | | | off #ifndef's. | |||||
* | [Patch #982665 ] add SO_EXCLUSIVEADDRUSE constant | Andrew M. Kuchling | 2004-07-10 | 1 | -0/+4 | |
| | ||||||
* | Add generic codecs.encode() and .decode() APIs that don't impose | Marc-André Lemburg | 2004-07-10 | 1 | -4/+72 | |
| | | | | any restriction on the return type (like unicode.encode() et al. do). | |||||
* | Add an #ifdef __APPLE__ around typedef of foreachfunc to match Apple's | Brett Cannon | 2004-07-10 | 1 | -0/+4 | |
| | | | | | | | incorrect declaration for ypall_callback in /usr/include/rpcsvc/ypcInt.h . Shouldn't hurt any code since the differences are unsigned long instead of int and void * instead of char *. Removes warning about improper function pointer assignment during compilation. | |||||
* | Fix memory leak and bump the version per Greg | Neal Norwitz | 2004-07-09 | 1 | -2/+2 | |
| | ||||||
* | Cleanup support for older pythons (perhaps it should be removed?) | Neal Norwitz | 2004-07-09 | 1 | -53/+10 | |
| | ||||||
* | * balance the left/right search for getitem. | Raymond Hettinger | 2004-07-09 | 1 | -15/+13 | |
| | | | | | * use assertions instead of tests after internal calls that can't fail. * expand test coverage | |||||
* | PyThreadState_Swap(NULL) didn't do what I thought it did. Fixes | Michael W. Hudson | 2004-07-08 | 1 | -1/+1 | |
| | | | | [ 987287 ] Python 2.4a1, interpreter hanging on Keyboard Interrupt | |||||
* | This closes patch: | Michael W. Hudson | 2004-07-07 | 1 | -8/+89 | |
| | | | | | | | | | | | | | | | | | [ 960406 ] unblock signals in threads although the changes do not correspond exactly to any patch attached to that report. Non-main threads no longer have all signals masked. A different interface to readline is used. The handling of signals inside calls to PyOS_Readline is now rather different. These changes are all a bit scary! Review and cross-platform testing much appreciated. | |||||
* | [Bug #982806] The default argument for opening GDBM files is bogus. Patch ↵ | Andrew M. Kuchling | 2004-07-07 | 1 | -1/+1 | |
| | | | | #984672 by James Lamanna | |||||
* | OS/2 EMX needs addrinfo.h for code included from getaddrinfo.c | Andrew MacIntyre | 2004-07-07 | 1 | -0/+4 | |
| | ||||||
* | Make weak references subclassable: | Fred Drake | 2004-07-02 | 1 | -22/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | - weakref.ref and weakref.ReferenceType will become aliases for each other - weakref.ref will be a modern, new-style class with proper __new__ and __init__ methods - weakref.WeakValueDictionary will have a lighter memory footprint, using a new weakref.ref subclass to associate the key with the value, allowing us to have only a single object of overhead for each dictionary entry (currently, there are 3 objects of overhead per entry: a weakref to the value, a weakref to the dictionary, and a function object used as a weakref callback; the weakref to the dictionary could be avoided without this change) - a new macro, PyWeakref_CheckRefExact(), will be added - PyWeakref_CheckRef() will check for subclasses of weakref.ref This closes SF patch #983019. | |||||
* | Adds support for DB.pget and DBCursor.pget methods. | Gregory P. Smith | 2004-06-28 | 1 | -3/+198 | |
| | | | | | Based on a patch supplied by Ian Ward <ian@arevco.ca> on the pybsddb mailing list 2004-03-26. | |||||
* | Add weakref support to all bsddb.db objects. | Gregory P. Smith | 2004-06-28 | 1 | -7/+127 | |
| | | | | | Make DBTxn objects automatically call abort() in their destructor if not yet finalized and raise a RuntimeWarning to that effect. | |||||
* | Added socket.getservbyport(), and make its second argument and that of | Barry Warsaw | 2004-06-28 | 1 | -5/+39 | |
| | | | | getservbyname() optional. Update the tests and the docs. | |||||
* | raise the module minor version. | Gregory P. Smith | 2004-06-27 | 1 | -1/+1 | |
| | ||||||
* | SF patch / bug #967763 | Gregory P. Smith | 2004-06-27 | 1 | -43/+76 | |
| | | | | | | | | | | | | Fix memory leaks revealed by valgrind and ensuing code inspection. In the existing test suite valgrind revealed two memory leaks (DB_get and DBC_set_range). Code inspection revealed that there were many other potential similar leaks (many on odd code error paths such as passing something other than a DBTxn object for a txn= parameter or in the face of an out of memory error). The most common case that would cause a leak was when using recno or queue format databases with integer keys, sometimes only with an exception exit. |