]> granicus.if.org Git - python/log
python
19 years agoFix typo.
Walter Dörwald [Wed, 23 Mar 2005 10:38:59 +0000 (10:38 +0000)]
Fix typo.

19 years agoMake the signature detached.
Martin v. Löwis [Tue, 22 Mar 2005 23:02:54 +0000 (23:02 +0000)]
Make the signature detached.

19 years agoAdd tests for tuple, list and UserList that initialize the object from
Walter Dörwald [Tue, 22 Mar 2005 22:43:28 +0000 (22:43 +0000)]
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)

19 years agoFix registration of output file.
Martin v. Löwis [Tue, 22 Mar 2005 22:23:29 +0000 (22:23 +0000)]
Fix registration of output file.

19 years agoDon't set the Python version for sdist uploads.
Martin v. Löwis [Tue, 22 Mar 2005 20:32:41 +0000 (20:32 +0000)]
Don't set the Python version for sdist uploads.

19 years agoUpload GPG signature.
Martin v. Löwis [Tue, 22 Mar 2005 15:51:14 +0000 (15:51 +0000)]
Upload GPG signature.

19 years agoFix typo.
Walter Dörwald [Tue, 22 Mar 2005 11:22:38 +0000 (11:22 +0000)]
Fix typo.

19 years agofix Python style guide conformance
Fred Drake [Tue, 22 Mar 2005 05:43:18 +0000 (05:43 +0000)]
fix Python style guide conformance

19 years ago- fix markup bugs
Fred Drake [Tue, 22 Mar 2005 04:09:37 +0000 (04:09 +0000)]
- fix markup bugs
- more consistent markup
- elaborate a couple of points

19 years agoAdd list tests that ensure that remove() removes the first occurrence.
Walter Dörwald [Mon, 21 Mar 2005 21:31:47 +0000 (21:31 +0000)]
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)

19 years agoActually add the implementation of the command.
Martin v. Löwis [Mon, 21 Mar 2005 21:00:59 +0000 (21:00 +0000)]
Actually add the implementation of the command.

19 years agoAdd the upload command. Make all dist commands register their
Martin v. Löwis [Mon, 21 Mar 2005 20:56:35 +0000 (20:56 +0000)]
Add the upload command. Make all dist commands register their
outputs with the distribution object.

19 years agoAdd comment about optional option for keeping indentation level from previous
Brett Cannon [Mon, 21 Mar 2005 20:41:51 +0000 (20:41 +0000)]
Add comment about optional option for keeping indentation level from previous
line.

19 years agocorrect ontosys url - closes 1167329
Skip Montanaro [Mon, 21 Mar 2005 19:39:16 +0000 (19:39 +0000)]
correct ontosys url - closes 1167329

19 years ago- rename check_provision() to split_revision()
Fred Drake [Mon, 21 Mar 2005 06:36:32 +0000 (06:36 +0000)]
- rename check_provision() to split_revision()
- fix indentation to conform to the Python style guide
- add more tests and documentation

19 years agofix obscure markup error, wrapping a long line
Fred Drake [Mon, 21 Mar 2005 05:51:01 +0000 (05:51 +0000)]
fix obscure markup error, wrapping a long line

19 years agofix environment broken in revision 1.6
Fred Drake [Mon, 21 Mar 2005 05:47:11 +0000 (05:47 +0000)]
fix environment broken in revision 1.6

19 years agoPEP 314 implementation (client side):
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

19 years agohelper code, mostly from Andy Harrington, for PEP 314 completion
Fred Drake [Sun, 20 Mar 2005 22:17:02 +0000 (22:17 +0000)]
helper code, mostly from Andy Harrington, for PEP 314 completion

19 years agoWrite part of PEP 309 section
Andrew M. Kuchling [Sun, 20 Mar 2005 21:42:04 +0000 (21:42 +0000)]
Write part of PEP 309 section

19 years agoDescribe how to get back lib-old; if this isn't the best way, please let me know
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

19 years agoAdd item
Andrew M. Kuchling [Sun, 20 Mar 2005 19:52:18 +0000 (19:52 +0000)]
Add item

19 years agoDescribe various things
Andrew M. Kuchling [Sun, 20 Mar 2005 19:26:30 +0000 (19:26 +0000)]
Describe various things

19 years agofix two typos in python(1)
Matthias Klose [Sun, 20 Mar 2005 14:16:03 +0000 (14:16 +0000)]
fix two typos in python(1)

19 years agoFill-in missing argspec.
Raymond Hettinger [Sat, 19 Mar 2005 16:27:33 +0000 (16:27 +0000)]
Fill-in missing argspec.

19 years agoApply remove's mutation test after every equality test.
Raymond Hettinger [Sat, 19 Mar 2005 00:00:51 +0000 (00:00 +0000)]
Apply remove's mutation test after every equality test.

19 years agoAdd a remove() method to collections.deque objects.
Raymond Hettinger [Fri, 18 Mar 2005 21:20:23 +0000 (21:20 +0000)]
Add a remove() method to collections.deque objects.

19 years agoadd UnicodeReader and UnicodeWriter example classes
Skip Montanaro [Fri, 18 Mar 2005 16:56:37 +0000 (16:56 +0000)]
add UnicodeReader and UnicodeWriter example classes

19 years agoFix typo.
Walter Dörwald [Fri, 18 Mar 2005 10:28:24 +0000 (10:28 +0000)]
Fix typo.

19 years agoPatch #1163249 - Correctly handle _POSIX_SEMAPHORES == -1 to mean no
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.

19 years agotypo
Skip Montanaro [Wed, 16 Mar 2005 03:51:56 +0000 (03:51 +0000)]
typo

19 years agoadd two more extensions:
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

19 years agoBug #1163325: "special" decimals aren't hashable
Raymond Hettinger [Tue, 15 Mar 2005 04:59:17 +0000 (04:59 +0000)]
Bug #1163325:  "special" decimals aren't hashable

19 years agoReuse componentids for *.dll across minor releases.
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.

19 years agoConfigure bug reporting address.
Martin v. Löwis [Mon, 14 Mar 2005 21:23:33 +0000 (21:23 +0000)]
Configure bug reporting address.

19 years agoAdd default value for "whence" argument.
Walter Dörwald [Mon, 14 Mar 2005 19:25:41 +0000 (19:25 +0000)]
Add default value for "whence" argument.

19 years agoReset internal buffers when seek() is called. This fixes SF bug #1156259.
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.

19 years agoAdd more UUIDs. Update custom actions for Itanium.
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

20 years agoMade traceback unconditional, to avoid lock contention problems when logging errors...
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).

20 years agoAdded optional encoding argument to file handlers.
Vinay Sajip [Sun, 13 Mar 2005 09:56:36 +0000 (09:56 +0000)]
Added optional encoding argument to file handlers.

20 years agoAdded optional encoding argument to file handlers. Made traceback import unconditiona...
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)

20 years agoPort bugfix from 2.4 maint.
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).

20 years agoPatch #1159931/bug #1143895: inspect.getsource failed when functions,
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!

20 years agoRevised the itertools quantifier recipes to match the performance of the
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.

20 years agoAdd two new functions, any() and all().
Raymond Hettinger [Fri, 11 Mar 2005 06:49:40 +0000 (06:49 +0000)]
Add two new functions, any() and all().

20 years agoTest partial() with bound/unbound methods.
Raymond Hettinger [Fri, 11 Mar 2005 06:48:49 +0000 (06:48 +0000)]
Test partial() with bound/unbound methods.

20 years agoApply itemgetter() instead of lambda.
Raymond Hettinger [Fri, 11 Mar 2005 06:46:45 +0000 (06:46 +0000)]
Apply itemgetter() instead of lambda.

20 years agoFix test for socket.getfqdn() to also include the name returned by
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.

20 years agomerge from branches
Anthony Baxter [Thu, 10 Mar 2005 13:47:17 +0000 (13:47 +0000)]
merge from branches

20 years ago- fix generated Texinfo markup for \deprecated
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)

20 years agofix broken usage comment
Fred Drake [Thu, 10 Mar 2005 04:01:14 +0000 (04:01 +0000)]
fix broken usage comment

20 years agoadd missing entries from GNU info conversion table
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)

20 years agocorrect several markup errors caught by the GNU info conversion
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)

20 years agoSF bug #1160187: Setup file needs entries for collections, itertools, strop
Raymond Hettinger [Wed, 9 Mar 2005 23:46:11 +0000 (23:46 +0000)]
SF bug #1160187:  Setup file needs entries for collections, itertools, strop

20 years agoadd support for another DB library naming convention (FreeBSD ports)
Andrew MacIntyre [Wed, 9 Mar 2005 22:21:08 +0000 (22:21 +0000)]
add support for another DB library naming convention (FreeBSD ports)

20 years agooperator.itemgetter() and operator.attrgetter() now support extraction
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.

20 years agoported buildnos to trunk
Anthony Baxter [Wed, 9 Mar 2005 11:51:40 +0000 (11:51 +0000)]
ported buildnos to trunk

20 years agohmmm... moving def'n of version makes the __init__ unnecessary for the
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

20 years agoCorrect description/example of how to override User-agent.
Skip Montanaro [Wed, 9 Mar 2005 02:57:26 +0000 (02:57 +0000)]
Correct description/example of how to override User-agent.

20 years agoBuild with --disable-unicode again. Fixes #1158607.
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.

20 years agoConvert file names of posix.access according to the file system encoding.
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.

20 years agoMake functional.partial() more closely match the spec by emulating some useful featur...
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.

20 years agoMake functional.partial() more closely match the spec by emulating
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.

20 years agoSF #1156412: document the __new__() static method
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).

20 years agoSF #818006: merge from release24-maint branch: add useful read-only
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'.

20 years agoPatch #918101: Add tarfile open mode r|* for auto-detection of the
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.

20 years agoAllow classes to be defined with empty parentheses. This means that
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.

20 years agoTweak test_communicate_stderr so that it works when run under a pydebug build.
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.

20 years agoAdd a highlight group for denoting bad whitespace. Also added a match rule for
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.

20 years agoRemove some more tab usage to prevent an error when run as ``python -tt``.
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``.

20 years agoRemove a tab so that whitespace usage is consistent.
Brett Cannon [Sat, 5 Mar 2005 05:28:45 +0000 (05:28 +0000)]
Remove a tab so that whitespace usage is consistent.

20 years agoSF #1149508: ensure textwrap handles hyphenated numbers correctly,
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.)

20 years agoPatch #1043890: tarfile: add extractall() method.
Martin v. Löwis [Fri, 4 Mar 2005 19:40:34 +0000 (19:40 +0000)]
Patch #1043890: tarfile: add extractall() method.

20 years agoPatches #925152, #1118602: Avoid reading after the end of the buffer
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.

20 years agoUpdates to the exceptions documentation (this is my patch #1156102).
Michael W. Hudson [Fri, 4 Mar 2005 14:33:32 +0000 (14:33 +0000)]
Updates to the exceptions documentation (this is my patch #1156102).

20 years agoPatch #1075887: Don't require MSVC in distutils if there is nothing
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

20 years agoPatch #1103407: Properly deal with tarfile iterators when untarring
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.

20 years agoPatch #1107221: Updated "Working on Cygwin" section.
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.

20 years agoPatch #1115086: support PY_LONGLONG in structmember.
Martin v. Löwis [Thu, 3 Mar 2005 23:00:26 +0000 (23:00 +0000)]
Patch #1115086: support PY_LONGLONG in structmember.

20 years agoCorrected bug in list2cmdline wrt backslashes. Fixes #1083306.
Peter Astrand [Thu, 3 Mar 2005 21:10:23 +0000 (21:10 +0000)]
Corrected bug in list2cmdline wrt backslashes. Fixes #1083306.

20 years agoOnly run extensive subprocess tests if -usubprocess to regrtest is specified. Fixes...
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

20 years agoOptimization for communicate(): If only one of stdin/stdout/stderr is
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.

20 years agoAdded three more testcases: Using communicate with only one of
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.

20 years agominor edits:
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

20 years agoSF bug #1155938: Missing None check for __init__().
Raymond Hettinger [Thu, 3 Mar 2005 16:45:19 +0000 (16:45 +0000)]
SF bug #1155938: Missing None check for __init__().

20 years agoRevert previous checkin on getargs 'L' code. Try to convert all
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.

20 years agoPatch #802188: better parser error message for non-EOL following line cont.
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.

20 years agoPatch #645894: Use getrusage for computing the time consumption in
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.

20 years agoPatches #749830, #1144555: allow UNIX mmap size to default to current
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.

20 years agoPatch #1046831: Use get_python_version where appropriate in sysconfig.py.
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.

20 years agoPatch #1117454: Remove code to special-case cookies without values
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.

20 years agoPatch #1117339: Add cookielib special name tests.
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.

20 years agoDocument quiet parameter to decode. Fixes #803413.
Martin v. Löwis [Thu, 3 Mar 2005 10:06:05 +0000 (10:06 +0000)]
Document quiet parameter to decode. Fixes #803413.

20 years agoPatch #1112812: Make bsddb/__init__.py more friendly for modulefinder.
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.

20 years agoClear internal call error in 'L' format. Fixes #723201.
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.

20 years agoPatch #1110248: SYNC_FLUSH the zlib buffer for GZipFile.flush.
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.

20 years agoPatch #1107973: tarfile.ExFileObject iterators.
Martin v. Löwis [Thu, 3 Mar 2005 08:17:42 +0000 (08:17 +0000)]
Patch #1107973: tarfile.ExFileObject iterators.

20 years agoPatch #1104111: Alter setup.py --help and --help-commands.
Martin v. Löwis [Thu, 3 Mar 2005 08:12:27 +0000 (08:12 +0000)]
Patch #1104111: Alter setup.py --help and --help-commands.

20 years agoSilence a gcc warning about putting in parentheses around && expressions mixed
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.

20 years agoNoted that the module is new in version 2.5.
Raymond Hettinger [Wed, 2 Mar 2005 15:10:38 +0000 (15:10 +0000)]
Noted that the module is new in version 2.5.