Kurt B. Kaiser
4c79a83e0c
Hye-Shik Chang's fix for Bug 875692.
...
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
2004-11-23 18:06:08 +00:00
Anthony Baxter
5cc727ad7b
2.4rc1
2004-11-18 12:32:27 +00:00
Raymond Hettinger
39e92ead4b
Mark PyRange_New() as deprecated.
2004-11-18 09:41:45 +00:00
Skip Montanaro
0bb2a65dbd
split functionality into pystack and pystackv commands. The former will
...
work with core dumps because it avoids calling any Python API routines. The
latter prints all the local variable values as well as the stack frames but
won't work with core dumps because it relies on _PyObject_Dump to print
variables.
2004-11-17 16:04:15 +00:00
Tim Peters
bbc0d4409c
SF bug 1065388: calendar day/month name lookup too slow
...
__getitem__() methods: compute only the new spellings needed to satisfy
the given indexing object. This is purely an optimization (it should
have no effect on visible semantics).
2004-11-13 16:18:32 +00:00
Raymond Hettinger
96b49a51d0
SF patch 1062495: Modules/zipimport.c does not compile on solaris (Contributed by Niki W. Waibel.)
...
Simple renaming to avoid a conflict that prevented compilation on Solaris.
2004-11-10 13:13:05 +00:00
Tim Peters
50c6bdb1d6
test_doctest.py test_pdb_set_trace_nested(): A new test from Jim Fulton
...
showing that doctest's pdb.set_trace() support was dramatically broken.
doctest.py _OutputRedirectingPdb.trace_dispatch(): Return a local trace
function instead of (implicitly) None. Else interaction with pdb was
bizarre, noticing only 'call' events. Amazingly, the existing set_trace()
tests didn't care.
2004-11-08 22:07:37 +00:00
Tim Peters
fb1ffb0ebb
SF bug 1061968: threads: segfault or Py_FatalError at exit
...
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.
2004-11-08 04:30:21 +00:00
Jeremy Hylton
def9d2a17c
Fix for SF bug 988120 via patch 1061941.
...
If read() returned less than the number of bytes request, the full amount was subtracted from length instead of the actually read amount.
2004-11-07 16:13:49 +00:00
Brett Cannon
7d28e96a41
Add comment about removal of CoreServices/CoreFoundation compilation against
...
the core on OS X (also specifically mention removal of
PyMac_GetAppletScriptFile() ).
2004-11-07 01:19:00 +00:00
Tim Peters
90cf212cef
Essentially SF patch 1061679: add missing __all__ to pickletools.py.
...
Harmless.
2004-11-06 23:45:48 +00:00
Brett Cannon
b12efd3f8a
Comment cleanup.
2004-11-06 19:56:45 +00:00
Anthony Baxter
b0c6630794
post-release
2004-11-04 05:23:17 +00:00
Skip Montanaro
599bd5e1e1
Fix bug 1052242. Also includes rewrite of test case using unittest and
...
avoiding use of popen.
2004-11-04 04:31:30 +00:00
Anthony Baxter
9f41f3a192
release shenanigans
2004-11-03 06:21:37 +00:00
Barry Warsaw
8c72eae237
SF patch #1056967 , changes the semantics of Template.safe_substitute() to not
...
raise a ValueError for dangling delimiters (the delimiter itself is returned).
2004-11-01 03:52:43 +00:00
Tim Peters
ead8b7ab30
SF 1055820: weakref callback vs gc vs threads
...
In cyclic gc, clear weakrefs to unreachable objects before allowing any
Python code (weakref callbacks or __del__ methods) to run.
This is a critical bugfix, affecting all versions of Python since weakrefs
were introduced. I'll backport to 2.3.
2004-10-30 23:09:22 +00:00
Hye-Shik Chang
337614993e
Patch #1044395 : Allow configure option --enable-shared in FreeBSD.
...
(Submitted by James William Pye, Patch revised by Jiwon Seo)
2004-10-26 09:53:46 +00:00
Hye-Shik Chang
182ac85147
SF #737473 : Show up-to-date source code in tracebacks always.
...
And add an optional argument 'filename' to linecache.checkcache()
to enable checking caches per-file.
2004-10-26 09:16:42 +00:00
Raymond Hettinger
561fbf138d
SF bug #1054139 : serious string hashing error in 2.4b1
...
_PyString_Resize() readied strings for mutation but did not invalidate
the cached hash value.
2004-10-26 01:52:37 +00:00
Raymond Hettinger
2ef7e6c8f2
SF bug #1052503 : pdb runcall should accept keyword arguments
2004-10-24 00:32:24 +00:00
Raymond Hettinger
9047c8f73d
SF bug #1048870 : call arg of lambda not updating
2004-10-24 00:10:06 +00:00
Tim Peters
acaffe65a3
Move to version 2 of the PSF license, approved by the Board earlier today.
2004-10-23 03:43:54 +00:00
Brett Cannon
06a30b087e
Fix minor reST error in Misc/NEWS.
...
Applies patch #1051866 . Thanks Felix Wiemann.
2004-10-22 06:22:54 +00:00
Sean Reifschneider
054541e924
Latest version for beta 1.
2004-10-21 23:35:45 +00:00
Andrew M. Kuchling
66e80baea2
Add item
2004-10-20 11:56:15 +00:00
Raymond Hettinger
c64aab8400
SF bug #902037 : relative on-disk SYSTEM id handling is incorrect
2004-10-20 08:21:57 +00:00
Raymond Hettinger
e54e726f0b
SF patch #1038388 : __main__ for whichdb.py
...
(Contributed by Oleg Broytmann.)
2004-10-20 07:17:16 +00:00
Andrew M. Kuchling
9414ded8f3
Delete empty sections in beta1 news
2004-10-19 19:56:55 +00:00
Andrew M. Kuchling
0d19bae30e
Add item
2004-10-19 19:54:41 +00:00
Brett Cannon
8abcc5d533
Add support for %U and %W to contribute to calculating the date when the year
...
and day of the week are specified.
Closes bug #1045381 .
2004-10-18 01:37:57 +00:00
Brett Cannon
be8370dc9c
Add sections for 2.4b2
2004-10-18 01:32:09 +00:00
Anthony Baxter
6a587c160b
release shenanigans
2004-10-15 08:07:21 +00:00
Anthony Baxter
a024034b94
Patch 1046644 - improved distutils support for SWIG.
2004-10-14 10:02:08 +00:00
Anthony Baxter
22dcf66f84
Patch 983206: distutils obeys LDSHARED env var. Removed the code in
...
Python's own setup.py that did the same thing (and tested on Solaris,
where LDSHARED is needed...)
2004-10-13 15:54:17 +00:00
Anthony Baxter
e4f8a48b8f
969574
2004-10-13 14:55:56 +00:00
Andrew M. Kuchling
518d393e0e
Fix PEP number
2004-10-12 15:32:10 +00:00
Fredrik Lundh
5b3687df2e
Added Peter Astrand's subprocess module.
2004-10-12 15:26:28 +00:00
Barry Warsaw
418de1f23c
Added note about the new usegmt argument to email.Utils.formatdate().
2004-10-11 14:32:47 +00:00
Tim Peters
7f468f29f4
SF patch 1044089: New C API function PyEval_ThreadsInitialized(), by Nick
...
Coghlan, for determining whether PyEval_InitThreads() has been called.
Also purged the undocumented+unused _PyThread_Started int.
2004-10-11 02:40:51 +00:00
Tim Peters
8470558a04
PyInterpreterState_New(), PyThreadState_New(): use malloc/free directly.
...
This appears to finish repairs for SF bug 1041645.
This is a critical bugfix.
2004-10-10 02:47:33 +00:00
Tim Peters
263091e388
find_key(): This routine wasn't thread-correct, and accounts for the
...
release-build failures noted in bug 1041645.
This is a critical bugfix. I'm not going to backport it, though (no time).
2004-10-10 01:58:44 +00:00
Andrew M. Kuchling
3afe4f371c
Add helpful comment
2004-10-07 12:30:54 +00:00
Andrew M. Kuchling
6f5932502d
Take out Guido's name and put in the PSF
2004-10-07 12:27:31 +00:00
Andrew M. Kuchling
895f245954
Update two URLs
2004-10-07 12:23:12 +00:00
Andrew M. Kuchling
166e625d6c
Add -m to man page
2004-10-07 12:04:50 +00:00
Raymond Hettinger
db29e0fe8c
SF patch #1035498 : -m option to run a module as a script
...
(Contributed by Nick Coghlan.)
2004-10-07 06:46:25 +00:00
Brett Cannon
4f35c71543
Locale data that contains regex metacharacters are now properly escaped.
...
Closes bug #1039270 .
2004-10-06 02:11:37 +00:00
Tim Peters
130e37f3e2
Read the text files to be compared in universal-newline mode.
2004-10-03 19:03:19 +00:00
Just van Rossum
dd3c83734d
added plistlib news item
2004-10-03 16:27:09 +00:00