Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A static swapped_op[] array was defined in 3 different C files, & I think | Tim Peters | 2004-09-23 | 4 | -12/+11 |
| | | | | | I need to define it again. Bite the bullet and define it once as an extern, _Py_SwappedOp[]. | ||||
* | Removed redundant declaration of _PyLong_NumBits(). | Tim Peters | 2004-09-23 | 1 | -1/+0 |
| | |||||
* | SF patch #1031667: Fold tuples of constants into a single constant | Raymond Hettinger | 2004-09-22 | 4 | -15/+109 |
| | | | | | | | | Example: >>> import dis >>> dis.dis(compile('1,2,3', '', 'eval')) 0 0 LOAD_CONST 3 ((1, 2, 3)) 3 RETURN_VALUE | ||||
* | Clarify that iteration is over headers, not Mime elements. | Raymond Hettinger | 2004-09-22 | 1 | -1/+2 |
| | |||||
* | Bug #1030125: rfc822 __iter__ problem | Raymond Hettinger | 2004-09-22 | 3 | -0/+15 |
| | | | | Add iteration support to the Message class. | ||||
* | Added getLoggerClass() | Vinay Sajip | 2004-09-22 | 1 | -0/+13 |
| | |||||
* | Added getLoggerClass() | Vinay Sajip | 2004-09-22 | 1 | -12/+15 |
| | |||||
* | - Minor docstring fixes. | Edward Loper | 2004-09-21 | 1 | -15/+9 |
| | | | | - Simplified code to find names for file-based tests. | ||||
* | - Changed SampleClass docstrings to test docstring parsing a little | Edward Loper | 2004-09-21 | 1 | -7/+18 |
| | | | | more thouroughly. | ||||
* | - Updated docs to reflect changes in 2.4. | Edward Loper | 2004-09-21 | 1 | -245/+1001 |
| | | | | | | | | | | | | - 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() | ||||
* | Add a commented-out recipe on making trailing whitespace explicit. | Brett Cannon | 2004-09-20 | 1 | -0/+7 |
| | | | | If people think this is not too intrusive it could be uncommented. | ||||
* | Whitespace normalization. | Tim Peters | 2004-09-20 | 1 | -4/+4 |
| | |||||
* | Import no longer needed. | Raymond Hettinger | 2004-09-20 | 1 | -1/+0 |
| | |||||
* | Fix minor grammar typo. | Raymond Hettinger | 2004-09-20 | 1 | -1/+1 |
| | |||||
* | Raymond reminded me to use DSU key | Skip Montanaro | 2004-09-20 | 1 | -2/+1 |
| | |||||
* | Sort classes by fully qualified name. In the common case where you are | Skip Montanaro | 2004-09-20 | 1 | -1/+2 |
| | | | | | | 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. | ||||
* | Patch #1024670: Support int objects in PyLong_AsUnsignedLong[Mask]. | Martin v. Löwis | 2004-09-20 | 2 | -1/+12 |
| | |||||
* | Fix lib-tk PythonPath. | Martin v. Löwis | 2004-09-19 | 1 | -1/+1 |
| | |||||
* | - Added "testfile" function, a simple function for running & verifying | Edward Loper | 2004-09-19 | 2 | -40/+315 |
| | | | | | | | | 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. | ||||
* | SF bug #1030557: PyMapping_Check crashes when argument is NULL | Raymond Hettinger | 2004-09-19 | 1 | -2/+2 |
| | | | | | | 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. | ||||
* | When this file is sourced in, or used as, one's vimrc file it will set the ↵ | Brett Cannon | 2004-09-19 | 1 | -0/+78 |
| | | | | | | | | 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. | ||||
* | SF patch #1020845: Decimal performance enhancements | Raymond Hettinger | 2004-09-19 | 1 | -500/+437 |
| | | | | | | | | | | | | (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. | ||||
* | - Updated example output to match actual output | Edward Loper | 2004-09-19 | 1 | -18/+47 |
| | | | | | | | - 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). | ||||
* | Update Template/PEP 292 documentation to current implementation. | Barry Warsaw | 2004-09-18 | 1 | -37/+70 |
| | |||||
* | In DocFileTest: | Edward Loper | 2004-09-18 | 2 | -6/+46 |
| | | | | | | | - 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). | ||||
* | 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 |
| |