- 20 Jan, 2003 2 commits
-
-
Walter Dörwald authored
-
Barry Warsaw authored
-
- 19 Jan, 2003 14 commits
-
-
Walter Dörwald authored
with additional tests for setdefault(), pop() and popitem().
-
Jack Jansen authored
FSSpec or FSRef object and returns an 8-bit pathname (utf8 encoded).
-
Jack Jansen authored
and spaces. Detabbed the lot.
-
Walter Dörwald authored
cases and a few methods. This increases code coverage in Objects/unicodeobject.c from 81% to 85%. (From SF patch #662807)
-
Walter Dörwald authored
port the tests to PyUnit and add many tests for error cases. This increases code coverage in Python/bltinmodule.c from 75% to 92%. (From SF patch #662807, with assert_(not fcmp(x, y)) replaced with assertAlmostEqual(x, y) where possible)
-
Neal Norwitz authored
Will backport.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
the end of code blocks. Patch contributed by Patrick O'Brien.
-
Raymond Hettinger authored
Backport candidate. All but one or two of these changes are applicable to 2.2.2.
-
Raymond Hettinger authored
Make the code slightly shorter, faster, and easier to read. * Eliminate unused DUP_TOPX code for x==1. compile.c always generates DUP_TOP instead. * Since only two cases remain for DUP_TOPX, replace the switch-case with if-elseif. * The in-lined integer compare does a CheckExact on both arguments. Since the second is a little more likely to fail, test it first. * The switch-case for IS/IS_NOT and IN/NOT_IN can separate the regular and inverted cases with no additional work. For all four paths, saves a test and jump.
-
Tim Peters authored
var for clarity.
-
Tim Peters authored
From Brett Cannon. Mostly speedups via caching format string -> compiled regexp.
-
Raymond Hettinger authored
The Py2.3 updates to the pyclbr module return both Class and Function objects. The IDLE ClassBrowser module only knew about Class and could not handle objects which did not define "super". Fixed by adding a guard.
-
Raymond Hettinger authored
Gernot Hillier added more detail to the internal API documentation.
-
- 18 Jan, 2003 3 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
The Py2.3 updates to the pyclbr module return both Class and Function objects. The IDLE ClassBrowser module only knew about Class and could not handle objects which did not define "super". Fixed by adding a guard.
-
Tim Peters authored
Patch from Brett Cannon: First, the 'y' directive now handles [00, 68] as a suffix for the 21st century while [69, 99] is treated as the suffix for the 20th century (this is for Open Group compatibility). strptime now returns default values that make it a valid date ... the ability to pass in a regex object to use instead of a format string (and the inverse ability to have strptime return a regex object) has been removed. This is in preparation for a future patch that will add some caching internally to get a speed boost.
-
- 17 Jan, 2003 16 commits
-
-
Jack Jansen authored
- AskFileForSave didn't work for string return values - filterProc didn't work.
-
Jack Jansen authored
the AEDesc data shouldn't be disposed when the Python object is. Added a C call AEDesc_NewBorrowed() to create these objects and a Python method old=AEDesc.AutoDispose(onoff) to change auto-dispose state.
-
Fred Drake authored
-
Fred Drake authored
-
Tim Peters authored
Not anymore it ain't.
-
Fred Drake authored
sometimes.
-
Tim Peters authored
function can't handle, don't raise IOError -- that doesn't make sense. Raise ValueError instead. Bugfix candidate.
-
Just van Rossum authored
-
Raymond Hettinger authored
* Use Sets module to more clearly articulate a couple of tests.
-
Raymond Hettinger authored
-
Jack Jansen authored
-
Jack Jansen authored
are going to replace StandardGetFile() and friends. Main differences are that these allow you to ask for specific datatypes to be returned (FSSpec, FSRef, string, unicode or subtypes thereof) and that they provide access to underlying features of Navigation Services through keyword arguments.
-
Gregory P. Smith authored
underlying DB has already been closed (and thus all of its cursors). This fixes a potential segfault. SF pybsddb bug id 667343 bugfix: close the DB object when raising an exception due to an error during DB.open. This prevents an exception when closing the environment about not all databases being closed. SF pybsddb bug id 667340
-
Gregory P. Smith authored
closes sourceforge pybsddb bug id 669533.
-
Gregory P. Smith authored
coredump or segmentation violation. Sourceforge patch ID 664896: http://sourceforge.net/tracker/index.php?func=detail&aid=664896&group_id=13900&atid=313900 The bug was reported on the pybsddb-users mailing list.
-
Kurt B. Kaiser authored
M EditorWindow.py M NEWS.txt M TODO.txt
-
- 16 Jan, 2003 5 commits
-
-
Kurt B. Kaiser authored
-
Michael W. Hudson authored
-
Raymond Hettinger authored
Strengthen slicing tests. Improved variable names.
-
Raymond Hettinger authored
Add backwards compatibility test.
-
Raymond Hettinger authored
Added random test from bisect to augment the finite precomputed checks.
-