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
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
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
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
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
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
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
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
Johannes Gijsbers
a5855d5ace
Patch #1159931/bug #1143895 : inspect.getsource failed when functions,
...
etc., had comments after the colon, and some other cases. This patch
take a simpler approach that doesn't rely on looking for a ':'. Thanks
Simon Percivall!
2005-03-12 16:37:11 +00:00
Raymond Hettinger
f77d0334f3
Revised the itertools quantifier recipes to match the performance of the
...
new builtins.
2005-03-11 22:17:30 +00:00
Raymond Hettinger
96229b1918
Add two new functions, any() and all().
2005-03-11 06:49:40 +00:00
Raymond Hettinger
26e512a04f
Test partial() with bound/unbound methods.
2005-03-11 06:48:49 +00:00
Raymond Hettinger
a1a992c0a0
Apply itemgetter() instead of lambda.
2005-03-11 06:46:45 +00:00
Brett Cannon
01668a1ab9
Fix test for socket.getfqdn() to also include the name returned by
...
socket.gethostname() in the check for a valid return.
Also clarified docs (official and docstring) that the value from gethostname()
is returned if gethostbyaddr() doesn't do the job.
2005-03-11 00:04:17 +00:00
Raymond Hettinger
984f9bb714
operator.itemgetter() and operator.attrgetter() now support extraction
...
of multiple fields. This provides direct support for sorting by
multiple keys.
2005-03-09 16:38:48 +00:00
Martin v. Löwis
e2713becd8
Build with --disable-unicode again. Fixes #1158607 .
...
Will backport to 2.4.
2005-03-08 15:03:08 +00:00
Martin v. Löwis
b60ae99601
Convert file names of posix.access according to the file system encoding.
2005-03-08 09:10:29 +00:00
Raymond Hettinger
c8b6d1bd8c
Make functional.partial() more closely match the spec by emulating
...
some useful features of regular functions:
* Made weak referencable.
* Allow attribute access so a user can set __name__, __doc__, etc.
2005-03-08 06:14:50 +00:00
Greg Ward
50682d0f78
SF #818006 : merge from release24-maint branch: add useful read-only
...
attributes to oss_audio_device object: 'closed', 'name', and 'mode'.
2005-03-07 01:41:11 +00:00
Martin v. Löwis
78be7df9e4
Patch #918101 : Add tarfile open mode r|* for auto-detection of the
...
stream compression; add, for symmetry reasons, r:* as a synonym of r.
2005-03-05 12:47:42 +00:00
Brett Cannon
653a5adcca
Tweak test_communicate_stderr so that it works when run under a pydebug build.
2005-03-05 06:40:52 +00:00
Brett Cannon
1bfd85b612
Remove some more tab usage to prevent an error when run as ``python -tt``.
2005-03-05 05:32:14 +00:00
Brett Cannon
3304a14148
Remove a tab so that whitespace usage is consistent.
2005-03-05 05:28:45 +00:00
Greg Ward
40407943b7
SF #1149508 : ensure textwrap handles hyphenated numbers correctly,
...
eg. "2004-03-04" is not broken across lines. (Merged from 2.4 branch.)
2005-03-05 02:53:17 +00:00
Martin v. Löwis
00a73e7715
Patch #1043890 : tarfile: add extractall() method.
2005-03-04 19:40:34 +00:00
Martin v. Löwis
c72dd38f30
Patch #1075887 : Don't require MSVC in distutils if there is nothing
...
to build. Will backport to 2.4
2005-03-04 13:50:17 +00:00
Martin v. Löwis
637431bf14
Patch #1103407 : Properly deal with tarfile iterators when untarring
...
symbolic links on Windows. Fixes #1100429 . Will backport to 2.4.
2005-03-03 23:12:42 +00:00
Peter Astrand
7e78ade6f9
Corrected bug in list2cmdline wrt backslashes. Fixes #1083306 .
2005-03-03 21:10:23 +00:00
Peter Astrand
f7f1bb7ff5
Only run extensive subprocess tests if -usubprocess to regrtest is specified. Fixes #1124637
2005-03-03 20:47:37 +00:00
Peter Astrand
23109f0009
Optimization for communicate(): If only one of stdin/stdout/stderr is
...
redirected, using select() or threads is unnecessary.
2005-03-03 20:28:59 +00:00
Peter Astrand
cbac93c229
Added three more testcases: Using communicate with only one of
...
stdin/stdout/stderr redirected.
2005-03-03 20:24:28 +00:00
Raymond Hettinger
b67cc80bb9
SF bug #1155938 : Missing None check for __init__().
2005-03-03 16:45:19 +00:00
Martin v. Löwis
6ce7ed23d0
Revert previous checkin on getargs 'L' code. Try to convert all
...
numbers in PyLong_AsLongLong, and update test suite accordingly.
Backported to 2.4.
2005-03-03 12:26:35 +00:00
Martin v. Löwis
a4dac4094a
Patch #645894 : Use getrusage for computing the time consumption in
...
profile.py if available.
2005-03-03 11:39:45 +00:00
Martin v. Löwis
7fe60c0a0a
Patches #749830 , #1144555 : allow UNIX mmap size to default to current
...
file size.
2005-03-03 11:22:44 +00:00
Martin v. Löwis
df37c8c1ad
Patch #1046831 : Use get_python_version where appropriate in sysconfig.py.
2005-03-03 11:08:03 +00:00
Martin v. Löwis
c5574e809b
Patch #1117454 : Remove code to special-case cookies without values
...
in LWPCookieJar. Backported to 2.4.
2005-03-03 10:57:37 +00:00
Martin v. Löwis
4ea3eade51
Patch #1117339 : Add cookielib special name tests.
...
Backported to 2.4.
2005-03-03 10:48:12 +00:00