Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add __file__ to the globals available for tests loaded via DocFileSuite; | Fred Drake | 2004-12-21 | 4 | -0/+21 |
| | | | | | this is useful for locating supporting data files, just as it is in Python modules | ||||
* | The changes to the stateful codecs in 2.4 resulted in StreamReader.readline() | Walter Dörwald | 2004-12-21 | 2 | -43/+121 |
| | | | | | | | | | | | | | | trying to return a complete line even if a size parameter was given (see http://www.python.org/sf/1076985). This leads to buffer overflows with long source lines under Windows if e.g. cp1252 is used as the source encoding. This patch reverts the behaviour of readline() to something that behaves more like Python 2.3: If a size parameter is given, read() is called only once. As a side effect of this, readline() now supports all types of linebreaks supported by unicode.splitlines(). Note that the tokenizer is still broken and it's possible to provoke segfaults (see http://www.python.org/sf/1089395). | ||||
* | The remote procedure call module rpc.py can now access data attributes of | Kurt B. Kaiser | 2004-12-21 | 6 | -11/+23 |
| | | | | | | | | | | | remote registered objects. Changes to these attributes are local, however. M EditorWindow.py M NEWS.txt M PyShell.py M idlever.py M rpc.py M run.py | ||||
* | Add accidentally removed \end{description} back in. | Johannes Gijsbers | 2004-12-21 | 1 | -0/+1 |
| | |||||
* | Changing the idle wrapper to use Python and execvp() to pass arguments to | Sean Reifschneider | 2004-12-21 | 1 | -3/+9 |
| | | | | idle. | ||||
* | SF bug #951915: fix bug in StringIO.truncate - length not changed | Raymond Hettinger | 2004-12-20 | 2 | -0/+9 |
| | | | | (Patch by Armin Rigo.) | ||||
* | Any call to marshal.dumps() with the new optional argument 'version' just | Armin Rigo | 2004-12-20 | 3 | -4/+9 |
| | | | | | immediately segfaults, due to a typo! This was obviously never tested... Added a test for it, and also fixed the documentation. | ||||
* | Bug #1088206: zlib decompressobj documentation typo | Raymond Hettinger | 2004-12-20 | 1 | -1/+1 |
| | |||||
* | Bugs item #1069409 C:\Python24\Lib\compileall.py returns False | Raymond Hettinger | 2004-12-20 | 1 | -1/+1 |
| | | | | * return an integer rather than a boolean | ||||
* | Bug #1079011: Incorrect error message (somewhat) | Raymond Hettinger | 2004-12-19 | 1 | -1/+1 |
| | |||||
* | Bug #1066607: "Limitations" section of profiler docs is incorrect | Raymond Hettinger | 2004-12-19 | 1 | -10/+1 |
| | |||||
* | Bug #1087216: datetime module documentation missing critical detail | Raymond Hettinger | 2004-12-19 | 1 | -3/+9 |
| | |||||
* | Skip test_imp if threading is not available. | Brett Cannon | 2004-12-18 | 1 | -1/+5 |
| | | | | Closes bug #1083645. Thanks Detlef Vollmann. | ||||
* | Switch from getting LDFLAGS and CPPFLAGS from the environment to the Makefile. | Brett Cannon | 2004-12-18 | 1 | -5/+5 |
| | | | | | | | | This is to avoid a problem that inconsistently comes up where the environment variable is unset while the Makefile clearly has the values set and are used during ``make``. Closes bug #1081045. | ||||
* | Bug #1083645 | Raymond Hettinger | 2004-12-18 | 2 | -4/+25 |
| | | | | * The decimal module wouldn't load on builds without threads. | ||||
* | Small boost to PySequence_Fast(). Lists build faster than tuples for | Raymond Hettinger | 2004-12-18 | 1 | -1/+1 |
| | | | | unsized iterable inputs. | ||||
* | fix unterminated comment | Andrew MacIntyre | 2004-12-18 | 1 | -1/+1 |
| | |||||
* | Refactor: | Raymond Hettinger | 2004-12-17 | 1 | -10/+21 |
| | | | | | | | | * Improve algorithm -- no more O(n) steps except sched.cancel(). * Improve thread safety of sched.run() and sched.empty() (other threads could alter the queue between the time the queue was first checked and when the lead event was deleted). * Localize variable access in sched.run() to minimize overhead. | ||||
* | SF bug #1086555: refcount problem in syslog | Raymond Hettinger | 2004-12-16 | 1 | -3/+4 |
| | |||||
* | SF #1085304: Make array.array pickle-able | Raymond Hettinger | 2004-12-16 | 3 | -0/+46 |
| | |||||
* | Add missing decref. | Raymond Hettinger | 2004-12-16 | 1 | -0/+1 |
| | |||||
* | SF bug #1085744: Performance issues with PySequence_Tuple() | Raymond Hettinger | 2004-12-16 | 1 | -4/+14 |
| | | | | | | | * Added missing error checks. * Fixed O(n**2) growth pattern. Modeled after lists to achieve linear amortized resizing. Improves construction of "tuple(it)" when "it" is large and does not have a __len__ method. Other cases are unaffected. | ||||
* | fixed compilation against BerkeleyDB 3.2.9 (sf bug # 1077040) | Gregory P. Smith | 2004-12-16 | 1 | -0/+8 |
| | |||||
* | Fix typo (from SF bug #1086127). | Walter Dörwald | 2004-12-15 | 1 | -1/+1 |
| | |||||
* | Fix copy & paste error in comments. | Walter Dörwald | 2004-12-14 | 1 | -2/+2 |
| | |||||
* | SF bug #1084457: ossaudiodev no longer undocumented | Raymond Hettinger | 2004-12-14 | 1 | -5/+0 |
| | |||||
* | Correct mapping of Python codec name to C encoding name for UTF-8 (the C lib | Marc-André Lemburg | 2004-12-13 | 2 | -104/+5 |
| | | | | | | doesn't seem to like "UTF-8"). Removed the UTF-8 aliases since these should be available for all locales. | ||||
* | Check in missing png version of pyfav.gif. | Johannes Gijsbers | 2004-12-13 | 1 | -0/+0 |
| | |||||
* | rewrote the bsddb module BerkeleyDB library and include file locating | Gregory P. Smith | 2004-12-13 | 1 | -72/+93 |
| | | | | | code. This version is much cleaner and makes a proper attempt at pairing up the correct header file and library. | ||||
* | note for amk | Anthony Baxter | 2004-12-13 | 1 | -0/+3 |
| | |||||
* | the bsddb module now also works with BerkeleyDB 4.3. | Gregory P. Smith | 2004-12-13 | 2 | -5/+8 |
| | |||||
* | * Adds support for building against BerkeleyDB 4.3.21 | Gregory P. Smith | 2004-12-13 | 1 | -21/+74 |
| | | | | * bumped the module version number up to 4.3.0 | ||||
* | Patch #1080684: typo repair. Thanks George Yoshida! | Johannes Gijsbers | 2004-12-12 | 4 | -9/+10 |
| | | | | | | | | | | | | | | | | - Doc/lib/libbase64.tex s/algorith/algorithm - Doc/lib/libpickle.tex s/interchangable/interchangeable - Doc/lib/libxmlrpclib.tex s/{_cmp__}/{__cmp__} leading underscore needs to be double, not single. - Doc/ref/ref6.tex 0/1 => False/True | ||||
* | Patch #1011890: fix inspect.getsource breaking with line-continuation & | Johannes Gijsbers | 2004-12-12 | 3 | -5/+91 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | more. Thanks to Simon Percivall! The patch makes changes to inspect.py in two places: * the pattern to match against functions at line 436 is modified: lambdas should be matched even if not preceded by whitespace, as long as "lambda" isn't part of another word. * the BlockFinder class is heavily modified. Changes are: - checking for "def", "class" or "lambda" names before setting self.started to True. Then checking the same line for word characters after the colon (if the colon is on that line). If so, and the line does not end with a line continuation marker, raise EndOfBlock immediately. - adding self.passline to show that the line is to be included and no more checking is necessary on that line. Since a NEWLINE token is not generated when a line continuation marker exists, this allows getsource to continue with these functions even if the following line would not be indented. Also add a bunch of 'quite-unlikely-to-occur-in-real-life-but-working-anyway' tests. | ||||
* | Patch #736962: port test_inspect to unittest. As part of this, move out | Johannes Gijsbers | 2004-12-12 | 3 | -395/+427 |
| | | | | | the fodder modules to separate files to get rid of the imp.load_source() trickery. | ||||
* | Use os.geteuid() for checking whether we are root, as suggested by | Johannes Gijsbers | 2004-12-12 | 1 | -1/+1 |
| | | | | Michael Hudson. | ||||
* | Replace VB with VC. | Martin v. Löwis | 2004-12-12 | 3 | -38/+107 |
| | |||||
* | OS/2 specific fixes related to SF bug # 1003471. | Andrew MacIntyre | 2004-12-12 | 1 | -68/+67 |
| | | | | | Also revise a related function to minimise file handle/pipe leakage and improve reliability. | ||||
* | OS/2 specific fixes related to SF bug # 1003471 | Andrew MacIntyre | 2004-12-12 | 2 | -1/+23 |
| | |||||
* | Setting textwrap.TextWrapper().expand_tabs to True calls expandtabs, not | Brett Cannon | 2004-12-11 | 1 | -1/+1 |
| | | | | expand_tabs, on the object being wrapped. | ||||
* | SF bug #1083202L UnboundLocalError raised by atexit module | Raymond Hettinger | 2004-12-11 | 1 | -3/+3 |
| | | | | The sys module could be called before being imported. | ||||
* | locale.py now uses an updated locale alias table (built using | Marc-André Lemburg | 2004-12-10 | 3 | -219/+946 |
| | | | | | | | | | Tools/i18n/makelocalealias.py, a tool to parse the X11 locale alias file); the encoding lookup was enhanced to use Python's encoding alias table As sige-effect, this fixes SF bug [ 1080864 ] locale.py doesn't recognize valid locale setting. | ||||
* | Rearranged mappings to value sorting order. | Marc-André Lemburg | 2004-12-10 | 1 | -13/+13 |
| | |||||
* | SF bug #1082944: Incorrect docs for PyUnicode_TailMatch | Raymond Hettinger | 2004-12-10 | 1 | -1/+2 |
| | | | | | * Note correct return type is int. * Note that -1 returned on failure. | ||||
* | Whitespace normalization. | Tim Peters | 2004-12-07 | 1 | -13/+13 |
| | |||||
* | remove the other half of one of the regsub-related comments; the other | Fred Drake | 2004-12-07 | 1 | -1/+0 |
| | | | | half was removed in revision 1.25 | ||||
* | Combined several entries. | Raymond Hettinger | 2004-12-07 | 1 | -6/+2 |
| | |||||
* | Remove reference to old pickle feature. | Raymond Hettinger | 2004-12-07 | 1 | -5/+0 |
| | |||||
* | Remove outdated references to the regsub module. | Raymond Hettinger | 2004-12-07 | 3 | -5/+2 |
| | |||||
* | Eliminate the deprecated option to return None instead of a tuple of ↵ | Raymond Hettinger | 2004-12-07 | 4 | -33/+16 |
| | | | | arguments in __reduce__(). |