Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Link with ws2_32 instead of wsock32. | Martin v. Löwis | 2004-09-18 | 1 | -3/+3 |
| | |||||
* | Patch #1021596: Check for None to determine whether _urandomfd is | Martin v. Löwis | 2004-09-18 | 1 | -1/+1 |
| | | | | uninitialized. | ||||
* | Convert boolean results back to strings. Fixes #807871. | Martin v. Löwis | 2004-09-18 | 1 | -1/+6 |
| | | | | Will backport to 2.3. | ||||
* | Make curses.h inclusion conditional as in the original patch #1012280. | Martin v. Löwis | 2004-09-18 | 2 | -21/+18 |
| | | | | Backported to 2.3. | ||||
* | Patch #1012280: Include curses.h for term.h check. Fixes #933795. | Martin v. Löwis | 2004-09-18 | 3 | -5/+74 |
| | | | | Will backport to 2.3. | ||||
* | Patch #1029061: Always extract member names from the tarinfo. | Martin v. Löwis | 2004-09-18 | 2 | -25/+19 |
| | |||||
* | Patch #1025790: Add status code constants to httplib. | Martin v. Löwis | 2004-09-18 | 4 | -13/+227 |
| | |||||
* | At the cost of a modest (but useful in its own right) change in the semantics | Barry Warsaw | 2004-09-18 | 1 | -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 distributions | Fred Drake | 2004-09-17 | 1 | -5/+5 |
| | |||||
* | SF Patch 1022011: Add a command-line argument --no-autoreq, which sets the | Sean Reifschneider | 2004-09-17 | 1 | -1/+8 |
| | | | | "AutoReq: 0" to disable automatic dependency searching. | ||||
* | SF Patch 1022003: Change bdist_rpm _topdir to use | Sean Reifschneider | 2004-09-17 | 1 | -1/+1 |
| | | | | os.path.abspath(self.rpm_base) instead of os.getcwd() + '/' + self.rpm_base | ||||
* | SF bug #1014215: Unspecific errors with metaclass | Raymond Hettinger | 2004-09-16 | 1 | -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 Montanaro | 2004-09-16 | 1 | -3/+3 |
| | |||||
* | SF bug #1028306: date-datetime comparison | Tim Peters | 2004-09-16 | 3 | -1/+64 |
| | | | | Treat comparing a date to a datetime like a mixed-type comparison. | ||||
* | Whitespace normalization. | Tim Peters | 2004-09-16 | 2 | -2/+2 |
| | |||||
* | Remove tabs. | Brett Cannon | 2004-09-15 | 2 | -6/+6 |
| | |||||
* | Add a missing line continuation character. | Thomas Heller | 2004-09-15 | 1 | -1/+1 |
| | |||||
* | Patch #1026986: Add OpenBSD 3.5 and 3.6 to list of broken systems. | Martin v. Löwis | 2004-09-15 | 3 | -3/+5 |
| | |||||
* | Strip square brackets from IPv6 address. | Martin v. Löwis | 2004-09-14 | 2 | -3/+10 |
| | |||||
* | mention httplib ipv6 fix | Skip Montanaro | 2004-09-14 | 1 | -0/+2 |
| | |||||
* | missed the obvious test case and corresponding fix | Skip Montanaro | 2004-09-14 | 2 | -2/+3 |
| | |||||
* | Make the word "module" appear in the error string for calling the | Michael W. Hudson | 2004-09-14 | 1 | -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. Hudson | 2004-09-14 | 1 | -2/+2 |
| | |||||
* | Search from the end of the host/port combination to find the colon which | Skip Montanaro | 2004-09-14 | 2 | -1/+8 |
| | | | | separates ip address from the port to accommodate ipv6 addresses. | ||||
* | Make the hint about the None default less ambiguous. | Walter Dörwald | 2004-09-14 | 2 | -2/+2 |
| | |||||
* | Enhance the docstrings for unicode.split() and string.split() | Walter Dörwald | 2004-09-14 | 2 | -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öwis | 2004-09-14 | 1 | -5/+15 |
| | |||||
* | Tweak the wording. Improve examples. Make more brief. | Raymond Hettinger | 2004-09-14 | 1 | -26/+15 |
| | |||||
* | Cover string.Template in the tutorial's library tour. | Raymond Hettinger | 2004-09-14 | 1 | -0/+77 |
| | |||||
* | Fix small bugs in Template code. | Raymond Hettinger | 2004-09-14 | 2 | -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 OSRandom | Raymond Hettinger | 2004-09-13 | 3 | -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 Warsaw | 2004-09-13 | 1 | -1/+1 |
| | |||||
* | Raymond's good suggestion to re-order the tests in the convert() helper so the | Barry Warsaw | 2004-09-13 | 1 | -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/728330 | Trent Mick | 2004-09-13 | 1 | -0/+10 |
| | |||||
* | substitute(), safe_substitute(): Paul Moore provides a better hack for dealing | Barry Warsaw | 2004-09-13 | 1 | -11/+19 |
| | | | | with positional arguments. | ||||
* | Added a test for # positional arguments > 1. | Barry Warsaw | 2004-09-13 | 1 | -0/+4 |
| | |||||
* | Credit patch from Raymond | Andrew M. Kuchling | 2004-09-13 | 1 | -13/+34 |
| | |||||
* | Document testmod's new exclude_empty argument. | Tim Peters | 2004-09-13 | 1 | -3/+11 |
| | |||||
* | exclude_empty: make the default True for DocTestFinder, and introduce it | Tim Peters | 2004-09-13 | 2 | -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 Warsaw | 2004-09-13 | 1 | -0/+28 |
| | |||||
* | Accepted Raymond's patch to combine mapping and keyword arguments, with slight | Barry Warsaw | 2004-09-13 | 1 | -5/+32 |
| | | | | | modification. Also, renamed the positional argument to '__mapping' to further reduce the chance of duplicate keyword arguments. | ||||
* | Fix quoting. | Walter Dörwald | 2004-09-13 | 1 | -1/+1 |
| | |||||
* | Added new parameter exclude_empty to DocTestFinder.__init__, which | Edward Loper | 2004-09-13 | 2 | -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 Peters | 2004-09-13 | 3 | -9/+9 |
| | | | | | doctest always promised to stick "__test__" in the name. That got broken. Now it's fixed again. | ||||
* | Reluctantly, rehabilitate doctest.master. | Tim Peters | 2004-09-13 | 2 | -16/+41 |
| | |||||
* | Tester.run___test__(): This couldn't possibly work at all. I'm afraid | Tim Peters | 2004-09-12 | 1 | -1/+1 |
| | | | | the "backward compatibility" here was a joke. | ||||
* | Tester.__init__(): this couldn't possibly work when a module argument | Tim Peters | 2004-09-12 | 1 | -1/+1 |
| | | | | was passed. | ||||
* | SF #1022910: Conserve memory with list.pop() | Raymond Hettinger | 2004-09-12 | 1 | -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 Peters | 2004-09-12 | 7 | -26/+26 |
| | |||||
* | HtmlDiff corrections from Dan Gass, + trimmed trailing whitespace. | Tim Peters | 2004-09-12 | 1 | -29/+32 |
| |