]> granicus.if.org Git - python/log
python
20 years agoFix for SF bug #1029475 : reload() doesn't work with PEP 302 loaders.
Phillip J. Eby [Thu, 23 Sep 2004 04:37:36 +0000 (04:37 +0000)]
Fix for SF bug #1029475 : reload() doesn't work with PEP 302 loaders.

20 years agoA static swapped_op[] array was defined in 3 different C files, & I think
Tim Peters [Thu, 23 Sep 2004 02:39:37 +0000 (02:39 +0000)]
A static swapped_op[] array was defined in 3 different C files, & I think
I need to define it again.  Bite the bullet and define it once as an
extern, _Py_SwappedOp[].

20 years agoRemoved redundant declaration of _PyLong_NumBits().
Tim Peters [Thu, 23 Sep 2004 01:56:02 +0000 (01:56 +0000)]
Removed redundant declaration of _PyLong_NumBits().

20 years agoSF patch #1031667: Fold tuples of constants into a single constant
Raymond Hettinger [Wed, 22 Sep 2004 18:44:21 +0000 (18:44 +0000)]
SF patch #1031667:  Fold tuples of constants into a single constant

Example:
>>> import dis
>>> dis.dis(compile('1,2,3', '', 'eval'))
  0           0 LOAD_CONST               3 ((1, 2, 3))
              3 RETURN_VALUE

20 years agoClarify that iteration is over headers, not Mime elements.
Raymond Hettinger [Wed, 22 Sep 2004 18:03:47 +0000 (18:03 +0000)]
Clarify that iteration is over headers, not Mime elements.

20 years agoBug #1030125: rfc822 __iter__ problem
Raymond Hettinger [Wed, 22 Sep 2004 17:17:32 +0000 (17:17 +0000)]
Bug #1030125:  rfc822 __iter__ problem

Add iteration support to the Message class.

20 years agoAdded getLoggerClass()
Vinay Sajip [Wed, 22 Sep 2004 12:55:16 +0000 (12:55 +0000)]
Added getLoggerClass()

20 years agoAdded getLoggerClass()
Vinay Sajip [Wed, 22 Sep 2004 12:39:26 +0000 (12:39 +0000)]
Added getLoggerClass()

20 years ago- Minor docstring fixes.
Edward Loper [Tue, 21 Sep 2004 03:24:24 +0000 (03:24 +0000)]
- Minor docstring fixes.
- Simplified code to find names for file-based tests.

20 years ago- Changed SampleClass docstrings to test docstring parsing a little
Edward Loper [Tue, 21 Sep 2004 03:20:34 +0000 (03:20 +0000)]
- Changed SampleClass docstrings to test docstring parsing a little
  more thouroughly.

20 years ago- Updated docs to reflect changes in 2.4.
Edward Loper [Tue, 21 Sep 2004 03:00:51 +0000 (03:00 +0000)]
- Updated docs to reflect changes in 2.4.
  - Reorganized the documentation
  - Shifted focus a little more towards "literate testing"
  - Documented new functions and classes:
    - testfile()
    - Example, DocTest
    - DocTestParser, DocTestFinder, DocTestRunner, OutputChecker
    - DocFileSuite
    - DebugRunner, DocTestFailure, UnexpectedException
    - register_optionflag()

20 years agoAdd a commented-out recipe on making trailing whitespace explicit.
Brett Cannon [Mon, 20 Sep 2004 22:33:21 +0000 (22:33 +0000)]
Add a commented-out recipe on making trailing whitespace explicit.

If people think this is not too intrusive it could be uncommented.

20 years agoWhitespace normalization.
Tim Peters [Mon, 20 Sep 2004 19:52:34 +0000 (19:52 +0000)]
Whitespace normalization.

20 years agoImport no longer needed.
Raymond Hettinger [Mon, 20 Sep 2004 18:08:31 +0000 (18:08 +0000)]
Import no longer needed.

20 years agoFix minor grammar typo.
Raymond Hettinger [Mon, 20 Sep 2004 17:47:46 +0000 (17:47 +0000)]
Fix minor grammar typo.

20 years agoRaymond reminded me to use DSU key
Skip Montanaro [Mon, 20 Sep 2004 16:43:30 +0000 (16:43 +0000)]
Raymond reminded me to use DSU key

20 years agoSort classes by fully qualified name. In the common case where you are
Skip Montanaro [Mon, 20 Sep 2004 15:40:38 +0000 (15:40 +0000)]
Sort classes by fully qualified name.  In the common case where you are
displaying a set of classes from one module it doesn't matter, but if you
are displaying a large class tree from multiple modules it improves the
display to sort by module.name.

20 years agoPatch #1024670: Support int objects in PyLong_AsUnsignedLong[Mask].
Martin v. Löwis [Mon, 20 Sep 2004 06:17:46 +0000 (06:17 +0000)]
Patch #1024670: Support int objects in PyLong_AsUnsignedLong[Mask].

20 years agoFix lib-tk PythonPath.
Martin v. Löwis [Sun, 19 Sep 2004 18:36:45 +0000 (18:36 +0000)]
Fix lib-tk PythonPath.

20 years ago- Added "testfile" function, a simple function for running & verifying
Edward Loper [Sun, 19 Sep 2004 17:19:33 +0000 (17:19 +0000)]
- Added "testfile" function, a simple function for running & verifying
  all examples in a given text file. (analagous to "testmod")
- Minor docstring fixes.
- Added module_relative parameter to DocTestFile/DocTestSuite, which
  controls whether paths are module-relative & os-independent, or
  os-specific.

20 years agoSF bug #1030557: PyMapping_Check crashes when argument is NULL
Raymond Hettinger [Sun, 19 Sep 2004 06:00:15 +0000 (06:00 +0000)]
SF bug #1030557:  PyMapping_Check crashes when argument is NULL

Make PySequence_Check() and PyMapping_Check() handle NULL inputs.  This
goes beyond what most of the other checks do, but it is nice defensive
programming and solves the OP's problem.

20 years agoWhen this file is sourced in, or used as, one's vimrc file it will set the proper...
Brett Cannon [Sun, 19 Sep 2004 05:43:13 +0000 (05:43 +0000)]
When this file is sourced in, or used as, one's vimrc file it will set the proper settings to follow the style guidelines laid out in PEPs 7 & 8 as best it can without forcing extraneous settings.

Suggested settings are commented out and included at the end of the file.

The goal is to have this file prevent as much as possible from deviating from the style guidelines.  It is not meant to collect every cool macro possible for Python.  Any useful settings for features included with Vim can be included and commented out, but anything overly extraneous should be left out.

20 years agoSF patch #1020845: Decimal performance enhancements
Raymond Hettinger [Sun, 19 Sep 2004 01:54:09 +0000 (01:54 +0000)]
SF patch #1020845: Decimal performance enhancements
(Contributed by Nick Coghlan.)

Various code cleanups and optimizations (saves about 40% on testsuite
execution time and on the telco benchmark).

* caches results of various operations on self (esp. checks for being
  a special value).

* _WorkRep now uses ints and longs for intermediate computations.

20 years ago- Updated example output to match actual output
Edward Loper [Sun, 19 Sep 2004 01:16:44 +0000 (01:16 +0000)]
- Updated example output to match actual output
- Minor wording changes
- Changed the docs to reflect the fact that multiple option directives
  can be specified on a single line (and updated the directive
  production list, as well).

20 years agoUpdate Template/PEP 292 documentation to current implementation.
Barry Warsaw [Sat, 18 Sep 2004 21:13:43 +0000 (21:13 +0000)]
Update Template/PEP 292 documentation to current implementation.

20 years agoIn DocFileTest:
Edward Loper [Sat, 18 Sep 2004 20:27:04 +0000 (20:27 +0000)]
In DocFileTest:
  - Fixed bug in handling of absolute paths.
  - If run from an interactive session, make paths relative to the
    directory containing sys.argv[0] (since __main__ doesn't have
    a __file__ attribute).

20 years agoLink with ws2_32 instead of wsock32.
Martin v. Löwis [Sat, 18 Sep 2004 16:16:34 +0000 (16:16 +0000)]
Link with ws2_32 instead of wsock32.

20 years agoPatch #1021596: Check for None to determine whether _urandomfd is
Martin v. Löwis [Sat, 18 Sep 2004 16:07:58 +0000 (16:07 +0000)]
Patch #1021596: Check for None to determine whether _urandomfd is
uninitialized.

20 years agoConvert boolean results back to strings. Fixes #807871.
Martin v. Löwis [Sat, 18 Sep 2004 16:01:23 +0000 (16:01 +0000)]
Convert boolean results back to strings. Fixes #807871.
Will backport to 2.3.

20 years agoMake curses.h inclusion conditional as in the original patch #1012280.
Martin v. Löwis [Sat, 18 Sep 2004 10:07:03 +0000 (10:07 +0000)]
Make curses.h inclusion conditional as in the original patch #1012280.
Backported to 2.3.

20 years agoPatch #1012280: Include curses.h for term.h check. Fixes #933795.
Martin v. Löwis [Sat, 18 Sep 2004 09:54:52 +0000 (09:54 +0000)]
Patch #1012280: Include curses.h for term.h check. Fixes #933795.
Will backport to 2.3.

20 years agoPatch #1029061: Always extract member names from the tarinfo.
Martin v. Löwis [Sat, 18 Sep 2004 09:08:52 +0000 (09:08 +0000)]
Patch #1029061: Always extract member names from the tarinfo.

20 years agoPatch #1025790: Add status code constants to httplib.
Martin v. Löwis [Sat, 18 Sep 2004 09:03:49 +0000 (09:03 +0000)]
Patch #1025790: Add status code constants to httplib.

20 years agoAt the cost of a modest (but useful in its own right) change in the semantics
Barry Warsaw [Sat, 18 Sep 2004 00:06:34 +0000 (00:06 +0000)]
At the cost of a modest (but useful in its own right) change in the semantics
of the Template.delimiter attribute, we make use of the delimiter in the
escaped group, and in the safe_substitute() method more robust.

Now, .delimiter should be the unescaped delimiter literal, e.g. '$' or '&', or
whatever.  The _TemplateMetaclass will re.escape() this value when it builds
the pattern.

20 years agoremove gzipped archives from the list of expected distributions
Fred Drake [Fri, 17 Sep 2004 20:23:47 +0000 (20:23 +0000)]
remove gzipped archives from the list of expected distributions

20 years agoSF Patch 1022011: Add a command-line argument --no-autoreq, which sets the
Sean Reifschneider [Fri, 17 Sep 2004 08:34:12 +0000 (08:34 +0000)]
SF Patch 1022011: Add a command-line argument --no-autoreq, which sets the
   "AutoReq: 0" to disable automatic dependency searching.

20 years agoSF Patch 1022003: Change bdist_rpm _topdir to use
Sean Reifschneider [Fri, 17 Sep 2004 08:23:22 +0000 (08:23 +0000)]
SF Patch 1022003: Change bdist_rpm _topdir to use
os.path.abspath(self.rpm_base) instead of os.getcwd() + '/' + self.rpm_base

20 years agoSF bug #1014215: Unspecific errors with metaclass
Raymond Hettinger [Thu, 16 Sep 2004 16:41:57 +0000 (16:41 +0000)]
SF bug #1014215:  Unspecific errors with metaclass

High level error message was stomping useful detailed messages from lower
level routines.

The new approach is to augment string error messages returned by the low
level routines.  The provides both high and low level information.  If
the exception value is not a string, no changes are made.

To see the improved messages in action, type:
   import random
   class R(random): pass
   class B(bool): pass

20 years agoInitialize sep and seplen to suppress warning from gcc.
Skip Montanaro [Thu, 16 Sep 2004 03:28:13 +0000 (03:28 +0000)]
Initialize sep and seplen to suppress warning from gcc.

20 years agoSF bug #1028306: date-datetime comparison
Tim Peters [Thu, 16 Sep 2004 01:30:50 +0000 (01:30 +0000)]
SF bug #1028306:  date-datetime comparison

Treat comparing a date to a datetime like a mixed-type comparison.

20 years agoWhitespace normalization.
Tim Peters [Thu, 16 Sep 2004 00:09:19 +0000 (00:09 +0000)]
Whitespace normalization.

20 years agoRemove tabs.
Brett Cannon [Wed, 15 Sep 2004 23:26:23 +0000 (23:26 +0000)]
Remove tabs.

20 years agoAdd a missing line continuation character.
Thomas Heller [Wed, 15 Sep 2004 11:41:32 +0000 (11:41 +0000)]
Add a missing line continuation character.

20 years agoPatch #1026986: Add OpenBSD 3.5 and 3.6 to list of broken systems.
Martin v. Löwis [Wed, 15 Sep 2004 06:02:54 +0000 (06:02 +0000)]
Patch #1026986: Add OpenBSD 3.5 and 3.6 to list of broken systems.

20 years agoStrip square brackets from IPv6 address.
Martin v. Löwis [Tue, 14 Sep 2004 21:45:36 +0000 (21:45 +0000)]
Strip square brackets from IPv6 address.

20 years agomention httplib ipv6 fix
Skip Montanaro [Tue, 14 Sep 2004 17:58:31 +0000 (17:58 +0000)]
mention httplib ipv6 fix

20 years agomissed the obvious test case and corresponding fix
Skip Montanaro [Tue, 14 Sep 2004 17:55:21 +0000 (17:55 +0000)]
missed the obvious test case and corresponding fix

20 years agoMake the word "module" appear in the error string for calling the
Michael W. Hudson [Tue, 14 Sep 2004 17:19:09 +0000 (17:19 +0000)]
Make the word "module" appear in the error string for calling the
module type with silly arguments.  (The exact name can be quibbled
over, if you care).

This was partially inspired by bug #1014215 and so on, but is also
just a good idea.

20 years agoMove a comment back to its rightful location.
Michael W. Hudson [Tue, 14 Sep 2004 17:09:47 +0000 (17:09 +0000)]
Move a comment back to its rightful location.

20 years agoSearch from the end of the host/port combination to find the colon which
Skip Montanaro [Tue, 14 Sep 2004 16:32:02 +0000 (16:32 +0000)]
Search from the end of the host/port combination to find the colon which
separates ip address from the port to accommodate ipv6 addresses.

20 years agoMake the hint about the None default less ambiguous.
Walter Dörwald [Tue, 14 Sep 2004 09:45:10 +0000 (09:45 +0000)]
Make the hint about the None default less ambiguous.

20 years agoEnhance the docstrings for unicode.split() and string.split()
Walter Dörwald [Tue, 14 Sep 2004 09:40:45 +0000 (09:40 +0000)]
Enhance the docstrings for unicode.split() and string.split()
to make it clear that it is possible to pass None as the
separator argument to get the default "any whitespace" separator.

20 years agoRemove claims that Python source code is ASCII. Fixes #1026038.
Martin v. Löwis [Tue, 14 Sep 2004 07:52:22 +0000 (07:52 +0000)]
Remove claims that Python source code is ASCII. Fixes #1026038.

20 years agoTweak the wording. Improve examples. Make more brief.
Raymond Hettinger [Tue, 14 Sep 2004 06:32:20 +0000 (06:32 +0000)]
Tweak the wording.  Improve examples. Make more brief.

20 years agoCover string.Template in the tutorial's library tour.
Raymond Hettinger [Tue, 14 Sep 2004 05:21:42 +0000 (05:21 +0000)]
Cover string.Template in the tutorial's library tour.

20 years agoFix small bugs in Template code.
Raymond Hettinger [Tue, 14 Sep 2004 02:34:08 +0000 (02:34 +0000)]
Fix small bugs in Template code.

* The parameterization of "delimiter" was incomplete.
* safe_substitute's code for braced delimiters should only be executed
  when braced is not None.
* Invalid pattern group names now raise a ValueError.  Formerly, the
  convert code would fall off the end and improperly return None.

Beefed-up tests.

* Test delimiter override for all paths in substitute and safe_substitute.
* Alter unittest invocation to match other modules (now it itemizes the
  tests as they are run).

20 years agoSF #1027105: HardwareRandom should be renamed OSRandom
Raymond Hettinger [Mon, 13 Sep 2004 22:23:21 +0000 (22:23 +0000)]
SF #1027105:  HardwareRandom should be renamed OSRandom

Renamed the new generator at Trevor's recommendation.
The name HardwareRandom suggested a bit more than it
delivered (no radioactive decay detectors or such).

20 years agoThe 4th group is now 'invalid' instead of 'bogus'.
Barry Warsaw [Mon, 13 Sep 2004 20:53:27 +0000 (20:53 +0000)]
The 4th group is now 'invalid' instead of 'bogus'.

20 years agoRaymond's good suggestion to re-order the tests in the convert() helper so the
Barry Warsaw [Mon, 13 Sep 2004 20:52:50 +0000 (20:52 +0000)]
Raymond's good suggestion to re-order the tests in the convert() helper so the
most common paths are tested first.  Also, that 'invalid' is better than
'bogus'.

20 years agoPatch for compilation on IRIX from rwgk on http://python.org/sf/728330
Trent Mick [Mon, 13 Sep 2004 17:48:41 +0000 (17:48 +0000)]
Patch for compilation on IRIX from rwgk on http://python.org/sf/728330

20 years agosubstitute(), safe_substitute(): Paul Moore provides a better hack for dealing
Barry Warsaw [Mon, 13 Sep 2004 15:25:15 +0000 (15:25 +0000)]
substitute(), safe_substitute(): Paul Moore provides a better hack for dealing
with positional arguments.

20 years agoAdded a test for # positional arguments > 1.
Barry Warsaw [Mon, 13 Sep 2004 15:24:43 +0000 (15:24 +0000)]
Added a test for # positional arguments > 1.

20 years agoCredit patch from Raymond
Andrew M. Kuchling [Mon, 13 Sep 2004 15:06:50 +0000 (15:06 +0000)]
Credit patch from Raymond

20 years agoDocument testmod's new exclude_empty argument.
Tim Peters [Mon, 13 Sep 2004 15:03:17 +0000 (15:03 +0000)]
Document testmod's new exclude_empty argument.

20 years agoexclude_empty: make the default True for DocTestFinder, and introduce it
Tim Peters [Mon, 13 Sep 2004 14:53:28 +0000 (14:53 +0000)]
exclude_empty:  make the default True for DocTestFinder, and introduce it
with default False for testmod().  The real point of introducing this was
so that output from doctest.master.summarize() would be the same as in
2.3, and doctest.master in 2.4 is a backward-compatability hack used only
by testmod().

20 years agoAdd tests for keyword arguments and combining mapping and keyword arguments.
Barry Warsaw [Mon, 13 Sep 2004 14:35:59 +0000 (14:35 +0000)]
Add tests for keyword arguments and combining mapping and keyword arguments.

20 years agoAccepted Raymond's patch to combine mapping and keyword arguments, with slight
Barry Warsaw [Mon, 13 Sep 2004 14:35:04 +0000 (14:35 +0000)]
Accepted Raymond's patch to combine mapping and keyword arguments, with slight
modification.  Also, renamed the positional argument to '__mapping' to further
reduce the chance of duplicate keyword arguments.

20 years agoFix quoting.
Walter Dörwald [Mon, 13 Sep 2004 08:53:15 +0000 (08:53 +0000)]
Fix quoting.

20 years agoAdded new parameter exclude_empty to DocTestFinder.__init__, which
Edward Loper [Mon, 13 Sep 2004 05:47:24 +0000 (05:47 +0000)]
Added new parameter exclude_empty to DocTestFinder.__init__, which
controls whether tests are included for objects with empty docstrings.
Defaults to True, to match the behavior of Python 2.3.

20 years agoDocTestFinder._find(): for tests derived from a module __test__ global,
Tim Peters [Mon, 13 Sep 2004 01:07:12 +0000 (01:07 +0000)]
DocTestFinder._find():  for tests derived from a module __test__ global,
doctest always promised to stick "__test__" in the name.  That got
broken.  Now it's fixed again.

20 years agoReluctantly, rehabilitate doctest.master.
Tim Peters [Mon, 13 Sep 2004 00:52:51 +0000 (00:52 +0000)]
Reluctantly, rehabilitate doctest.master.

20 years agoTester.run___test__(): This couldn't possibly work at all. I'm afraid
Tim Peters [Sun, 12 Sep 2004 22:45:17 +0000 (22:45 +0000)]
Tester.run___test__():  This couldn't possibly work at all.  I'm afraid
the "backward compatibility" here was a joke.

20 years agoTester.__init__(): this couldn't possibly work when a module argument
Tim Peters [Sun, 12 Sep 2004 22:39:46 +0000 (22:39 +0000)]
Tester.__init__():  this couldn't possibly work when a module argument
was passed.

20 years agoSF #1022910: Conserve memory with list.pop()
Raymond Hettinger [Sun, 12 Sep 2004 19:53:07 +0000 (19:53 +0000)]
SF #1022910: Conserve memory with list.pop()

The list resizing scheme only downsized when more than 16 elements were
removed in a single step:  del a[100:120].   As a result, the list would
never shrink when popping elements off one at a time.

This patch makes it shrink whenever more than half of the space is unused.

Also, at Tim's suggestion, renamed _new_size to new_allocated.  This makes
the code easier to understand.

20 years agoWhitespace normalization.
Tim Peters [Sun, 12 Sep 2004 03:49:31 +0000 (03:49 +0000)]
Whitespace normalization.

20 years agoHtmlDiff corrections from Dan Gass, + trimmed trailing whitespace.
Tim Peters [Sun, 12 Sep 2004 03:21:00 +0000 (03:21 +0000)]
HtmlDiff corrections from Dan Gass, + trimmed trailing whitespace.

20 years agoDocument not-completely-obvious behavior in a test.
Johannes Gijsbers [Sat, 11 Sep 2004 21:26:21 +0000 (21:26 +0000)]
Document not-completely-obvious behavior in a test.

20 years agoPatch #1025795: clarify language in Data Structures chapter of tutorial:
Johannes Gijsbers [Sat, 11 Sep 2004 17:48:21 +0000 (17:48 +0000)]
Patch #1025795: clarify language in Data Structures chapter of tutorial:

- Dictionary keys are in arbitrary order, but not random (which implies, well,
  intentional randomness).
- Move a footnote closer to what it's talking about so that it doesn't look
  like we're saying that "0 == 0.0" can't be relied on.
- Minor language tweaks in the vicinity.

Thanks Dima Dorfman!

20 years agoRecover from inspect.getmodule() changes. It returns a module for
Tim Peters [Sat, 11 Sep 2004 17:33:27 +0000 (17:33 +0000)]
Recover from inspect.getmodule() changes.  It returns a module for
functions and methods now, including functions defined inside doctests
in test_doctest.py's recursive doctest'ing.

20 years agoPatch #1022152: add required 'domain' argument to gettext.translation() examples.
Johannes Gijsbers [Sat, 11 Sep 2004 17:33:25 +0000 (17:33 +0000)]
Patch #1022152: add required 'domain' argument to gettext.translation() examples.

20 years agoPatch #1026384: fix two common typo's:
Johannes Gijsbers [Sat, 11 Sep 2004 16:50:06 +0000 (16:50 +0000)]
Patch #1026384: fix two common typo's:

- accomodate -> accommodate
- occured -> occurred

Thanks George Yoshida!

20 years agoAdd 'if __name__ == "__main__":' to files already as a usable as a module.
Johannes Gijsbers [Sat, 11 Sep 2004 16:34:35 +0000 (16:34 +0000)]
Add 'if __name__ == "__main__":' to files already as a usable as a module.

20 years agoUse __module__ attribute when available instead of using isclass() predicate
Johannes Gijsbers [Sat, 11 Sep 2004 15:53:22 +0000 (15:53 +0000)]
Use __module__ attribute when available instead of using isclass() predicate
(functions and methods have grown the __module__ attribute too). See bug #570300.

20 years agoPatch #1025800: remove TeX quoting from verbatim section. Thanks Dima Dorfman!
Johannes Gijsbers [Sat, 11 Sep 2004 15:47:30 +0000 (15:47 +0000)]
Patch #1025800: remove TeX quoting from verbatim section. Thanks Dima Dorfman!

20 years ago[Bug #1023359] Make code match inheritance diagram
Andrew M. Kuchling [Fri, 10 Sep 2004 19:33:00 +0000 (19:33 +0000)]
[Bug #1023359] Make code match inheritance diagram

20 years agoTemplate: remove __slots__ since that interferes with the ability to mix in
Barry Warsaw [Fri, 10 Sep 2004 18:30:42 +0000 (18:30 +0000)]
Template: remove __slots__ since that interferes with the ability to mix in
Template and unicode classes.

20 years agoAdd some stdlib items; remove 'other changes' section; fix sorting error in list...
Andrew M. Kuchling [Fri, 10 Sep 2004 13:05:22 +0000 (13:05 +0000)]
Add some stdlib items; remove 'other changes' section; fix sorting error in list of changed modules

20 years agoTypo fix: 'comparisions' is not a word
Andrew M. Kuchling [Fri, 10 Sep 2004 12:59:54 +0000 (12:59 +0000)]
Typo fix: 'comparisions' is not a word

20 years agoBump version number
Andrew M. Kuchling [Fri, 10 Sep 2004 12:38:36 +0000 (12:38 +0000)]
Bump version number

20 years agoDo not include extpy[w].exe anymore
Martin v. Löwis [Fri, 10 Sep 2004 11:56:56 +0000 (11:56 +0000)]
Do not include extpy[w].exe anymore

20 years agoGenerate the product code properly
Martin v. Löwis [Fri, 10 Sep 2004 11:55:32 +0000 (11:55 +0000)]
Generate the product code properly

20 years agoUpdate PEP292 section
Andrew M. Kuchling [Fri, 10 Sep 2004 11:34:39 +0000 (11:34 +0000)]
Update PEP292 section

20 years agoChange all extensions to unadvertised.
Martin v. Löwis [Fri, 10 Sep 2004 09:20:10 +0000 (09:20 +0000)]
Change all extensions to unadvertised.
Add script dealing with REGISTRY.tcl installation

20 years agoPatch #808120: Add --force-arch=ARCH to bdist_rpm.py.
Martin v. Löwis [Fri, 10 Sep 2004 06:32:54 +0000 (06:32 +0000)]
Patch #808120: Add --force-arch=ARCH to bdist_rpm.py.

20 years agoPatch #808115: Add script support to bdist_rpm.py.
Martin v. Löwis [Fri, 10 Sep 2004 06:25:01 +0000 (06:25 +0000)]
Patch #808115: Add script support to bdist_rpm.py.

20 years ago__slots__ went missing from Template.
Raymond Hettinger [Fri, 10 Sep 2004 06:21:22 +0000 (06:21 +0000)]
__slots__ went missing from Template.

20 years agoMany updates to PEP 292 templates. Summary:
Barry Warsaw [Fri, 10 Sep 2004 03:08:08 +0000 (03:08 +0000)]
Many updates to PEP 292 templates.  Summary:

- Template no longer inherits from unicode.

- SafeTemplate is removed.  Now Templates have both a substitute() and a
  safe_substitute() method, so we don't need separate classes.  No more
  __mod__() operator.

- Adopt Tim Peter's idea for giving Template a metaclass, which makes the
  delimiter, the identifier pattern, or the entire pattern easy to override
  and document, while retaining efficiency of class-time compilation of the
  regexp.

- More informative ValueError messages which will help a user narrow down the
  bogus delimiter to the line and column in the original string (helpful for
  long triple quoted strings).

20 years agodocument the exceptions raised by sgmllib, htmllib, and HTMLParser
Fred Drake [Fri, 10 Sep 2004 01:20:21 +0000 (01:20 +0000)]
document the exceptions raised by sgmllib, htmllib, and HTMLParser

20 years agofix typo in markup
Fred Drake [Fri, 10 Sep 2004 01:16:49 +0000 (01:16 +0000)]
fix typo in markup

20 years agomake_nav_panel(): Don't cause side-effects on the input variables;
Fred Drake [Thu, 9 Sep 2004 05:13:52 +0000 (05:13 +0000)]
make_nav_panel(): Don't cause side-effects on the input variables;
this caused duplicate attributes for the bottom navigation panel.

(closes SF patch #1013055; backport candidate)