]>
granicus.if.org Git - python/log
Fred Drake [Sun, 20 Mar 2005 22:19:47 +0000 (22:19 +0000)]
PEP 314 implementation (client side):
added support for the provides, requires, and obsoletes metadata fields
Fred Drake [Sun, 20 Mar 2005 22:17:02 +0000 (22:17 +0000)]
helper code, mostly from Andy Harrington, for PEP 314 completion
Andrew M. Kuchling [Sun, 20 Mar 2005 21:42:04 +0000 (21:42 +0000)]
Write part of PEP 309 section
Andrew M. Kuchling [Sun, 20 Mar 2005 20:06:49 +0000 (20:06 +0000)]
Describe how to get back lib-old; if this isn't the best way, please let me know
Andrew M. Kuchling [Sun, 20 Mar 2005 19:52:18 +0000 (19:52 +0000)]
Add item
Andrew M. Kuchling [Sun, 20 Mar 2005 19:26:30 +0000 (19:26 +0000)]
Describe various things
Matthias Klose [Sun, 20 Mar 2005 14:16:03 +0000 (14:16 +0000)]
fix two typos in python(1)
Raymond Hettinger [Sat, 19 Mar 2005 16:27:33 +0000 (16:27 +0000)]
Fill-in missing argspec.
Raymond Hettinger [Sat, 19 Mar 2005 00:00:51 +0000 (00:00 +0000)]
Apply remove's mutation test after every equality test.
Raymond Hettinger [Fri, 18 Mar 2005 21:20:23 +0000 (21:20 +0000)]
Add a remove() method to collections.deque objects.
Skip Montanaro [Fri, 18 Mar 2005 16:56:37 +0000 (16:56 +0000)]
add UnicodeReader and UnicodeWriter example classes
Walter Dörwald [Fri, 18 Mar 2005 10:28:24 +0000 (10:28 +0000)]
Fix typo.
Anthony Baxter [Wed, 16 Mar 2005 04:15:07 +0000 (04:15 +0000)]
Patch #
1163249 - Correctly handle _POSIX_SEMAPHORES == -1 to mean no
support for posix semaphores.
Skip Montanaro [Wed, 16 Mar 2005 03:51:56 +0000 (03:51 +0000)]
typo
Fred Drake [Tue, 15 Mar 2005 15:52:08 +0000 (15:52 +0000)]
add two more extensions:
- .wsdl --> Web Service Definition Language
- .xpdl --> XML Process Definition Language
Raymond Hettinger [Tue, 15 Mar 2005 04:59:17 +0000 (04:59 +0000)]
Bug #
1163325 : "special" decimals aren't hashable
Martin v. Löwis [Tue, 15 Mar 2005 00:39:40 +0000 (00:39 +0000)]
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.
Martin v. Löwis [Mon, 14 Mar 2005 21:23:33 +0000 (21:23 +0000)]
Configure bug reporting address.
Walter Dörwald [Mon, 14 Mar 2005 19:25:41 +0000 (19:25 +0000)]
Add default value for "whence" argument.
Walter Dörwald [Mon, 14 Mar 2005 19:06:30 +0000 (19:06 +0000)]
Reset internal buffers when seek() is called. This fixes SF bug #
1156259 .
Martin v. Löwis [Mon, 14 Mar 2005 17:20:13 +0000 (17:20 +0000)]
Add more UUIDs. Update custom actions for Itanium.
Backported to 2.4
Vinay Sajip [Sun, 13 Mar 2005 09:57:46 +0000 (09:57 +0000)]
Made traceback unconditional, to avoid lock contention problems when logging errors occur in a custom importer (SF path #
1158052 ).
Vinay Sajip [Sun, 13 Mar 2005 09:56:36 +0000 (09:56 +0000)]
Added optional encoding argument to file handlers.
Vinay Sajip [Sun, 13 Mar 2005 09:54:31 +0000 (09:54 +0000)]
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 )
Tim Peters [Sat, 12 Mar 2005 19:05:58 +0000 (19:05 +0000)]
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).
Johannes Gijsbers [Sat, 12 Mar 2005 16:37:11 +0000 (16:37 +0000)]
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!
Raymond Hettinger [Fri, 11 Mar 2005 22:17:30 +0000 (22:17 +0000)]
Revised the itertools quantifier recipes to match the performance of the
new builtins.
Raymond Hettinger [Fri, 11 Mar 2005 06:49:40 +0000 (06:49 +0000)]
Add two new functions, any() and all().
Raymond Hettinger [Fri, 11 Mar 2005 06:48:49 +0000 (06:48 +0000)]
Test partial() with bound/unbound methods.
Raymond Hettinger [Fri, 11 Mar 2005 06:46:45 +0000 (06:46 +0000)]
Apply itemgetter() instead of lambda.
Brett Cannon [Fri, 11 Mar 2005 00:04:17 +0000 (00:04 +0000)]
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.
Anthony Baxter [Thu, 10 Mar 2005 13:47:17 +0000 (13:47 +0000)]
merge from branches
Fred Drake [Thu, 10 Mar 2005 05:02:18 +0000 (05:02 +0000)]
- fix generated Texinfo markup for \deprecated
- add support for additional markup: \leq, \textbar, \textit
- add a comment about the non-support for the Euro character
(ported from release24-maint branch release 1.10.4.2)
Fred Drake [Thu, 10 Mar 2005 04:01:14 +0000 (04:01 +0000)]
fix broken usage comment
Fred Drake [Thu, 10 Mar 2005 03:59:35 +0000 (03:59 +0000)]
add missing entries from GNU info conversion table
(ported from release24-maint branch revision 1.10.4.1)
Fred Drake [Thu, 10 Mar 2005 03:48:14 +0000 (03:48 +0000)]
correct several markup errors caught by the GNU info conversion
(ported from release24-maint branch revision 1.86.2.3)
Raymond Hettinger [Wed, 9 Mar 2005 23:46:11 +0000 (23:46 +0000)]
SF bug #
1160187 : Setup file needs entries for collections, itertools, strop
Andrew MacIntyre [Wed, 9 Mar 2005 22:21:08 +0000 (22:21 +0000)]
add support for another DB library naming convention (FreeBSD ports)
Raymond Hettinger [Wed, 9 Mar 2005 16:38:48 +0000 (16:38 +0000)]
operator.itemgetter() and operator.attrgetter() now support extraction
of multiple fields. This provides direct support for sorting by
multiple keys.
Anthony Baxter [Wed, 9 Mar 2005 11:51:40 +0000 (11:51 +0000)]
ported buildnos to trunk
Skip Montanaro [Wed, 9 Mar 2005 03:01:31 +0000 (03:01 +0000)]
hmmm... moving def'n of version makes the __init__ unnecessary for the
example
Skip Montanaro [Wed, 9 Mar 2005 02:57:26 +0000 (02:57 +0000)]
Correct description/example of how to override User-agent.
Martin v. Löwis [Tue, 8 Mar 2005 15:03:08 +0000 (15:03 +0000)]
Build with --disable-unicode again. Fixes #
1158607 .
Will backport to 2.4.
Martin v. Löwis [Tue, 8 Mar 2005 09:10:29 +0000 (09:10 +0000)]
Convert file names of posix.access according to the file system encoding.
Raymond Hettinger [Tue, 8 Mar 2005 07:15:36 +0000 (07:15 +0000)]
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.
Raymond Hettinger [Tue, 8 Mar 2005 06:14:50 +0000 (06:14 +0000)]
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.
Greg Ward [Tue, 8 Mar 2005 01:10:20 +0000 (01:10 +0000)]
SF #
1156412 : document the __new__() static method
(merge from release24-maint branch).
Greg Ward [Mon, 7 Mar 2005 01:41:11 +0000 (01:41 +0000)]
SF #818006: merge from release24-maint branch: add useful read-only
attributes to oss_audio_device object: 'closed', 'name', and 'mode'.
Martin v. Löwis [Sat, 5 Mar 2005 12:47:42 +0000 (12:47 +0000)]
Patch #918101: Add tarfile open mode r|* for auto-detection of the
stream compression; add, for symmetry reasons, r:* as a synonym of r.
Brett Cannon [Sat, 5 Mar 2005 06:47:57 +0000 (06:47 +0000)]
Allow classes to be defined with empty parentheses. This means that
``class C(): pass`` is no longer a syntax error.
Brett Cannon [Sat, 5 Mar 2005 06:40:52 +0000 (06:40 +0000)]
Tweak test_communicate_stderr so that it works when run under a pydebug build.
Brett Cannon [Sat, 5 Mar 2005 05:52:21 +0000 (05:52 +0000)]
Add a highlight group for denoting bad whitespace. Also added a match rule for
leading tabs in a line when in Python mode.
Also fixed some grammatical errors in the comments.
Brett Cannon [Sat, 5 Mar 2005 05:32:14 +0000 (05:32 +0000)]
Remove some more tab usage to prevent an error when run as ``python -tt``.
Brett Cannon [Sat, 5 Mar 2005 05:28:45 +0000 (05:28 +0000)]
Remove a tab so that whitespace usage is consistent.
Greg Ward [Sat, 5 Mar 2005 02:53:17 +0000 (02:53 +0000)]
SF #
1149508 : ensure textwrap handles hyphenated numbers correctly,
eg. "2004-03-04" is not broken across lines. (Merged from 2.4 branch.)
Martin v. Löwis [Fri, 4 Mar 2005 19:40:34 +0000 (19:40 +0000)]
Patch #
1043890 : tarfile: add extractall() method.
Martin v. Löwis [Fri, 4 Mar 2005 14:37:01 +0000 (14:37 +0000)]
Patches #925152, #
1118602 : Avoid reading after the end of the buffer
in pyexpat.GetInputContext. Will backport to 2.4.
Michael W. Hudson [Fri, 4 Mar 2005 14:33:32 +0000 (14:33 +0000)]
Updates to the exceptions documentation (this is my patch #
1156102 ).
Martin v. Löwis [Fri, 4 Mar 2005 13:50:17 +0000 (13:50 +0000)]
Patch #
1075887 : Don't require MSVC in distutils if there is nothing
to build. Will backport to 2.4
Martin v. Löwis [Thu, 3 Mar 2005 23:12:42 +0000 (23:12 +0000)]
Patch #
1103407 : Properly deal with tarfile iterators when untarring
symbolic links on Windows. Fixes #
1100429 . Will backport to 2.4.
Martin v. Löwis [Thu, 3 Mar 2005 23:07:21 +0000 (23:07 +0000)]
Patch #
1107221 : Updated "Working on Cygwin" section.
Will backport to 2.4.
Martin v. Löwis [Thu, 3 Mar 2005 23:00:26 +0000 (23:00 +0000)]
Patch #
1115086 : support PY_LONGLONG in structmember.
Peter Astrand [Thu, 3 Mar 2005 21:10:23 +0000 (21:10 +0000)]
Corrected bug in list2cmdline wrt backslashes. Fixes #
1083306 .
Peter Astrand [Thu, 3 Mar 2005 20:47:37 +0000 (20:47 +0000)]
Only run extensive subprocess tests if -usubprocess to regrtest is specified. Fixes #
1124637
Peter Astrand [Thu, 3 Mar 2005 20:28:59 +0000 (20:28 +0000)]
Optimization for communicate(): If only one of stdin/stdout/stderr is
redirected, using select() or threads is unnecessary.
Peter Astrand [Thu, 3 Mar 2005 20:24:28 +0000 (20:24 +0000)]
Added three more testcases: Using communicate with only one of
stdin/stdout/stderr redirected.
Fred Drake [Thu, 3 Mar 2005 17:25:04 +0000 (17:25 +0000)]
minor edits:
- function names marked with \function should include parentheses
- "standard error" instead of "stderr" for text
- a boolean parameter takes true or false values, not just True or False
Raymond Hettinger [Thu, 3 Mar 2005 16:45:19 +0000 (16:45 +0000)]
SF bug #
1155938 : Missing None check for __init__().
Martin v. Löwis [Thu, 3 Mar 2005 12:26:35 +0000 (12:26 +0000)]
Revert previous checkin on getargs 'L' code. Try to convert all
numbers in PyLong_AsLongLong, and update test suite accordingly.
Backported to 2.4.
Martin v. Löwis [Thu, 3 Mar 2005 11:45:45 +0000 (11:45 +0000)]
Patch #802188: better parser error message for non-EOL following line cont.
Martin v. Löwis [Thu, 3 Mar 2005 11:39:45 +0000 (11:39 +0000)]
Patch #645894: Use getrusage for computing the time consumption in
profile.py if available.
Martin v. Löwis [Thu, 3 Mar 2005 11:22:44 +0000 (11:22 +0000)]
Patches #749830, #
1144555 : allow UNIX mmap size to default to current
file size.
Martin v. Löwis [Thu, 3 Mar 2005 11:08:03 +0000 (11:08 +0000)]
Patch #
1046831 : Use get_python_version where appropriate in sysconfig.py.
Martin v. Löwis [Thu, 3 Mar 2005 10:57:37 +0000 (10:57 +0000)]
Patch #
1117454 : Remove code to special-case cookies without values
in LWPCookieJar. Backported to 2.4.
Martin v. Löwis [Thu, 3 Mar 2005 10:48:12 +0000 (10:48 +0000)]
Patch #
1117339 : Add cookielib special name tests.
Backported to 2.4.
Martin v. Löwis [Thu, 3 Mar 2005 10:06:05 +0000 (10:06 +0000)]
Document quiet parameter to decode. Fixes #803413.
Martin v. Löwis [Thu, 3 Mar 2005 09:46:07 +0000 (09:46 +0000)]
Patch #
1112812 : Make bsddb/__init__.py more friendly for modulefinder.
Backported to 2.4.
Martin v. Löwis [Thu, 3 Mar 2005 09:24:38 +0000 (09:24 +0000)]
Clear internal call error in 'L' format. Fixes #723201.
Backported to 2.4.
Martin v. Löwis [Thu, 3 Mar 2005 08:35:22 +0000 (08:35 +0000)]
Patch #
1110248 : SYNC_FLUSH the zlib buffer for GZipFile.flush.
Partially fixes #
1110242 .
Martin v. Löwis [Thu, 3 Mar 2005 08:17:42 +0000 (08:17 +0000)]
Patch #
1107973 : tarfile.ExFileObject iterators.
Martin v. Löwis [Thu, 3 Mar 2005 08:12:27 +0000 (08:12 +0000)]
Patch #
1104111 : Alter setup.py --help and --help-commands.
Brett Cannon [Thu, 3 Mar 2005 07:01:48 +0000 (07:01 +0000)]
Silence a gcc warning about putting in parentheses around && expressions mixed
with || expressions. Also clarifies intend of 'if' conditional.
Raymond Hettinger [Wed, 2 Mar 2005 15:10:38 +0000 (15:10 +0000)]
Noted that the module is new in version 2.5.
Piers Lauder [Wed, 2 Mar 2005 09:13:45 +0000 (09:13 +0000)]
Fix bug in InternalDate regexp that failed to allow leading 0 in day - courtesy of Rimon Barr <rimon.barr@cornell.edu>
Skip Montanaro [Wed, 2 Mar 2005 04:29:23 +0000 (04:29 +0000)]
Improve (?) description of system dependence of access to the pw_passwd
field on systems that support shadow passwords.
Martin v. Löwis [Tue, 1 Mar 2005 08:09:28 +0000 (08:09 +0000)]
Patch #
1121234 : Properly cleanup _exit and tkerror commands.
Will backport to 2.4.
Brett Cannon [Tue, 1 Mar 2005 03:16:34 +0000 (03:16 +0000)]
Fix grammatical typo in a comment.
Brett Cannon [Tue, 1 Mar 2005 03:15:50 +0000 (03:15 +0000)]
Make test__locale more fine-grained. Now test localeconv and nl_langinfo
individually as tests.
Also improved output when the test fails.
Brett Cannon [Tue, 1 Mar 2005 03:12:26 +0000 (03:12 +0000)]
Fix small grammatical error in a docstring.
Andrew M. Kuchling [Tue, 1 Mar 2005 00:53:46 +0000 (00:53 +0000)]
Note various changes that need to be described
Raymond Hettinger [Mon, 28 Feb 2005 19:39:44 +0000 (19:39 +0000)]
SF patch #941881: PEP 309 Implementation (Partial Function Application).
Combined efforts of many including Peter Harris, Hye-Shik Chang,
Martin v. Löwis, Nick Coghlan, Paul Moore, and Raymond Hettinger.
Raymond Hettinger [Mon, 28 Feb 2005 19:27:52 +0000 (19:27 +0000)]
Complete the previous effort to factor out constant expressions
and improve the speed of the if/elif/else blocks.
Martin v. Löwis [Sun, 27 Feb 2005 20:33:25 +0000 (20:33 +0000)]
Patch #
1093585 : raise a ValueError for negative history items in
remove_history and replace_history. Will backport to 2.4.
Martin v. Löwis [Thu, 24 Feb 2005 20:22:10 +0000 (20:22 +0000)]
Patch #
1049151 : adding bool support to xdrlib.py.
Also add xdrlib._test into the test suite.
Raymond Hettinger [Wed, 23 Feb 2005 20:40:42 +0000 (20:40 +0000)]
Update an example to match current output.
Raymond Hettinger [Wed, 23 Feb 2005 13:37:55 +0000 (13:37 +0000)]
Preserve sign of -0.0 when result is run through marshal.
Michael W. Hudson [Tue, 22 Feb 2005 15:33:26 +0000 (15:33 +0000)]
A few random updates to make things less horrifyingly out of date.
Delete some advice that can never, ever have worked.
There are a couple of XXX comments for bits I don't know how to
update. It would be really good not to release Python 2.5 with these
in place :)
This file is way too big. There's basically no chance of it staying
up to date.
Raymond Hettinger [Mon, 21 Feb 2005 20:28:07 +0000 (20:28 +0000)]
Document missing opcodes.
Raymond Hettinger [Mon, 21 Feb 2005 20:03:14 +0000 (20:03 +0000)]
Document how the pattern recognizer keeps all of its references in bounds.
Add a test in case the underlying assumptions ever change (i.e. the
compiler starts generating code blocks that are not punctuated by
RETURN_VALUE).
Raymond Hettinger [Mon, 21 Feb 2005 15:46:52 +0000 (15:46 +0000)]
Fix some wording and grammar nits.