| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
changed so that this is no longer needed on the only platform this is
known to have been needed on.
Fixed on indentation-related consistency nit.
|
|
|
|
|
|
|
|
| |
PyZipFile class.
End sentences in docstrings with periods.
Reformat docstrings to be more similar to those of other modules.
|
|
|
|
|
|
| |
on revised text from Jim Ahlstrom <jim@interet.com>.
This closes SourceForge bug #115681.
|
| |
|
|
|
|
|
|
|
| |
readline doesn't have it before readline 2.2 and there's no
compile-time way to find out which readline version is in use.
Sigh. GNU readline sucks.
|
|
|
|
| |
Reliant UNIX.
|
|
|
|
|
|
|
|
|
|
|
| |
into a usable filename using $ICONSERVER and
$IMAGE_TYPE as needed.
get_link_icon(): Function to examine a URL and return the string to use
to insert an icon if the link points off-site, if needed
and $OFF_SITE_LINK_ICON is set.
Adjusted appropriate places to use these new functions.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
#115555.
The error from s_push() on stack overflow was -1, which was passed
through unchanged by push(), but not tested for by push()'s caller --
which only expected positive error codes. Fixed by changing s_push()
to return E_NOMEM on stack overflow. (Not quite the proper error code
either, but I can't be bothered adding a new E_STACKOVERFLOW error
code in all the right places.)
|
|
|
|
|
| |
Add a note that some way of reliably detecting the use of KDE would be
really nice.
|
|
|
|
|
|
| |
Linux distributions which provide both KDE and Gnome set this environment
variable even if the user is not using KDE. We do *not* want to start
Konquerer if KDE is not running unless the user actually tells us to!
|
|
|
|
|
|
| |
isNumberType(), and isSequenceType() functions.
This closes SourceForge bug #115789.
|
| |
|
|
|
|
|
|
|
|
|
| |
by default (since compiling at install time works just fine). Details:
- added 'compile' and 'optimize' options
- added 'byte_compile()' method
- changed 'get_outputs()' so it includes bytecode files
A lot of the code added is very similar to code in install_lib.py;
would be nice to factor it out further.
|
|
|
|
| |
instruct the "install_lib" command from the command-line.
|
|
|
|
|
|
|
|
|
|
|
|
| |
choice between (compile, no-compile) * (optimize=0, optimize=1,
optimize=2). Details:
- added --no-compile option to complement --compile, which has
been there for ages
- changed --optimize (which never worked) to a value option, which
expects 0, 1, or 2
- renamed 'bytecompile()' method to 'byte_compile()', and beefed
it up to handle both 'compile' and 'optimize' options
- fix '_bytecode_filenames()' to respect the new options
|
| |
|
|
|
|
| |
pure Python modules to compile.
|
|
|
|
| |
blowing up.
|
|
|
|
| |
Subclass Error from Exception.
|
|
|
|
|
|
|
|
|
|
| |
Versions are defined for Windows and Unix; the Unix
flavor uses sysconf() to get the page size; this avoids
the use of getpagesize(), which is deprecated and
requires an additional library on some platforms
(specifically, Reliant UNIX).
This partially closes SourceForge bug #113797.
|
|
|
|
| |
class has no __getitem__(). This raises an AttributeError.
|
|
|
|
| |
This closes SourceForge patch #101714.
|
|
|
|
| |
is where all the FAQs about extension-building will be answered.
|
|
|
|
|
| |
'util.byte_compile()'. Currently just reproduces the existing functionality
-- doesn't use any of the fancy features in the new 'byte_compile()'.
|
|
|
|
|
|
|
|
|
|
| |
standard 'py_compile.compile()' function. Laundry list of features:
- handles standard Distutils 'force', 'verbose', 'dry_run' flags
- handles various levels of optimization: can compile directly in
this interpreter process, or write a temporary script that is
then executed by a new interpreter with the appropriate flags
- can rewrite the source filename by stripping an optional prefix
and preprending an optional base dir.
|
|
|
|
|
|
| |
Fixed 'subst_vars()' so it actually blows up like the docstring claims
(and fixed the docstring not to claim it handles ${var}, which it
doesn't).
|
| |
|
| |
|
|
|
|
|
| |
absolute pathnames; this lets it keep working in the face of chdir'ing
around.
|
| |
|
| |
|
|
|
|
| |
unicodedata_db.h.
|
|
|
|
| |
on the module file -- could be useful for subclasses overriding it.
|
|
|
|
| |
this will please everyone (as if that's possible).
|
|
|
|
| |
'uname()' -- specifically NeXTSTEP.
|
|
|
|
|
|
| |
- added 'sub_commands' class attr
- added 'has_*()' predicates referenced by the sub-command list
- rewrote 'run()' so it's a trivial loop over relevant sub-commands
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
appear as methods on socket objects.
|
| |
|
|
|
|
|
|
| |
Error reported via email by Pete Shinners <pete@visionart.com>.
Fixed some indentation inconsistencies.
|
|
|
|
| |
elsewhere in 1.5.2.
|
|
|
|
|
| |
Add PyModule_AddStringConstant and PyModule_AddObject if version <2.0,
to allow to share this file with PyXML.
|
| |
|