| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Will backport to 2.3.
|
|
|
|
| |
Will backport to 2.3.
|
|
|
|
|
| |
1.293, 1.298, and 1.300, which have tried to fix this for specific
platforms.
|
|
|
|
| |
(Suggested by Neal Norwitz.)
|
| |
|
|
|
|
|
|
|
|
| |
This patch includes test cases and documentation updates, as well as NEWS file
updates.
This patch also updates the sre modules so that they don't import the string
module, breaking direct circular imports.
|
|
|
|
|
|
|
| |
happen in 2.3, but nobody noticed it still was getting generated (the
warning was disabled by default). OverflowWarning and
PyExc_OverflowWarning should be removed for 2.5, and left notes all over
saying so.
|
| |
|
|
|
|
|
| |
and a test case.
When booting a new thread, use the PyGILState API to manage the GIL.
|
|
|
|
|
| |
flags it accepts. It's too late to change optparse's default behavior now,
but I find the default setting of allow_interspersed_args very weird.
|
| |
|
|
|
|
|
|
|
|
|
| |
* Perform the code length check earlier.
* Eliminate the extra PyMem_Free() upon hitting an EXTENDED_ARG.
* Assert that the NOP count used in jump retargeting matches the NOPs
eliminated in the final step.
* Add an XXX note to indicate that more work is being to done to
handle linenotab with intervals > 255.
|
|
|
|
|
|
|
|
|
| |
* Make a pass to eliminate NOPs. Produce code that is more readable,
more compact, and a tiny bit faster. Makes the peepholer more flexible
in the scope of allowable transformations.
* With Guido's okay, bumped up the magic number so that this patch gets
widely exercised before the alpha goes out.
|
|
|
|
| |
subclasses.
|
|
|
|
|
|
|
| |
(Patch contributed by Nick Coghlan.)
Now joining string subtypes will always return a string.
Formerly, if there were only one item, it was returned unchanged.
|
|
|
|
|
| |
is_private in its tests failed if doctest.py was run directly. Now
it works.
|
|
|
|
|
| |
directly, due to assuming a filename specific to running tests "the
normal way". +ELLIPSIS to the rescue!
|
| |
|
| |
|
|
|
|
|
|
|
| |
NamedTemporaryFile (which can't work for this function's purposes on
Windows). Leaving temp files behind wasn't a great idea either, though,
so try to clean up. At least the test suite no longer leaves any of
these guys behind now.
|
| |
|
|
|
|
|
| |
default famility is AF_UNIX if defined for the platform, otherwise the
default is AF_INET.
|
|
|
|
| |
in initsigs() inside pythonrun.c.
|
|
|
|
|
|
| |
in this section is new in 2.4, and that's all mentioned already in
versionadded{} thingies at the end of the section. It hurts readability
to have them after every line <wink>.
|
| |
|
|
|
|
| |
Will backport to 2.3.
|
| |
|
|
|
|
|
|
|
|
|
| |
docstrings toward being a lot shorter, and telling the whole truth in
the manual instead. This change is an example: the manual has detailed
explanations of the option names now, so it's Bad to repeat them in
the docstring (two detailed descriptions are certain to get out of synch).
Just listing the names has memory-jogging benefits, though, so that's
still helpful in the docstring.
|
| |
|
| |
|
| |
|
|
|
|
| |
final newline. Anything to get rid of "l" as a variable name <0.5 wink>.
|
| |
|
|
|
|
| |
Will backport to 2.3.
|
| |
|
| |
|
|
|
|
| |
Fit a nit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Test filenames sometimes had trailing .pyc or .pyo sufixes
(when module __file__ did).
- Trailing spaces spaces in expected output were dropped.
New default failure format:
- Separation of examples from file info makes examples easier to see
- More vertical separation, improving readability
- Emacs-recognized file info (also closer to Python exception format)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a new file, don't raise a dialog. IDLEfork 954928.
2. Refactor EditorWindow.wakeup() to WindowList.ListedToplevel.wakeup() and
clarify that the Toplevel of an EditorWindow is a WindowList.ListedToplevel.
3. Make a number of improvements to keyboard focus binding. Improve window
raising, especially in the debugger. IDLEfork Bug 763524 (GvR list).
4. Bump idlever to 1.1a3
M Debugger.py
M EditorWindow.py
M FileList.py
M NEWS.txt
M PyShell.py
M WindowList.py
M idlever.py
|
|
|
|
|
|
| |
are non-obvious either way because the newline character "is invisible",
but it's still there all the same, and it's easier to explain/predict
if that reality is left alone.
|
|
|
|
|
|
|
| |
I couldn't test this, but it didn't break anything and the patch
reported fixed the problem.
Bugfix candidate.
|
|
|
|
|
| |
'\037\014\n' (see http://quimby.gnus.org/notes/BABYL) so look for that as well,
so that applications won't get '\037' as the last line of the last message.
|
|
|
|
|
| |
href attribute in list_directory(). This fixes the links for legal Unix
filenames such as 'a"b'.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
truncate() left the stream position unchanged, which meant the
"truncated" data didn't go away:
>>> io.write('abc')
>>> io.truncate(0)
>>> io.write('xyz')
>>> io.getvalue()
'abcxyz'
Patch by Dima Dorfman.
|
| |
|
|
|
|
| |
argument is optional on both (the format string is "ss|O!").
|
| |
|