Michael W. Hudson
e2749cb264
Fix for rather inaccurately titled bug
...
[ 1165306 ] Property access with decorator makes interpreter crash
Don't allow the creation of unbound methods with NULL im_class, because
attempting to call such crashes.
Backport candidate.
2005-03-30 16:32:10 +00:00
Michael W. Hudson
5c473559e5
Minor wording fix.
2005-03-30 16:25:34 +00:00
Michael W. Hudson
da6242c844
Fixes for
...
[ 1166660 ] The readline module can cause python to segfault
It seems to me that the code I'm rewriting here attempted to call any
user-supplied hook functions using the thread state of the thread that
called the hook-setting function, as opposed to that of the thread
that is currently executing. This doesn't work, in general.
Fix this by using the PyGILState API (It wouldn't be that hard to
define a dummy version of said API when #ifndef WITH_THREAD, would
it?).
Also, check the conversion to integer of the return value of a hook
function for errors (this problem was mentioned in the ipython bug
report linked to in the above bug).
2005-03-30 11:21:53 +00:00
Michael W. Hudson
9a8c3142e2
Be a bit more accurate.
2005-03-30 10:09:12 +00:00
Michael W. Hudson
b47039f66b
I don't think it's particularly accurate to say Guido is maintaining
...
this module any more.
2005-03-30 09:38:12 +00:00
Fred Drake
1b17b6bf08
add 2.4.1 to the release history
2005-03-29 16:06:51 +00:00
Anthony Baxter
7f9915e34e
merge from branch
2005-03-29 16:05:36 +00:00
Bob Ippolito
ed233460d8
Update NEWS for patch 1171735 (Darwin 8 build fixes)
2005-03-29 13:47:59 +00:00
Anthony Baxter
12b6f6cac7
Move exception finalisation later in the shutdown process - this
...
fixes the crash seen in bug #1165761
2005-03-29 13:36:16 +00:00
Tim Peters
b7e99b642f
SF patch 1167316: doctest.py fails self-test if run directly.
...
Patch by Ilya Sandler.
Bugfix candidate.
2005-03-28 23:50:54 +00:00
Bob Ippolito
7026a0aeef
patch [1171735] - Darwin 8's headers disable functionality when
...
POSIX is enabled. This prevents the toolbox glue, all of Carbon,
and various other non-POSIX features from compiling. The POSIX
symbols are still used by default, so turning off the #define
doesn't hurt.
Additionally, linker flags have changed for Darwin 8, and are
different for Darwin 8/gcc4 (default) and Darwin 8/gcc3.3.
Approved by Anthony
2005-03-28 23:23:47 +00:00
Martin v. Löwis
0f9679d2b0
Mention that DEBUG_LEAK includes DEBUG_SAVEALL. Fixes #1170460 .
...
Will backport to 2.4.
2005-03-28 15:29:28 +00:00
Martin v. Löwis
8b8fb3db5a
Add 0 to _POSIX_SEMAPHORES. Will backport to 2.4.
2005-03-28 12:34:20 +00:00
Greg Ward
0f26054736
Conditionally export a few more AFMT_* macros: AFMT_U16_NE, AFMT_S32_LE,
...
AFMT_S32_BE, AFMT_MPEG.
2005-03-28 02:40:46 +00:00
Greg Ward
a17fa89a2b
SF #1169212 : merge from 2.4 branch: fix silly typo in explaining AFMT
...
macros: U16 is unsigned and S16 is signed. Duh. Clarify surrounding
text a bit and refer to OSS docs.
2005-03-28 02:34:59 +00:00
Tim Peters
eba28bea9b
Whitespace normalization.
2005-03-28 01:08:02 +00:00
Tim Peters
700f36c752
Two lines in this file had unbalanced parentheses -- couldn't possibly
...
work (SyntaxErrors at compile time).
I slammed in what looked like the obvious fixes, but someone who
understands this file should check my work.
2005-03-28 01:05:48 +00:00
Raymond Hettinger
1b2e0d9da0
Fix whitespace.
2005-03-27 20:19:05 +00:00
Raymond Hettinger
fdf3bd6630
SF patch #1171417 : bug fix for islice() in docs
2005-03-27 20:11:44 +00:00
Raymond Hettinger
267b868f23
* Fix decimal's handling of foreign types. Now returns NotImplemented
...
instead of raising a TypeError. Allows other types to successfully
implement __radd__() style methods.
* Remove future division import from test suite.
* Remove test suite's shadowing of __builtin__.dir().
2005-03-27 10:47:39 +00:00
Raymond Hettinger
e6c470f255
SF bug #1770766 : weakref proxy has incorrect __nonzero__ behavior.
2005-03-27 03:04:54 +00:00
Martin v. Löwis
ca5d8fea3d
Add missing socket import
2005-03-24 19:40:57 +00:00
Thomas Heller
33ceda85d0
Function signatures for tp_descr_get and tp_descr_set.
2005-03-24 07:45:53 +00:00
Fred Drake
c6699b7dc4
minor cleanup
2005-03-24 07:00:05 +00:00
Fred Drake
712f07082d
clean up the underscore mess for the typeset formats so that subscripts
...
work in math displays (thanks to Bo Peng on the Doc-SIG)
2005-03-24 06:21:37 +00:00
Martin v. Löwis
8efd90485c
Make SRPMs pyversion 'any'.
2005-03-23 22:16:22 +00:00
Martin v. Löwis
98da562600
Make dist_files a triple, with the Python target version included,
...
so that bdist_wininst can specify 'any'.
2005-03-23 18:54:36 +00:00
Walter Dörwald
c8734a7257
Fix typo.
2005-03-23 10:38:59 +00:00
Martin v. Löwis
8d12158991
Make the signature detached.
2005-03-22 23:02:54 +00:00
Walter Dörwald
09a3f2cc2f
Add tests for tuple, list and UserList that initialize the object from
...
various iterables.
(Copied from test_deque.py as suggested by Jim Jewett in SF bug #1166274 )
2005-03-22 22:43:28 +00:00
Martin v. Löwis
24ff83d5f3
Fix registration of output file.
2005-03-22 22:23:29 +00:00
Martin v. Löwis
be435bf3c8
Don't set the Python version for sdist uploads.
2005-03-22 20:32:41 +00:00
Martin v. Löwis
f74b923ae5
Upload GPG signature.
2005-03-22 15:51:14 +00:00
Walter Dörwald
c448a91ee8
Fix typo.
2005-03-22 11:22:38 +00:00
Fred Drake
abc1566eab
fix Python style guide conformance
2005-03-22 05:43:18 +00:00
Fred Drake
ae22bbed81
- fix markup bugs
...
- more consistent markup
- elaborate a couple of points
2005-03-22 04:09:37 +00:00
Walter Dörwald
7355e8133d
Add list tests that ensure that remove() removes the first occurrence.
...
(Copied from test_deque.py as suggested by Jim Jewett in SF bug #1166274 )
2005-03-21 21:31:47 +00:00
Martin v. Löwis
98858c9efd
Actually add the implementation of the command.
2005-03-21 21:00:59 +00:00
Martin v. Löwis
55f1bb8bfa
Add the upload command. Make all dist commands register their
...
outputs with the distribution object.
2005-03-21 20:56:35 +00:00
Brett Cannon
e6c430dffe
Add comment about optional option for keeping indentation level from previous
...
line.
2005-03-21 20:41:51 +00:00
Skip Montanaro
3f8f666914
correct ontosys url - closes 1167329
2005-03-21 19:39:16 +00:00
Fred Drake
227e8ffa20
- rename check_provision() to split_revision()
...
- fix indentation to conform to the Python style guide
- add more tests and documentation
2005-03-21 06:36:32 +00:00
Fred Drake
dd6f04630f
fix obscure markup error, wrapping a long line
2005-03-21 05:51:01 +00:00
Fred Drake
114b8caf01
fix environment broken in revision 1.6
2005-03-21 05:47:11 +00:00
Fred Drake
db7b0027dc
PEP 314 implementation (client side):
...
added support for the provides, requires, and obsoletes metadata fields
2005-03-20 22:19:47 +00:00
Fred Drake
54398d6afb
helper code, mostly from Andy Harrington, for PEP 314 completion
2005-03-20 22:17:02 +00:00
Andrew M. Kuchling
b1c96fd83e
Write part of PEP 309 section
2005-03-20 21:42:04 +00:00
Andrew M. Kuchling
0c35db9dd1
Describe how to get back lib-old; if this isn't the best way, please let me know
2005-03-20 20:06:49 +00:00
Andrew M. Kuchling
511a3a8174
Add item
2005-03-20 19:52:18 +00:00
Andrew M. Kuchling
e9b1bf4718
Describe various things
2005-03-20 19:26:30 +00:00