| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
which had empty method and super attributes. ClassBrowser.IsExpandable()
could not handle the missing attributes. SF Bug 667787.
|
| |
|
| |
|
|
|
|
| |
with additional tests for setdefault(), pop() and popitem().
|
|
|
|
| |
FSSpec or FSRef object and returns an 8-bit pathname (utf8 encoded).
|
|
|
|
| |
and spaces. Detabbed the lot.
|
|
|
|
|
|
| |
cases and a few methods. This increases code coverage
in Objects/unicodeobject.c from 81% to 85%.
(From SF patch #662807)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
Will backport.
|
| |
|
|
|
|
|
|
| |
the end of code blocks.
Patch contributed by Patrick O'Brien.
|
|
|
|
|
| |
Backport candidate. All but one or two of these changes
are applicable to 2.2.2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
var for clarity.
|
|
|
|
|
| |
From Brett Cannon. Mostly speedups via caching format string ->
compiled regexp.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Gernot Hillier added more detail to the internal API documentation.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
- AskFileForSave didn't work for string return values
- filterProc didn't work.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Not anymore it ain't.
|
|
|
|
| |
sometimes.
|
|
|
|
|
|
|
| |
function can't handle, don't raise IOError -- that doesn't make sense.
Raise ValueError instead.
Bugfix candidate.
|
| |
|
|
|
|
| |
* Use Sets module to more clearly articulate a couple of tests.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
closes sourceforge pybsddb bug id 669533.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
M EditorWindow.py
M NEWS.txt
M TODO.txt
|
| |
|
| |
|
|
|
|
|
| |
Strengthen slicing tests.
Improved variable names.
|
|
|
|
| |
Add backwards compatibility test.
|
|
|
|
| |
Added random test from bisect to augment the finite precomputed checks.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
case, the test module created is actually a sub-package of 'test', thus
the module is named 'test.areallylongpackage...' - this caused failure.
Replace the hard-coded module names with __name__ attributes, which
correctly reflects any hierarchy.
|
|
|
|
| |
so just continue testing. Fixes #668787.
|
| |
|
|
|
|
| |
_strptime can now handle getting two empty strings as the timezone information.
|