Commit Graph

31863 Commits

Author SHA1 Message Date
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
Matthias Klose 31a58df5ed fix two typos in python(1) 2005-03-20 14:16:03 +00:00
Raymond Hettinger 582ffe21c4 Fill-in missing argspec. 2005-03-19 16:27:33 +00:00
Raymond Hettinger d73202c596 Apply remove's mutation test after every equality test. 2005-03-19 00:00:51 +00:00
Raymond Hettinger 4aec61e0fc Add a remove() method to collections.deque objects. 2005-03-18 21:20:23 +00:00
Skip Montanaro 5011c3f7fc add UnicodeReader and UnicodeWriter example classes 2005-03-18 16:56:37 +00:00
Walter Dörwald 09515af5e2 Fix typo. 2005-03-18 10:28:24 +00:00
Anthony Baxter 19b2369d42 Patch #1163249 - Correctly handle _POSIX_SEMAPHORES == -1 to mean no
support for posix semaphores.
2005-03-16 04:15:07 +00:00
Skip Montanaro 9f5f9d943d typo 2005-03-16 03:51:56 +00:00
Fred Drake 7ce75151a4 add two more extensions:
- .wsdl --> Web Service Definition Language
- .xpdl --> XML Process Definition Language
2005-03-15 15:52:08 +00:00