| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
<grant.griffin@honeywell.com>.
|
|
|
|
|
|
|
| |
complex objects, and explain how to build so that Objects/complexobject.c
is compiled without optimization.
Closing SourceForge bug #110695 as "Won't Fix".
|
|
|
|
| |
This closes SourceForge bug #115673.
|
|
|
|
| |
<grant.griffin@honeywell.com>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed displays of the interactive prompt in running text.
These close SourceForge bug #115658.
Also:
Updated discussion of tuple unpacking to reflect the general ability
to unpack any sequence type. Explained that it is possible to create
tuples which contain mutable values, and noted in the dictionary
section that such tuples cannot be used as keys.
Noted that .pyc and .pyo files can be run directly when provided as
the script parameter to the interpreter, and slightly clarified
comments about using modules with only the byte compiled code.
Removed some XXX comments that are no longer relevant.
Removed commented-out paragraph about __private names being experimental.
Adjusted markup for consistency in some places.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
They are unneeded: All this stuff is already done by the
install command which is run by bdist_wininst.
One bug has been fixed:
The root of the fake install tree is install.install_purelib,
not install.install_lib!
They are different if the extra_path option is used in
the setup function.
Rebuild after the changes to wininst.exe.
|
| |
|
|
|
|
|
|
|
|
| |
unintentionally caused them to get written in text mode under Windows.
As a result, when .pyc files were later read-- in binary mode --the
magic number was always wrong (note that .pyc magic numbers deliberately
include \r and \n characters, so this was "good" breakage, 100% across
all .pyc files, not random corruption in a subset). Fixed that.
|
|
|
|
|
|
| |
most modern Unix flavors.
The age of this portion of the README was noted in SourceForge bug #115625.
|
|
|
|
|
|
| |
from sources, not in general.
This closes SourceForge bug #115608.
|
|
|
|
| |
friends. (Modified version of patch #101682 from Neil Schemenauer)
|
| |
|
| |
|
|
|
|
| |
for Windows & Unix.
|
|
|
|
|
|
|
|
|
|
|
| |
Removed get_ext_libname() because it is unused.
Fixed get_libraries() to append an '_d' to the python debug
import library. If MSVC is used, do not add 'pythonxx.lib' to
the list of libraries, because this is handled better
by a pragma in config.h.
This should fix bug #115595, but it needs some more testing.
|
|
|
|
| |
Fixed a typo in a docstring.
|
|
|
|
|
|
|
|
|
|
|
|
| |
popen2(), popen3(): Reversed order of bufsize and mode parameters to
comply with what was here before (Python 1.5.2).
class Popen3: Factored the __init__() into a more basic initializer and
a helper method, to allow some re-use by the Popen4 class.
Use os.dup2() instead of os.dup() to create the proper
file descriptors in the child process.
This closes SourceForge bug #115330 and partially closes #115353.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
__file__ attributes of already-imported modules to be absolute. This helps
robustify the interpreter against os.chdir() calls from the application.
Only remove setdefaultencoding() from sys if it exists; if this module is
run as a script (since there is a _test() function that gets run), it broke
because the script attempts to remove it again after the import of site
has already done so. This allows the module to be run as a script again.
makepath(): New function, standardizes all pathname normalization in one
place.
|
|
|
|
|
|
| |
Never assume that os.sep is for the module-specific platform; use the
right separator character directly.
Fix some minor style consistency nits.
|
| |
|
| |
|
|
|
|
| |
dynamically to support K&R C since we are requiring an ANSI compiler.
|
| |
|
|
|
|
|
|
|
|
| |
cStringIO does not get it right (reported as SF bug #115531).
Added test for ValueError when write() is called on a closed StringIO
object. Commented out because cStringIO does not get it right
(reported as SF bug #115530).
|
|
|
|
| |
This closes SourceForge bug #115527.
|
|
|
|
|
| |
not terribly useful.
Reported by Mark Favas <Mark.Favas@per.dem.csiro.au>.
|
|
|
|
|
|
| |
some platforms.
This *should* close SourceForge patch #115506.
|
| |
|
| |
|