Commit Graph

32117 Commits

Author SHA1 Message Date
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
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
Anthony Baxter 94d6201eb0 merge from branches 2005-03-10 13:47:17 +00:00
Fred Drake 346803e060 - 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)
2005-03-10 05:02:18 +00:00
Fred Drake 1592c4c6b2 fix broken usage comment 2005-03-10 04:01:14 +00:00
Fred Drake cc933af1ac add missing entries from GNU info conversion table
(ported from release24-maint branch revision 1.10.4.1)
2005-03-10 03:59:35 +00:00
Fred Drake 9687b4dc57 correct several markup errors caught by the GNU info conversion
(ported from release24-maint branch revision 1.86.2.3)
2005-03-10 03:48:14 +00:00
Raymond Hettinger 2a2385dbe2 SF bug #1160187: Setup file needs entries for collections, itertools, strop 2005-03-09 23:46:11 +00:00
Andrew MacIntyre 953f98d4bd add support for another DB library naming convention (FreeBSD ports) 2005-03-09 22:21:08 +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
Anthony Baxter 6a3f4f7bc3 ported buildnos to trunk 2005-03-09 11:51:40 +00:00
Skip Montanaro 1c7ddb625e hmmm... moving def'n of version makes the __init__ unnecessary for the
example
2005-03-09 03:01:31 +00:00
Skip Montanaro 8e97fbf360 Correct description/example of how to override User-agent. 2005-03-09 02:57:26 +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 3e1dd3be49 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 07:15:36 +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 ff564d3391 SF #1156412: document the __new__() static method
(merge from release24-maint branch).
2005-03-08 01:10:20 +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 409d8f2ebd Allow classes to be defined with empty parentheses. This means that
``class C(): pass`` is no longer a syntax error.
2005-03-05 06:47:57 +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 07eca3a99b 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.
2005-03-05 05:52:21 +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 fd78a6f7f8 Patches #925152, #1118602: Avoid reading after the end of the buffer
in pyexpat.GetInputContext. Will backport to 2.4.
2005-03-04 14:37:01 +00:00
Michael W. Hudson a2a9888f22 Updates to the exceptions documentation (this is my patch #1156102). 2005-03-04 14:33:32 +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
Martin v. Löwis c9f852512c Patch #1107221: Updated "Working on Cygwin" section.
Will backport to 2.4.
2005-03-03 23:07:21 +00:00