| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Cater to that.
+ Major speed boost via not reading more of files than necessary. This
was no slouch before; now it screams.
+ Improve msg when giving up on a goofy future statement.
|
|
|
|
| |
David Goodger.
|
| |
|
|
|
|
|
|
| |
canceling an edit operation would not revert the value of the field.
The fix takes care to destroy the Entry object, as suggested in the
patch.
|
| |
|
|
|
|
|
|
|
| |
If multiple header files are processed simultaneously which include each
other, the corresponding modules mport each other. Specifically, if h2py
is invoked with sys/types.h first, later header files won't contain the
complete contents of TYPES.py.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Fix this to work with the new (still undocumented) tabnanny API.
I'm afraid Stephen will have to add this fix to the IDLE fork code
base as well.
|
| |
|
|
|
|
| |
Update link to a running instance of the FAQwizard
|
| |
|
|
|
|
| |
files to satisfy imports, pydoc.pyw was just importing itself!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
list of files to not extract docstrings from when the -D option is
given. This isn't optimal, but I didn't want to change the semantics
of -D, and it's bad form to allow optional switch arguments.
Bumping __version__ to 1.4.
TokenEater.__init__(): Initialize __curfile to None.
__waiting(): In order to extract docstrings from the module, both the
-D flag should be set, and the __curfile should not be named in
the -X filename (i.e. it isn't in opts.nodocstrings).
set_filename(): Fixed a bug where once the first module docstring is
extracted, no subsequent module docstrings will be extracted. The
bug was that the first extraction set __freshmodule to 0, but that
flag was never reset back to 1. set_filename() is always called
when the next file is being processed, so use it to reset the
__freshmodule flag.
main(): Add support for -X/--no-docstring.
|
| |
|
|
|
|
|
| |
Move computation of sets of characters out of the body of the function that
uses them.
|
| |
|
|
|
|
| |
in front, which isn't 100% correct but good enough.
|
|
|
|
|
|
|
|
| |
fragile. Now the leading "0x" on hex numbers are displayed as labels
and the type-in entry fields just accept the hex digits. Be sure to
strip off the "0x" string when displaying hex values too.
Also, de-string-module-ification, and other Python 2.x improvements.
|
|
|
|
|
| |
EOFError so any failures in unmarshalling are just ignored. Use
print>> instead of sys.stderr.write().
|
| |
|
| |
|
| |
|
|
|
|
| |
De-string-module-ification.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
found a bug here. Here's the deal:
Class PyShell derives from class OutputWindow. Method PyShell.close()
wants to invoke its parent method, but because PyShell long ago was
inherited from class PyShellEditorWindow, it invokes
PyShelEditorWindow.close(self). Now, class PyShellEditorWindow itself
derives from class OutputWindow, and inherits the close() method from
there without overriding it. Under the old rules,
PyShellEditorWindow.close would return an unbound method restricted to
the class that defined the implementation of close(), which was
OutputWindow.close. Under the new rules, the unbound method is
restricted to the class whose method was requested, that is
PyShellEditorWindow, and this was correctly trapped as an error.
|
|
|
|
|
|
| |
check the c-function pointer for being NULL before calling it and raise UnimplementedError if it is.
This allows system libs to be weak-linked, thereby allowing us to generate functions that are only available on some OS versions without getting a NULL dereference if the function isn't available.
|
|
|
|
| |
That way it's more easily overridden.
|
| |
|
|
|
|
| |
such as the Core Foundation ones.
|
|
|
|
|
|
|
|
|
|
| |
I published it on the web as http://www.python.org/2.1/md5sum.py
so I thought I might as well check it in.
Works with Python 1.5.2 and later.
Works like the Linux tool ``mdfsum file ...'' except it doesn't take
any options or read stdin.
|
|
|
|
| |
be outputted just before the msgid lines.
|
|
|
|
| |
marker should be output as a #, flag, e.g. "#, docstring".
|
|
|
|
|
| |
stmt. Along w/ the preceding change to keyword.py, making all this work
w/ a future-stmt just looks harder and harder.
|
|
|
|
|
|
| |
K. O'Brien on idle-dev.
(Should other bindings follow suit?)
|
|
|
|
|
|
|
|
|
| |
Armin Rigo pointed out that the way the line-# table got built didn't work
for lines generating more than 255 bytes of bytecode. Fixed as he
suggested, plus corresponding changes to pyassem.py, plus added some
long overdue docs about this subtle table to compile.c.
Bugfix candidate (line numbers may be off in tracebacks under -O).
|
| |
|
|
|
|
|
|
| |
config.txt).
*** This is a bugfix-release candidate (for 2.1.1 and 2.0.1)! ***
|
|
|
|
| |
directives, which is the role of CPPFLAGS. Closes SF patch #414991.
|
|
|
|
|
| |
there were multiple translatable strings on a single line of source
code.
|
|
|
|
|
| |
tuples by filename/lineno, then sort the catalog entries by their
location tuples.
|
|
|
|
|
| |
indicate it took an argument. This closes SF patch #402223 by Bastian
Kleineidam.
|
|
|
|
|
|
|
|
|
|
|
| |
indicating whether the entry was extracted from a docstring or not.
write(): If any of the locations of a string appearance came from a
docstring, add a comment such as
#. docstring
before the references (after a suggestion by Martin von Loewis).
|
|
|
|
|
|
| |
first by filename and then by line number. Closes SF patch #425821.
Also, fixes a problem with duplicate entries.
|
|
|
|
| |
easier with gcc -Wstrict-function-prototypes.
|
|
|
|
|
|
| |
codec files to codecs.py and added logic so that multi mappings
in the decoding maps now result in mappings to None (undefined mapping)
in the encoding maps.
|