Commit graph

31853 commits

Author SHA1 Message Date
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
Raymond Hettinger
bea3f6f5c7 Bug #1163325: "special" decimals aren't hashable 2005-03-15 04:59:17 +00:00
Martin v. Löwis
141f41ae1a Reuse componentids for *.dll across minor releases.
Indicate to the user when this is an upgrade installation.
Make CHM file non-advertised.
Backported to 2.4.
2005-03-15 00:39:40 +00:00
Martin v. Löwis
1d459061a0 Configure bug reporting address. 2005-03-14 21:23:33 +00:00
Walter Dörwald
71fd90da87 Add default value for "whence" argument. 2005-03-14 19:25:41 +00:00
Walter Dörwald
729c31f5c3 Reset internal buffers when seek() is called. This fixes SF bug #1156259. 2005-03-14 19:06:30 +00:00
Martin v. Löwis
3390d33dd7 Add more UUIDs. Update custom actions for Itanium.
Backported to 2.4
2005-03-14 17:20:13 +00:00
Vinay Sajip
8e628d2342 Made traceback unconditional, to avoid lock contention problems when logging errors occur in a custom importer (SF path #1158052). 2005-03-13 09:57:46 +00:00
Vinay Sajip
4600f11a07 Added optional encoding argument to file handlers. 2005-03-13 09:56:36 +00:00
Vinay Sajip
b89e7c9bc9 Added optional encoding argument to file handlers. Made traceback import unconditional, to avoid lock contention problems which occur when logging from custom importers (SF patch #1158052) 2005-03-13 09:54:31 +00:00
Tim Peters
a733bd96f1 Port bugfix from 2.4 maint.
Bug #1160802:  Can't build Zope on Windows w/ 2.4.1c1.

MSVCCompiler.initialize():  set self.initialized to True, as suggested
by AMK.  Else we keep growing the PATH endlessly, with each new C
extension built, until putenv() complains.

No change to NEWS because the patch that created this bug is also new
for 2.5a1 (so there's no change here to any code yet released from HEAD).
2005-03-12 19:05:58 +00:00