- 22 Dec, 2004 5 commits
-
-
Jeremy Hylton authored
Bug fix candidate.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Walter Dörwald authored
-
Brett Cannon authored
referred to OS 9 semantics.
-
- 21 Dec, 2004 5 commits
-
-
Fred Drake authored
this is useful for locating supporting data files, just as it is in Python modules
-
Walter Dörwald authored
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).
-
Kurt B. Kaiser authored
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
-
Johannes Gijsbers authored
-
Sean Reifschneider authored
idle.
-
- 20 Dec, 2004 4 commits
-
-
Raymond Hettinger authored
(Patch by Armin Rigo.)
-
Armin Rigo authored
immediately segfaults, due to a typo! This was obviously never tested... Added a test for it, and also fixed the documentation.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
* return an integer rather than a boolean
-
- 19 Dec, 2004 3 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 18 Dec, 2004 5 commits
-
-
Brett Cannon authored
Closes bug #1083645. Thanks Detlef Vollmann.
-
Brett Cannon authored
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.
-
Raymond Hettinger authored
* The decimal module wouldn't load on builds without threads.
-
Raymond Hettinger authored
unsized iterable inputs.
-
Andrew MacIntyre authored
-
- 17 Dec, 2004 1 commit
-
-
Raymond Hettinger authored
* 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.
-
- 16 Dec, 2004 5 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
* 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.
-
Gregory P. Smith authored
-
- 15 Dec, 2004 1 commit
-
-
Walter Dörwald authored
-
- 14 Dec, 2004 2 commits
-
-
Walter Dörwald authored
-
Raymond Hettinger authored
-
- 13 Dec, 2004 6 commits
-
-
Marc-André Lemburg authored
doesn't seem to like "UTF-8"). Removed the UTF-8 aliases since these should be available for all locales.
-
Johannes Gijsbers authored
-
Gregory P. Smith authored
code. This version is much cleaner and makes a proper attempt at pairing up the correct header file and library.
-
Anthony Baxter authored
-
Gregory P. Smith authored
-
Gregory P. Smith authored
* bumped the module version number up to 4.3.0
-
- 12 Dec, 2004 3 commits
-
-
Johannes Gijsbers authored
- 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
-
Johannes Gijsbers authored
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.
-
Johannes Gijsbers authored
the fodder modules to separate files to get rid of the imp.load_source() trickery.
-