Commit Graph

2085 Commits

Author SHA1 Message Date
Neal Norwitz
ecea121754 Backport: SF bug #1167751: fix incorrect code being for generator expressions. 2005-10-23 00:44:03 +00:00
Neal Norwitz
2d0d6c9b82 Backport:
Fix SF bug #976608, Unhelpful error message when mtime of a module is -1
2005-10-03 04:50:55 +00:00
Neal Norwitz
c2b7c59267 Backport:
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.
2005-10-03 01:03:46 +00:00
Neal Norwitz
d00e54bc25 Backported:
Fix segfault with invalid coding.
(See SF bug: 772896 for another fix)
2005-10-02 01:51:56 +00:00
Michael W. Hudson
963dbdd74a Fix bug:
[ 1307978 ] Unsatisfied symbols: _PyGILState_NoteThreadState (code)

(note that this only happens in a threads-disabled build).

Will forward port momentarily.
2005-09-30 08:17:40 +00:00
Michael W. Hudson
b21d81e771 Backport bugfix:
Fix bug:

[ 1163563 ] Sub threads execute in restricted mode

basically by fixing bug 1010677 in a non-broken way.

Backport candidate.
2005-09-23 08:14:40 +00:00
Armin Rigo
cb1aea2337 (backport) tracing of C functions: don't call the trace func
with an exception currently set!
2005-09-20 20:53:11 +00:00
Georg Brandl
043aa850f9 backport patch [ 1119423 ] python -c readlink()s and stat()s '-c' 2005-09-15 13:00:25 +00:00
Georg Brandl
4aacab4b77 backport bug [ 868706 ] Calling builtin function 'eval' from C causes seg fault. 2005-09-15 10:46:18 +00:00
Georg Brandl
0d2441470f Complete format code support in getargs.c::skipitem(), which is called when
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: ----------------------------------------------------------------------
2005-09-14 19:30:11 +00:00
Guido van Rossum
e2f5adbc78 - Changes donated by Elemental Security to make it work on AIX 5.3
with IBM's 64-bit compiler (SF patch #1284289).  This also closes SF
  bug #105470: test_pwd fails on 64bit system (Opteron).
2005-09-14 18:15:03 +00:00
Guido van Rossum
e42f446482 (backport from HEAD)
- Changes donated by Elemental Security to make it work on HP-UX 11 on
  Itanium2 with HP's 64-bit compiler (SF patch #1225212).
2005-09-14 17:54:39 +00:00
Georg Brandl
32cb7f080d Backport of patch #1290454: Fix reload() error message when parent is not
in sys.modules.
2005-09-14 06:56:51 +00:00
Georg Brandl
66e75ac6e0 Disallow keyword arguments for type constructors that don't use them
(fixes #1119418).
2005-08-26 06:43:16 +00:00
Martin v. Löwis
ea3c6f032b Forward UnicodeDecodeError into SyntaxError for source encoding errors. 2005-08-24 08:39:46 +00:00
Raymond Hettinger
9314d3261d SF bug #1242657: list(obj) can swallow KeyboardInterrupt
Fix over-aggressive PyErr_Clear().  The same code fragment appears in
various guises in list.extend(), map(), filter(), zip(), and internally
in PySequence_Tuple().
2005-08-21 11:09:58 +00:00
Barry Warsaw
190a336331 Fix for SF bug # 900092, hotshot.stats.load assertion failure. This patch
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.
2005-08-15 17:32:56 +00:00
Georg Brandl
3ccd18e3df Backport: fix cleanup DECREF logic in builtin_filter function. 2005-07-19 22:20:44 +00:00
Georg Brandl
6108583ded bug 1234979 addition 2005-07-09 15:27:05 +00:00
Georg Brandl
412d5fab78 backport bug [ 1234979 ] Lock.acquire treats only 1 as True 2005-07-08 22:25:17 +00:00
Michael W. Hudson
14ef205309 Backport my recent fix (rev. 2.40 of Python/pystate.c):
Fix:

[ 1176893 ] Readline segfault

by unsilly-ing PyGILState_Release().

Backport candidate.
2005-04-24 19:32:34 +00:00
Anthony Baxter
4d381b17e4 Move exception finalisation later in the shutdown process - this
fixes the crash seen in bug #1165761
2005-03-29 12:32:50 +00:00
Martin v. Löwis
465499aad4 Add 0 to _POSIX_SEMAPHORES. 2005-03-28 12:36:19 +00:00
Anthony Baxter
11da5d5e6f Patch #1163249 - Correctly handle _POSIX_SEMAPHORES == -1 to mean no
support for posix semaphores.
2005-03-16 04:13:29 +00:00
Martin v. Löwis
77c8402c97 Revert previous checkin on getargs 'L' code. Try to convert all
numbers in PyLong_AsLongLong, and update test suite accordingly.
2005-03-03 12:26:20 +00:00