Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix SF bug #976608, Unhelpful error message when mtime of a module is -1 | Neal Norwitz | 2005-10-03 | 1 | -1/+5 |
| | | | | Will backport. | ||||
* | SF bug #887946, segfault if redirecting directory | Neal Norwitz | 2005-10-03 | 1 | -0/+9 |
| | | | | | | | Also provide a warning if a directory is passed on the command line. Add minimal command line test. Will backport. | ||||
* | - Fix segfault with invalid coding. | Neal Norwitz | 2005-10-02 | 1 | -1/+1 |
| | | | | | | | - SF Bug #772896, unknown encoding results in MemoryError, which is not helpful I will only backport the segfault fix. I'll let Anthony decide if he wants the other changes backported. I will do the backport if asked. | ||||
* | Forward port bugfix: | Michael W. Hudson | 2005-09-30 | 1 | -0/+4 |
| | | | | | | [ 1307978 ] Unsatisfied symbols: _PyGILState_NoteThreadState (code) (note that this only happens in a threads-disabled build). | ||||
* | Convert iterator __len__() methods to a private API. | Raymond Hettinger | 2005-09-24 | 1 | -3/+3 |
| | |||||
* | clean-up tracing of C functions. In particular, don't call the trace func | Armin Rigo | 2005-09-20 | 1 | -26/+31 |
| | | | | with an exception currently set! | ||||
* | Removed a check "if (args != NULL)" which is always True and makes no sense. | Armin Rigo | 2005-09-20 | 1 | -5/+3 |
| | |||||
* | Don't call memset() before checking that the ptr is not NULL. | Armin Rigo | 2005-09-20 | 1 | -1/+1 |
| | |||||
* | patch [ 1119423 ] python -c readlink()s and stat()s '-c' | Georg Brandl | 2005-09-15 | 1 | -3/+3 |
| | |||||
* | bug [ 868706 ] Calling builtin function 'eval' from C causes seg fault. | Georg Brandl | 2005-09-15 | 1 | -0/+7 |
| | |||||
* | Complete format code support in getargs.c::skipitem(), which is called when | Georg Brandl | 2005-09-14 | 1 | -59/+39 |
| | | | | evaluating keyword arguments. | ||||
* | - Changes donated by Elemental Security to make it work on AIX 5.3 | Guido van Rossum | 2005-09-14 | 1 | -0/+12 |
| | | | | | with IBM's 64-bit compiler (SF patch #1284289). This also closes SF bug #105470: test_pwd fails on 64bit system (Opteron). | ||||
* | - Changes donated by Elemental Security to make it work on HP-UX 11 on | Guido van Rossum | 2005-09-14 | 1 | -0/+14 |
| | | | | Itanium2 with HP's 64-bit compiler (SF patch #1225212). | ||||
* | Patch #1290454: Fix reload() error message when parent module is not in | Georg Brandl | 2005-09-14 | 1 | -2/+3 |
| | | | | sys.modules. | ||||
* | Whitespace normalization. | Georg Brandl | 2005-08-31 | 1 | -7/+7 |
| | |||||
* | Disallow keyword arguments for type constructors that don't use them. | Georg Brandl | 2005-08-26 | 1 | -0/+26 |
| | | | | (fixes bug #1119418) | ||||
* | Forward UnicodeDecodeError into SyntaxError for source encoding errors. | Martin v. Löwis | 2005-08-24 | 1 | -5/+7 |
| | | | | Will backport to 2.4. | ||||
* | SF bug #1242657: list(obj) can swallow KeyboardInterrupt | Raymond Hettinger | 2005-08-21 | 1 | -0/+12 |
| | | | | | | Fix over-aggressive PyErr_Clear(). The same code fragment appears in various guises in list.extend(), map(), filter(), zip(), and internally in PySequence_Tuple(). | ||||
* | Add a C API for sets and frozensets. | Raymond Hettinger | 2005-08-16 | 1 | -4/+2 |
| | |||||
* | Port from the Python 2.4 branch, patches for SF bug # 900092, | Barry Warsaw | 2005-08-15 | 1 | -8/+14 |
| | | | | hotshot.stats.load. | ||||
* | com_yield_expr(): Squash new compiler wng about unreferenced local. | Tim Peters | 2005-08-03 | 1 | -1/+0 |
| | |||||
* | PEP 342 implementation. Per Guido's comments, the generator throw() | Phillip J. Eby | 2005-08-02 | 4 | -126/+212 |
| | | | | | method still needs to support string exceptions, and allow None for the third argument. Documentation updates are needed, too. | ||||
* | * Improve code for the empty frozenset singleton: | Raymond Hettinger | 2005-08-01 | 1 | -0/+1 |
| | | | | | | | | | | | - Handle both frozenset() and frozenset([]). - Do not use singleton for frozenset subclasses. - Finalize the singleton. - Add test cases. * Factor-out set_update_internal() from set_update(). Simplifies the code for several internal callers. * Factor constant expressions out of loop in set_merge_internal(). * Minor comment touch-ups. | ||||
* | Fix cleanup DECREF logic in builtin_filter function. | Georg Brandl | 2005-07-19 | 1 | -6/+6 |
| | |||||
* | bug 1234979 addition | Georg Brandl | 2005-07-09 | 1 | -2/+2 |
| | |||||
* | bug [ 1234979 ] Lock.acquire treats only 1 as True | Georg Brandl | 2005-07-08 | 1 | -1/+1 |
| | |||||
* | Fix signedness of various char variables to stop causing a warning under gcc 4. | Brett Cannon | 2005-06-25 | 3 | -12/+12 |
| | |||||
* | Add comments about PyThreadState and the usage of its fields. | Brett Cannon | 2005-06-25 | 1 | -0/+4 |
| | |||||
* | Fix bug: | Michael W. Hudson | 2005-06-20 | 1 | -15/+53 |
| | | | | | | | | [ 1163563 ] Sub threads execute in restricted mode basically by fixing bug 1010677 in a non-broken way. Backport candidate. | ||||
* | You can have more than one thread state for a thread if they | Michael W. Hudson | 2005-06-16 | 1 | -1/+1 |
| | | | | | correspond to different interpreters (I hope, please revert if this is wrong :). | ||||
* | Fix bug | Michael W. Hudson | 2005-06-13 | 1 | -0/+4 |
| | | | | | | | | [ 1180997 ] lax error-checking in new-in-2.4 marshal stuff which I'd assigned to Martin, but actually turned out to be easy to fix. Also, a test. | ||||
* | Remove extraneous format character from PyArg_ParseTuple call in | Michael W. Hudson | 2005-06-13 | 1 | -1/+1 |
| | | | | | | marshal_loads. Bugfix candidate. | ||||
* | Fix a couple of crashing-on-malformed data marshal bugs. | Michael W. Hudson | 2005-06-03 | 1 | -6/+8 |
| | |||||
* | This is my patch: | Michael W. Hudson | 2005-06-03 | 2 | -66/+177 |
| | | | | | | | | | [ 1180995 ] binary formats for marshalling floats Adds 2 new type codes for marshal (binary floats and binary complexes), a new marshal version (2), updates MAGIC and fiddles the de-serializing of code objects to be less likely to clobber the real reason for failing if it fails. | ||||
* | This is my patch: | Michael W. Hudson | 2005-05-27 | 1 | -0/+2 |
| | | | | | | | | | | | | | | [ 1181301 ] make float packing copy bytes when they can which hasn't been reviewed, despite numerous threats to check it in anyway if noone reviews it. Please read the diff on the checkin list, at least! The basic idea is to examine the bytes of some 'probe values' to see if the current platform is a IEEE 754-ish platform, and if so _PyFloat_{Pack,Unpack}{4,8} just copy bytes around. The rest is hair for testing, and tests. | ||||
* | Patch #1197318: Cygwin case-sensitive import patch | Jason Tishler | 2005-05-20 | 1 | -17/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | A problem regarding importing symlinked modules was recently reported on the Cygwin mailing list: http://cygwin.com/ml/cygwin/2005-04/msg00257.html The following test case demonstrates the problem: $ ls -l total 1 lrwxrwxrwx 1 jt None 6 Apr 23 13:32 bar.py -> foo.py -rw-r--r-- 1 jt None 24 Apr 18 20:13 foo.py $ python -c 'import bar' Traceback (most recent call last): File "<string>", line 1, in ? ImportError: No module named bar Since Cygwin's case_ok() uses a modified version of the Windows's version, the symlinked bar module actually resolves to file foo.py instead of bar.py. This obviously causes the matching code to fail (regardless of case). The patch fixes this problem by making Cygwin use the Mac OS X case_ok() instead of a modified Window's version. | ||||
* | Fix: | Michael W. Hudson | 2005-04-18 | 1 | -1/+1 |
| | | | | | | | | [ 1176893 ] Readline segfault by unsilly-ing PyGILState_Release(). Backport candidate. | ||||
* | Make a handy macro, Py_DEFAULT_RECURSION_LIMIT to allow to define | Hye-Shik Chang | 2005-04-04 | 1 | -2/+5 |
| | | | | | a default value of recursion limit from build systems. 1000 levels are still too high for some 64bit systems. | ||||
* | I suppose a bug report or even a fix would be a better response, but | Michael W. Hudson | 2005-03-30 | 1 | -1/+2 |
| | | | | | commit a yelp about a noted flaw the error messages for METH_KEYWORDS functions under some circumstances. | ||||
* | Move exception finalisation later in the shutdown process - this | Anthony Baxter | 2005-03-29 | 1 | -7/+8 |
| | | | | fixes the crash seen in bug #1165761 | ||||
* | Add 0 to _POSIX_SEMAPHORES. Will backport to 2.4. | Martin v. Löwis | 2005-03-28 | 1 | -1/+3 |
| | |||||
* | Patch #1163249 - Correctly handle _POSIX_SEMAPHORES == -1 to mean no | Anthony Baxter | 2005-03-16 | 1 | -0/+4 |
| | | | | support for posix semaphores. | ||||
* | Add two new functions, any() and all(). | Raymond Hettinger | 2005-03-11 | 1 | -0/+65 |
| | |||||
* | Allow classes to be defined with empty parentheses. This means that | Brett Cannon | 2005-03-05 | 2 | -8/+10 |
| | | | | ``class C(): pass`` is no longer a syntax error. | ||||
* | Patch #1115086: support PY_LONGLONG in structmember. | Martin v. Löwis | 2005-03-03 | 1 | -0/+32 |
| | |||||
* | Revert previous checkin on getargs 'L' code. Try to convert all | Martin v. Löwis | 2005-03-03 | 1 | -1/+0 |
| | | | | | numbers in PyLong_AsLongLong, and update test suite accordingly. Backported to 2.4. | ||||
* | Patch #802188: better parser error message for non-EOL following line cont. | Martin v. Löwis | 2005-03-03 | 1 | -0/+3 |
| | |||||
* | Clear internal call error in 'L' format. Fixes #723201. | Martin v. Löwis | 2005-03-03 | 1 | -0/+1 |
| | | | | Backported to 2.4. | ||||
* | Silence a gcc warning about putting in parentheses around && expressions mixed | Brett Cannon | 2005-03-03 | 1 | -5/+6 |
| | | | | with || expressions. Also clarifies intend of 'if' conditional. | ||||
* | Preserve sign of -0.0 when result is run through marshal. | Raymond Hettinger | 2005-02-23 | 1 | -2/+4 |
| |