summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Backport of compile.c part of r41531 (neal.norwitz, 2005-11-24):Martin v. Löwis2006-03-271-3/+3
| | | | Fix a ref leak.
* update - still some old .cvsignore files lying aroundAnthony Baxter2006-03-231-2/+0
|
* Change SystemError into SyntaxError, when a Unicode stringMartin v. Löwis2006-03-221-1/+7
| | | | | containing an encoding declaration is compile()d. Fixes #1115379.
* Backport r42894: SF #1444030 Fix several potential defects foundHye-Shik Chang2006-03-072-2/+9
| | | | by Coverity.
* Backport of memory leak fixes.Martin v. Löwis2006-03-011-1/+5
|
* Return value off PyErr_Warn() for raising string exceptions was not beingBrett Cannon2006-02-271-3/+5
| | | | | checked. Problem when 'warnings' was set to "error" and thus would re-raise a new exception.
* do_mkvalue(): Squash compiler warnings about mixingTim Peters2006-02-271-2/+2
| | | | signed and unsigned types in comparison.
* Merge rev 42607 from the trunk.Tim Peters2006-02-271-0/+4
| | | | | | | | | Patch 1413181, by Gabriel Becedillas. PyThreadState_Delete(): if the auto-GIL-state machinery knows about the thread state, forget it (since the thread state is being deleted, continuing to remember it can't help, but can hurt if another thread happens to get created with the same thread id).
* Bug #801349: document that start/stop/step slice arguments can be NoneGeorg Brandl2006-02-191-1/+1
|
* Cast assignments to ``unsigned char *`` from PyString_AS_STRING() calls toBrett Cannon2006-02-162-2/+2
| | | | silence compiler warnings on gcc 4.0.1 .
* Update general copyright year to 2006.Georg Brandl2006-02-111-1/+1
|
* bug #1281408: make Py_BuildValue work with unsigned longs and long longsGeorg Brandl2005-11-241-3/+20
|
* Backport one of the ref/memory leaksNeal Norwitz2005-11-211-0/+1
|
* Backport:Neal Norwitz2005-11-091-1/+4
| | | | | | SF Bug #1350188, "setdlopenflags" leads to crash upon "import" It was possible dlerror() returns a NULL pointer, use a default error message in this case.
* Backport: SF bug #1167751: fix incorrect code being for generator expressions.Neal Norwitz2005-10-231-7/+15
|
* Backport:Neal Norwitz2005-10-031-1/+5
| | | | Fix SF bug #976608, Unhelpful error message when mtime of a module is -1
* Backport:Neal Norwitz2005-10-031-0/+9
| | | | | | SF bug #887946, segfault if redirecting directory Also provide a warning if a directory is passed on the command line. Add minimal command line test.
* Backported:Neal Norwitz2005-10-021-1/+1
| | | | | Fix segfault with invalid coding. (See SF bug: 772896 for another fix)
* Fix bug:Michael W. Hudson2005-09-301-0/+4
| | | | | | | | [ 1307978 ] Unsatisfied symbols: _PyGILState_NoteThreadState (code) (note that this only happens in a threads-disabled build). Will forward port momentarily.
* Backport bugfix:Michael W. Hudson2005-09-231-15/+53
| | | | | | | | | | Fix bug: [ 1163563 ] Sub threads execute in restricted mode basically by fixing bug 1010677 in a non-broken way. Backport candidate.
* (backport) tracing of C functions: don't call the trace funcArmin Rigo2005-09-201-26/+31
| | | | with an exception currently set!
* backport patch [ 1119423 ] python -c readlink()s and stat()s '-c'Georg Brandl2005-09-151-3/+3
|
* backport bug [ 868706 ] Calling builtin function 'eval' from C causes seg fault.Georg Brandl2005-09-151-0/+7
|
* Complete format code support in getargs.c::skipitem(), which is called whenGeorg Brandl2005-09-141-59/+39
| | | | | | | | | | | | | evaluating keyword arguments. CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: Python/getargs.c CVS: ----------------------------------------------------------------------
* - Changes donated by Elemental Security to make it work on AIX 5.3Guido van Rossum2005-09-141-0/+12
| | | | | with IBM's 64-bit compiler (SF patch #1284289). This also closes SF bug #105470: test_pwd fails on 64bit system (Opteron).
* (backport from HEAD)Guido van Rossum2005-09-141-0/+14
| | | | | - Changes donated by Elemental Security to make it work on HP-UX 11 on Itanium2 with HP's 64-bit compiler (SF patch #1225212).
* Backport of patch #1290454: Fix reload() error message when parent is notGeorg Brandl2005-09-141-2/+3
| | | | in sys.modules.
* Disallow keyword arguments for type constructors that don't use themGeorg Brandl2005-08-261-0/+26
| | | | (fixes #1119418).
* Forward UnicodeDecodeError into SyntaxError for source encoding errors.Martin v. Löwis2005-08-241-5/+7
|
* SF bug #1242657: list(obj) can swallow KeyboardInterruptRaymond Hettinger2005-08-211-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().
* Fix for SF bug # 900092, hotshot.stats.load assertion failure. This patchBarry Warsaw2005-08-151-8/+14
| | | | | | | restores the tracing of a 'return' event for exceptions that cause a function to exit. Also, update the unit test. I will port to Python 2.5.
* Backport: fix cleanup DECREF logic in builtin_filter function.Georg Brandl2005-07-191-6/+6
|
* bug 1234979 additionGeorg Brandl2005-07-091-2/+2
|
* backport bug [ 1234979 ] Lock.acquire treats only 1 as TrueGeorg Brandl2005-07-081-1/+1
|
* Backport my recent fix (rev. 2.40 of Python/pystate.c):Michael W. Hudson2005-04-241-1/+1
| | | | | | | | | | Fix: [ 1176893 ] Readline segfault by unsilly-ing PyGILState_Release(). Backport candidate.
* Move exception finalisation later in the shutdown process - thisAnthony Baxter2005-03-291-7/+8
| | | | fixes the crash seen in bug #1165761
* Add 0 to _POSIX_SEMAPHORES.Martin v. Löwis2005-03-281-1/+3
|
* Patch #1163249 - Correctly handle _POSIX_SEMAPHORES == -1 to mean noAnthony Baxter2005-03-161-0/+4
| | | | support for posix semaphores.
* Revert previous checkin on getargs 'L' code. Try to convert allMartin v. Löwis2005-03-031-1/+0
| | | | numbers in PyLong_AsLongLong, and update test suite accordingly.
* Clear internal call error in 'L' format. Fixes #723201.Martin v. Löwis2005-03-031-0/+1
|
* Backport 2.39:Guido van Rossum2005-02-081-1/+3
| | | | Close the discussion in SF bug 1069160.
* Partially revert #1074011; don't try to fflush stdin.Martin v. Löwis2005-01-271-1/+10
|
* happy new year! (2.4 branch)Anthony Baxter2005-01-251-1/+1
|
* Flush std{in,out,err} before closing it. Fixes #1074011.Martin v. Löwis2005-01-231-3/+10
|
* make thread stack size compile-time tunable on OS/2Andrew MacIntyre2005-01-171-1/+5
|
* Back-ported: marshal.dumps() with the new optional argument 'version' justArmin Rigo2004-12-201-1/+1
| | | | immediately segfaults, due to a typo!
* Hye-Shik Chang's fix for Bug 875692.Kurt B. Kaiser2004-11-231-0/+6
| | | | | | | | | Improve signal handling, especially when using threads, by forcing an early re-execution of PyEval_EvalFrame() "periodic" code when things_to_do is not cleared by Py_MakePendingCalls(). M Misc/NEWS M Python/ceval.c
* SF bug 1061968: threads: segfault or Py_FatalError at exitTim Peters2004-11-081-13/+12
| | | | | | | | | | | | | | | | | PyGILState_Ensure(): The fix in 2.4a3 for bug 1010677 reintroduced thread shutdown race bug 225673. Repaired by (once again) ensuring the GIL is held whenever deleting a thread state. Alas, there's no useful test case for this shy bug. Four years ago, only Guido could provoke it, on his box, and today only Armin can provoke it on his box. I've never been able to provoke it (but not for lack of trying!). This is a critical fix for 2.3.5 too, since the fix for 1010677 got backported there already and so also reintroduced 225673. I don't intend to backport this fix. For whoever (if anyone) does, there are other thread fixes in 2.4 that need backporting too, and I bet they need to happen first for this patch to apply cleanly.
* SF patch 1025636: Check for NULL returns in compile.c:com_import_stmtJeremy Hylton2004-11-071-4/+14
| | | | There is no test for this change, because there is no way to provoke memory errors on demand. Test suite passes, though.
* SF patch #1035255: Remove CoreServices / CoreFoundation dependencies in coreRaymond Hettinger2004-11-051-158/+67
| | | | | | | | | | | | | (Contributed by Bob Ippolito.) This patch trims down the Python core on Darwin by making it independent of CoreFoundation and CoreServices. It does this by: Changed linker flags in configure/configure.in Removed the unused PyMac_GetAppletScriptFile Moved the implementation of PyMac_StrError to the MacOS module Moved the implementation of PyMac_GetFullPathname to the Carbon.File module