summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* add constants for many error values added over the past couple ofFred Drake2004-08-041-0/+17
| | | | years
* Add a missing decref -- PyErr_SetObject increfs the 'object'!Michael W. Hudson2004-08-041-0/+1
|
* Fix a leak of a reference on None.Michael W. Hudson2004-08-041-3/+1
|
* SF #989185: Drop unicode.iswide() and unicode.width() and addHye-Shik Chang2004-08-042-1091/+1293
| | | | | | | | | | | | unicodedata.east_asian_width(). You can still implement your own simple width() function using it like this: def width(u): w = 0 for c in unicodedata.normalize('NFC', u): cwidth = unicodedata.east_asian_width(c) if cwidth in ('W', 'F'): w += 2 else: w += 1 return w
* Tkapp_New(): Rewrite in C so it compiles again.Tim Peters2004-08-041-1/+4
|
* Patch #986929: Add support for wish -sync and -use options.Martin v. Löwis2004-08-031-4/+37
|
* allow ctime(), gmtime(), and localtime() to take None as equivalent to an ↵Fred Drake2004-08-031-9/+30
| | | | | | omitted arg (closes SF bug #658254, patch #663482)
* Patch #977074: Move Encode/Decode to the top so gcc can inline them.Martin v. Löwis2004-08-031-34/+33
|
* Fix the reference count errors revealed by the test suite...Michael W. Hudson2004-08-031-1/+3
|
* Restore compilation on MSVC++ 6.0Raymond Hettinger2004-08-031-0/+4
|
* SF bug #808756: refleaks in _hotshot.c.Armin Rigo2004-08-031-2/+10
|
* update to Expat 1.95.8Fred Drake2004-08-037-361/+789
|
* Fix [ 1001018 ]: Windows: setdefaulttimeout causes unnecessary timeouts onMark Hammond2004-08-031-3/+24
| | | | connect error
* Any call to insort_{left,right} with a non-list leaked a reference to NoneMichael W. Hudson2004-08-021-6/+10
| | | | (or to whatever the 'insert' method chose to return).
* PEP-0318, @decorator-style. In Guido's words:Anthony Baxter2004-08-021-9/+62
| | | | | "@ seems the syntax that everybody can hate equally" Implementation by Mark Russell, from SF #979728.
* SF bug #999776, zlib home page wrongNeal Norwitz2004-07-291-1/+1
| | | | Backport candidate.
* Remove CJKCodecs implementation of UTF-7 and UTF-8 codec whichHye-Shik Chang2004-07-281-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öwis2004-07-271-2/+2
|
* Patch #995766: Keyword argument support in cPickle.Martin v. Löwis2004-07-271-15/+21
|
* This change implements the following gettext features, asGustavo Niemeyer2004-07-221-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 candidateNeal Norwitz2004-07-201-1/+1
|
* Patch #984654: Add more address family constants.Martin v. Löwis2004-07-191-0/+60
|
* Patch #993173: Enable audioop on 64-bit platforms.Martin v. Löwis2004-07-191-0/+1
|
* Silence a GCC unused variable warning in debug builds.Raymond Hettinger2004-07-191-2/+1
|
* Replace an extern magic to assigning declared pointer from array's.Hye-Shik Chang2004-07-181-26/+12
| | | | And unifdef(1) compatibility blocks.
* Remove unused CNS-11643 mapping which shouldn't merged into main PythonHye-Shik Chang2004-07-181-11864/+0
| | | | yet.
* Whitespace normalization, via reindent.py.Tim Peters2004-07-181-391/+391
|
* Repair MS compiler warning about signed-vs-unsigned mismatch. The planeTim Peters2004-07-181-2/+2
| | | | and width clearly don't need to be signed.
* Added a comment explaining the extern ugliness.Tim Peters2004-07-181-0/+6
|
* Changed the "predefinitions" of codec_list and mapping_list from staticTim Peters2004-07-181-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 sourceHye-Shik Chang2004-07-1868-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 Hettinger2004-07-151-5/+3
|
* Moved SunPro warning suppression into pyport.h and out of individualNicholas Bastin2004-07-152-8/+0
| | | | modules and objects.
* Moved PyMac_GetScript() to _localemodule, which is the only place whereJack Jansen2004-07-151-2/+26
| | | | it is used, and made it private. Should fix #978662.
* Exercise Jim's VISIT macro.Raymond Hettinger2004-07-151-129/+24
|
* Fix typo.Hye-Shik Chang2004-07-151-1/+1
|
* Implemented thread-local data as proposed on python-dev:Jim Fulton2004-07-141-0/+260
| | | | http://mail.python.org/pipermail/python-dev/2004-June/045785.html
* [Patch #947352 from Jason Andryuk] Add support for AF_PACKET hardware addressesAndrew M. Kuchling2004-07-101-6/+15
|
* Change some declarations from ``char *`` to ``const char *``. Also addedBrett Cannon2004-07-101-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. Kuchling2004-07-101-0/+1
| | | | compatibility with various broken SSL implementations out there.
* [Patch #945642] Fix non-blocking SSL sockets, which blocked on reads/writes ↵Andrew M. Kuchling2004-07-101-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 closingBrett Cannon2004-07-101-11/+11
| | | | off #ifndef's.
* [Patch #982665 ] add SO_EXCLUSIVEADDRUSE constantAndrew M. Kuchling2004-07-101-0/+4
|
* Add generic codecs.encode() and .decode() APIs that don't imposeMarc-André Lemburg2004-07-101-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'sBrett Cannon2004-07-101-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 GregNeal Norwitz2004-07-091-2/+2
|
* Cleanup support for older pythons (perhaps it should be removed?)Neal Norwitz2004-07-091-53/+10
|
* * balance the left/right search for getitem.Raymond Hettinger2004-07-091-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. FixesMichael W. Hudson2004-07-081-1/+1
| | | | [ 987287 ] Python 2.4a1, interpreter hanging on Keyboard Interrupt
* This closes patch:Michael W. Hudson2004-07-071-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.