Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updated the socketpair() docstring and documentation to explain that the | Dave Cole | 2004-08-23 | 1 | -2/+4 |
| | | | | | default famility is AF_UNIX if defined for the platform, otherwise the default is AF_INET. | ||||
* | Removed unnecessary calls to signal() to ignore SIGPIPE. SIGPIPE is ignored | Dave Cole | 2004-08-23 | 1 | -13/+0 |
| | | | | in initsigs() inside pythonrun.c. | ||||
* | Patch 1012740: cStringIO's truncate doesn't | Tim Peters | 2004-08-21 | 1 | -0/+1 |
| | | | | | | | | | | | | | truncate() left the stream position unchanged, which meant the "truncated" data didn't go away: >>> io.write('abc') >>> io.truncate(0) >>> io.write('xyz') >>> io.getvalue() 'abcxyz' Patch by Dima Dorfman. | ||||
* | Fail fatally if strdup fails. | Martin v. Löwis | 2004-08-20 | 1 | -0/+4 |
| | |||||
* | Bug #1005737, #1007249: Fix several build problems and warnings | Hye-Shik Chang | 2004-08-19 | 5 | -42/+45 |
| | | | | | found on legacy C compilers of HP-UX, IRIX and Tru64. (Reported by roadkill, Richard Townsend, Maik Hertha and Minsik Kim) | ||||
* | Patch #1011822: Display errno/strerror for inaccessible files. | Martin v. Löwis | 2004-08-19 | 1 | -2/+7 |
| | |||||
* | Patch #914291: Restore locale while readline is running. | Martin v. Löwis | 2004-08-18 | 1 | -0/+8 |
| | |||||
* | This is Mark Russell's patch: | Michael W. Hudson | 2004-08-17 | 1 | -18/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 1009560 ] Fix @decorator evaluation order From the description: Changes in this patch: - Change Grammar/Grammar to require newlines between adjacent decorators. - Fix order of evaluation of decorators in the C (compile.c) and python (Lib/compiler/pycodegen.py) compilers - Add better order of evaluation check to test_decorators.py (test_eval_order) - Update the decorator documentation in the reference manual (improve description of evaluation order and update syntax description) and the comment: Used Brett's evaluation order (see http://mail.python.org/pipermail/python-dev/2004-August/047835.html) (I'm checking this in for Anthony who was having problems getting SF to talk to him) | ||||
* | fix a couple problems with the last patch picked up by Michael Hudson | Skip Montanaro | 2004-08-16 | 1 | -12/+8 |
| | |||||
* | Add get_history_item and replace_history_item functions to the readline | Skip Montanaro | 2004-08-15 | 1 | -0/+67 |
| | | | | | module. Closes patch #675551. My apologies to Michal Vitecek for taking so long to process this. | ||||
* | Quote \r\n correctly, remove random indentation (patch #1009384). Thanks | Johannes Gijsbers | 2004-08-15 | 1 | -2/+2 |
| | | | | Cherniavsky Beni! | ||||
* | make exception propogation more efficient; this avoids having Expat parse | Fred Drake | 2004-08-13 | 1 | -5/+7 |
| | | | | | | | the remaining data in the buffer (which it had done happily without reporting any results) this depends on a new feature in Expat added in 1.95.8 | ||||
* | Patch #1005568: Use _SC_PAGESIZE on Irix. | Martin v. Löwis | 2004-08-12 | 1 | -0/+5 |
| | | | | Backported to 2.3. | ||||
* | Bug #1001857: socketmodule does not build under cygwin | Jason Tishler | 2004-08-09 | 1 | -0/+4 |
| | | | | Restore clean building under Cygwin. | ||||
* | Patch #1003700: Add socketpair function to socket module. | Dave Cole | 2004-08-09 | 1 | -0/+62 |
| | |||||
* | Bug 1003471: Python 1.5.2 security vulnerability still present in 2.3.4 | Tim Peters | 2004-08-08 | 1 | -4/+10 |
| | | | | | | | | | | | | | | That's the title of the report, but the hole was probably plugged since Python 2.0. See corresponding checkin to PC/getpathp.c: a crucial precondition for joinpath() was neither documented nor verified, and there are so many callers with so many conditional paths that no "eyeball analysis" is satisfactory. Now Python dies with a fatal error if the precondition isn't satisfied, instead of allowing a buffer overrun. NOT TESTED! The Windows version of the patch was, but not this one. I don't feel like waiting for someone to notice the patch I attached to the bug report. If it doesn't compile, sorry, but fix it <wink>. If it does compile, it's "obviously correct". | ||||
* | [Bug #923315] Produce correct result on AIX | Andrew M. Kuchling | 2004-08-07 | 1 | -1/+5 |
| | |||||
* | add constants for many error values added over the past couple of | Fred Drake | 2004-08-04 | 1 | -0/+17 |
| | | | | years | ||||
* | Add a missing decref -- PyErr_SetObject increfs the 'object'! | Michael W. Hudson | 2004-08-04 | 1 | -0/+1 |
| | |||||
* | Fix a leak of a reference on None. | Michael W. Hudson | 2004-08-04 | 1 | -3/+1 |
| | |||||
* | SF #989185: Drop unicode.iswide() and unicode.width() and add | Hye-Shik Chang | 2004-08-04 | 2 | -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 Peters | 2004-08-04 | 1 | -1/+4 |
| | |||||
* | Patch #986929: Add support for wish -sync and -use options. | Martin v. Löwis | 2004-08-03 | 1 | -4/+37 |
| | |||||
* | allow ctime(), gmtime(), and localtime() to take None as equivalent to an ↵ | Fred Drake | 2004-08-03 | 1 | -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öwis | 2004-08-03 | 1 | -34/+33 |
| | |||||
* | 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. |