summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Link with ws2_32 instead of wsock32.Martin v. Löwis2004-09-181-3/+3
|
* Patch #1021596: Check for None to determine whether _urandomfd isMartin v. Löwis2004-09-181-1/+1
| | | | uninitialized.
* Convert boolean results back to strings. Fixes #807871.Martin v. Löwis2004-09-181-1/+6
| | | | Will backport to 2.3.
* Make curses.h inclusion conditional as in the original patch #1012280.Martin v. Löwis2004-09-182-21/+18
| | | | Backported to 2.3.
* Patch #1012280: Include curses.h for term.h check. Fixes #933795.Martin v. Löwis2004-09-183-5/+74
| | | | Will backport to 2.3.
* Patch #1029061: Always extract member names from the tarinfo.Martin v. Löwis2004-09-182-25/+19
|
* Patch #1025790: Add status code constants to httplib.Martin v. Löwis2004-09-184-13/+227
|
* At the cost of a modest (but useful in its own right) change in the semanticsBarry Warsaw2004-09-181-8/+6
| | | | | | | | | 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.
* remove gzipped archives from the list of expected distributionsFred Drake2004-09-171-5/+5
|
* SF Patch 1022011: Add a command-line argument --no-autoreq, which sets theSean Reifschneider2004-09-171-1/+8
| | | | "AutoReq: 0" to disable automatic dependency searching.
* SF Patch 1022003: Change bdist_rpm _topdir to useSean Reifschneider2004-09-171-1/+1
| | | | os.path.abspath(self.rpm_base) instead of os.getcwd() + '/' + self.rpm_base
* SF bug #1014215: Unspecific errors with metaclassRaymond Hettinger2004-09-161-4/+16
| | | | | | | | | | | | | | 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
* Initialize sep and seplen to suppress warning from gcc.Skip Montanaro2004-09-161-3/+3
|
* SF bug #1028306: date-datetime comparisonTim Peters2004-09-163-1/+64
| | | | Treat comparing a date to a datetime like a mixed-type comparison.
* Whitespace normalization.Tim Peters2004-09-162-2/+2
|
* Remove tabs.Brett Cannon2004-09-152-6/+6
|
* Add a missing line continuation character.Thomas Heller2004-09-151-1/+1
|
* Patch #1026986: Add OpenBSD 3.5 and 3.6 to list of broken systems.Martin v. Löwis2004-09-153-3/+5
|
* Strip square brackets from IPv6 address.Martin v. Löwis2004-09-142-3/+10
|
* mention httplib ipv6 fixSkip Montanaro2004-09-141-0/+2
|
* missed the obvious test case and corresponding fixSkip Montanaro2004-09-142-2/+3
|
* Make the word "module" appear in the error string for calling theMichael W. Hudson2004-09-141-1/+1
| | | | | | | | 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.
* Move a comment back to its rightful location.Michael W. Hudson2004-09-141-2/+2
|
* Search from the end of the host/port combination to find the colon whichSkip Montanaro2004-09-142-1/+8
| | | | separates ip address from the port to accommodate ipv6 addresses.
* Make the hint about the None default less ambiguous.Walter Dörwald2004-09-142-2/+2
|
* Enhance the docstrings for unicode.split() and string.split()Walter Dörwald2004-09-142-3/+3
| | | | | to make it clear that it is possible to pass None as the separator argument to get the default "any whitespace" separator.
* Remove claims that Python source code is ASCII. Fixes #1026038.Martin v. Löwis2004-09-141-5/+15
|
* Tweak the wording. Improve examples. Make more brief.Raymond Hettinger2004-09-141-26/+15
|
* Cover string.Template in the tutorial's library tour.Raymond Hettinger2004-09-141-0/+77
|
* Fix small bugs in Template code.Raymond Hettinger2004-09-142-15/+30
| | | | | | | | | | | | | | * 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).
* SF #1027105: HardwareRandom should be renamed OSRandomRaymond Hettinger2004-09-133-20/+24
| | | | | | Renamed the new generator at Trevor's recommendation. The name HardwareRandom suggested a bit more than it delivered (no radioactive decay detectors or such).
* The 4th group is now 'invalid' instead of 'bogus'.Barry Warsaw2004-09-131-1/+1
|
* Raymond's good suggestion to re-order the tests in the convert() helper so theBarry Warsaw2004-09-131-13/+16
| | | | | most common paths are tested first. Also, that 'invalid' is better than 'bogus'.
* Patch for compilation on IRIX from rwgk on http://python.org/sf/728330Trent Mick2004-09-131-0/+10
|
* substitute(), safe_substitute(): Paul Moore provides a better hack for dealingBarry Warsaw2004-09-131-11/+19
| | | | with positional arguments.
* Added a test for # positional arguments > 1.Barry Warsaw2004-09-131-0/+4
|
* Credit patch from RaymondAndrew M. Kuchling2004-09-131-13/+34
|
* Document testmod's new exclude_empty argument.Tim Peters2004-09-131-3/+11
|
* exclude_empty: make the default True for DocTestFinder, and introduce itTim Peters2004-09-132-14/+27
| | | | | | | 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().
* Add tests for keyword arguments and combining mapping and keyword arguments.Barry Warsaw2004-09-131-0/+28
|
* Accepted Raymond's patch to combine mapping and keyword arguments, with slightBarry Warsaw2004-09-131-5/+32
| | | | | modification. Also, renamed the positional argument to '__mapping' to further reduce the chance of duplicate keyword arguments.
* Fix quoting.Walter Dörwald2004-09-131-1/+1
|
* Added new parameter exclude_empty to DocTestFinder.__init__, whichEdward Loper2004-09-132-12/+34
| | | | | controls whether tests are included for objects with empty docstrings. Defaults to True, to match the behavior of Python 2.3.
* DocTestFinder._find(): for tests derived from a module __test__ global,Tim Peters2004-09-133-9/+9
| | | | | doctest always promised to stick "__test__" in the name. That got broken. Now it's fixed again.
* Reluctantly, rehabilitate doctest.master.Tim Peters2004-09-132-16/+41
|
* Tester.run___test__(): This couldn't possibly work at all. I'm afraidTim Peters2004-09-121-1/+1
| | | | the "backward compatibility" here was a joke.
* Tester.__init__(): this couldn't possibly work when a module argumentTim Peters2004-09-121-1/+1
| | | | was passed.
* SF #1022910: Conserve memory with list.pop()Raymond Hettinger2004-09-121-8/+11
| | | | | | | | | | | 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.
* Whitespace normalization.Tim Peters2004-09-127-26/+26
|
* HtmlDiff corrections from Dan Gass, + trimmed trailing whitespace.Tim Peters2004-09-121-29/+32
|