| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
When daylight time ends, an hour repeats on the local clock (for example,
in US Eastern, the clock jumps from 1:59 back to 1:00 again). Times in
the repeated hour are ambiguous. A tzinfo subclass that wants to play
with astimezone() needs to treat times in the repeated hour as being
standard time. astimezone() previously required that such times be
treated as daylight time. There seems no killer argument either way,
but Guido wants the standard-time version, and it does seem easier the
new way to code both American (local-time based) and European (UTC-based)
switch rules, and the astimezone() implementation is simpler.
|
|
|
|
|
| |
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().
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
the end of code blocks.
Patch contributed by Patrick O'Brien.
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Fixes #661762, bugfix candidate.
|
|
|
|
| |
FSSpec.SetDates() and GetDates(). Closes #662836.
|
|
|
|
| |
* Add doctest for example in the library reference manual
|
| |
|
| |
|
|
|
|
| |
Configuration implementation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
M EditorWindow.py
M NEWS.txt
M config-main.def
M configDialog.py
M configHandler.py
M configHelpSourceEdit.py
M configSectionNameDialog.py
- Change default: IDLE now starts with Python Shell.
- Removed the File Path from the Additional Help Sources scrolled list.
- Add capability to access Additional Help Sources on the web if the
Help File Path begins with //http or www. (Otherwise local path is
validated, as before.)
- Additional Help Sources were not being posted on the Help menu in the
order entered. Implement sorting the list by [HelpFiles] 'option'
number.
- Add Browse button to New Help Source dialog. Arrange to start in
Python/Doc if platform is Windows, otherwise start in current directory.
- Put the Additional Help Sources directly on the Help menu instead of in
an Extra Help cascade menu. Rearrange the Help menu so the Additional
Help Sources come last. Update help.txt appropriately.
- Fix Tk root pop-ups in configSectionNameDialog.py and configDialog.py
|
|
|
|
|
|
| |
is not supported on sets. (Unfortunately, sorting a list of sets may
still return random results because it uses < exclusively, but for
sets that inly implements a partial ordering. Oh well.)
|
|
|
|
|
|
|
| |
inspect.getsource would crash with one line definitions like:
def f(x): return x
or
f = lambda x: x
|
| |
|
|
|
|
|
| |
managed to delete the @test file it intended to delete. Also, I don't
see a reason to create a 4MB file in the new test, so cut it back to 16K.
|
|
|
|
|
|
| |
This was introduced in 1998 in rev. 1.13, where I imported extensive
patches that, I am sad to say, I didn't review as carefully as I
should have.
|
|
|
|
| |
do_quit() -- but print a blank line first.
|
|
|
|
|
|
|
| |
Fix infinite recursion which occurred when printing an object
whose __str__() returned self.
Will backport
|
| |
|
| |
|
|
|
|
| |
Add the optional gain parameter and pass it to Tk.
|
| |
|
|
|
|
|
|
|
| |
When a module doesn't have a __path__ attribute, trigger a dialog box
rather than dumping a traceback to the console.
Synch to Python IDLE.
|
|
|
|
|
|
| |
Closing an mmap'ed file (calling munmap) twice on Solaris caused a core dump.
Will backport.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
M configHelpSourceEdit.py
1. Attach configHelpSourceEdit error dialogs to parent to avoid Tk root
pop-ups.
2. Make configHelpSourceEdit OK button the default and bind <Return>.
3. Reformat configHelpSourceEdit.
4. ConfigDialog.SaveAllChangedConfig() had a bug which caused additional
help sources to be deleted when other config items were changed.
4. Uniform capitalization in configDialog.
5. Update configDialog doc string.
|
|
|
|
| |
hard code it. We want this module to work with Python 2.1 for now.
|