| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
interactively.
|
| |
|
|
|
|
|
| |
CNRI release in a corner of the basement of a government building on a
planet circling Aldebaran.)
|
|
|
|
| |
instead.
|
|
|
|
| |
and Setup.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch was developed primarily to reduce the size of the
frozen binary. It is particularly useful when freezing for 'small'
platforms, such as Palm OS, where you really want to save that
last miserable byte.
A limitation of this patch is that it does not provide any feedback
about the replacements being made. As the path matching
is case-sensitive this may lead to unexpected behaviour for DOS
and Windows people, eg
> freeze.py -r C:\Python\Lib\=py\ goats.py
should probably be:
> freeze.py -r c:\python\lib\=py\ goats.py
|
|
|
|
| |
the re package rather than the obsolete regex.
|
|
|
|
| |
IDLE, and it likely changes across releases anyway).
|
|
|
|
| |
file instead of using inputfilename.mo
|
|
|
|
| |
for the translator to update; that is compatible with xgettext 0.10.35.
|
| |
|
|
|
|
|
|
| |
this just copies the __name__=='__main__' logic from pydoc.py.
?!ng can decide whether he wants to create a main() in pydoc, or rip
it out of pydoc.py completely.
|
| |
|
|
|
|
|
| |
comment. This way the generated files are identical when generated on
different machines.
|
|
|
|
| |
occurs. Also, continue processing.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Guido told me to do this <wink>.
Greatly expanded docstrings, and fleshed out with examples.
New std test.
Added new get_close_matches() function for ESR.
Needs docs, but LaTeXification of the module docstring is all it needs.
\CVS: ----------------------------------------------------------------------
|
| |
|
| |
|
|
|
|
|
|
|
| |
fields. You can now backspace out the 0 in 0x0, and you can clear the
field when in decimal mode. There are still some oddities about
typing into these fields, but it should be much less annoying. The
real solution is to ditch the update-while-typing "feature".
|
|
|
|
|
| |
scope (still inside the __name__=='__main__' guard). Necessitated by
recent addition of nested scopes.
|
| |
|
| |
|
|
|
|
| |
to build *all* tables in makeunicodedata.py.
|
| |
|
| |
|
|
|
|
| |
keywords. Cheap approximation to the truth.
|
|
|
|
| |
preferences. It is now in config.txt or ~/.idle.
|
|
|
|
|
|
|
|
|
|
|
| |
\t\t\t\t\treal code
##\t\t\t\t\tunused code
\t\t\t\t\treal code
via untabifying and shifting the real code left. Semantically the
same but made the intent of the commented-out-in-column-0 unused code
unclear. The exact same unused code appears to have gotten copied from
file to file over the years.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
codec to not apply Latin-1 mappings for keys which are not found
in the mapping dictionaries, but instead treat them as undefined
mappings.
The patch was originally written by Martin v. Loewis with some
additional (cosmetic) changes and an updated test script
by Marc-Andre Lemburg.
The standard codecs were recreated from the most current files
available at the Unicode.org site using the Tools/scripts/gencodec.py
tool.
This patch closes the bugs #116285 and #119960.
|
| |
|
|
|
|
| |
Get rid of assignment to unused self.text.wordlist.
|
| |
|
|
|
|
| |
happens because the scanner ignores preprocessor #ifs).
|
|
|
|
| |
Py_FatalError on errors.
|
| |
|
|
|
|
| |
Allow /* */ comments within function prototypes.
|
|
|
|
| |
after implementing it I liked Gregor's two-"?" line idea a lot.
|
|
|
|
| |
further optimization of com_node makes the most difference.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
embedded code objects (e.g. functions) rather than the generated code
object. This change means that the compiler generates code for
everything at the end, rather then generating code for each function
as it finds it. Implementation note: _convert_LOAD_CONST in
pyassem.py must be change to call getCode().
Other changes follow. Several changes creates extra edges between
basic blocks to reflect control flow for loops and exceptions. These
missing edges had gone unnoticed because they do not affect the
current compilation process.
pyassem.py:
Add _enable_debug() and _disable_debug() methods that print
instructions and blocks to stdout as they are generated.
Add edges between blocks for instructions like SETUP_LOOP,
FOR_LOOP, etc.
Add pruneNext to get rid of bogus edges remaining after
unconditional transfer ops (e.g. JUMP_FORWARD)
Change repr of Block to omit block length.
pycodegen.py:
Make sure a new block is started after FOR_LOOP, etc.
Change assert implementation to use RAISE_VARARGS 1 when there is
no user-specified failure output.
misc.py:
Implement __contains__ and copy for Set.
|
|
|
|
|
|
|
| |
the function's body.
If assert is used without an error message, make the AST node None
rather than Name('None').
|
|
|
|
| |
not win32api
|
|
|
|
|
|
|
| |
ranges) -- but thanks to the 2.0 compression scheme, this doesn't add
a single byte to the resulting binaries (!)
Closes bug #117524
|
|
|
|
| |
ndiff w/ a custom version I made for Guido during the pre-2.0 freeze.
|
|
|
|
| |
class, method, and function docstrings.
|
|
|
|
| |
augmented print statement instead.
|