| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
slightly more brief, and more like the message that an extension will not
be built because the built copy is up to date.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
UNIX style fork/execve/wait are not fully compatible with thread
support on BeOS. For Python, that means neither fork() from import
nor import from a fork work reliably. os._execvpe() does the latter,
importing tempfile to set up a tantalizing target for hackers. This
patch replaces both the tempfile name generation and the exec that
uses it, in case we're on BeOS. Need this for
setup:distutils:execvp(); symptoms are random crashes and internal
BeOS error messages about th name, in case we're on BeOS. It's an
issue because setup.py + distutils calls os.execvp(); symptoms are
random crashes during setup.py, and internal BeOS error messages
about thread IDs.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
SF patch #404564, Gregor Hoffleit.
|
| |
|
|
|
|
|
| |
as long as the filename also doesn't end in a suffix that indicates
a binary file (according to the flags in imp.get_suffixes()).
Shrink try...except clauses and replace some of them with explicit checks.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
than "more file". Since tempfilepager() is only used on Windows, it
seems, do this unconditionally -- on Unix, it always invokes something
else.
|
| | |
|
| |
|
|
| |
Suggested on c.l.py by William Tanksley, and I like it.
|
| |
|
|
|
| |
Remove __main__ from the index of built-in modules.
Miscellaneous compatibility fixes.
|
| |
|
|
| |
Add getabsfile() for getting a most-normalized path.
|
| |
|
|
| |
Remove -no-about-splash option (not understood by all Netscapes).
|
| | |
|
| | |
|
| |
|
|
| |
When possible, display strings containing backslashes using r'' notation.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Robustify: don't rely on modules being present in sys.modules.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Add checks for .pyo and .pyd.
Collapse docfunction, docmethod, docbuiltin into the one method docroutine.
Small formatting fixes.
Link the segments of a package path in the title.
Link to the source file only if it exists.
Allow modules (e.g. repr.py) to take precedence over built-ins (e.g. repr()).
Add interruptible synopsis scanner (so we can do searches in the background).
Make HTTP server quit.
Add small GUI for controlling the server and launching searches (like -k).
(Tested on Win2k, Win98, and Linux.)
|
| |
|
|
|
| |
(please not that the library reference does *not* include the
urllib2 documnetation -- that will wiat for Fred)
|
| | |
|
| |
|
|
| |
giving it a slight facelift
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
WeakValueDictionary.copy(),
WeakKeyDictionary.copy(): Actually return the copy!
|
| |
|
|
|
|
| |
Handle <... at 001B6378> like <... at 0x120f80> (%p is platform-dependent).
Fix RCS version tag handling.
Move __main__ behaviour into a function, pydoc.cli().
|
| |
|
|
|
| |
Fix test_grammar so that it ignores warning about global stmt at
module level in exec.
|
| | |
|
| | |
|
| |
|
|
| |
moved).
|
| |
|
|
|
|
|
|
| |
to the class namespace.
Allow FTP.close() to be called more than once without tossing cookies.
(This seems to be a fairly common idiom for .close() methods, so let's
try to be consistent.)
|
| |
|
|
|
|
|
|
|
| |
warn_explicit(message, category, filename, lineno, module, registry)
The regular warn() call calculates a bunch of values and calls
warn_explicit() with these.
This will be used to issue better syntax warnings.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
header and central directory structures, and use them as appropriate.
The point being to make it easier to tell what is getting pulled out
where; magic numbers are evil!
Change the computation of the ZipInfo.file_offset field to use the
length of the relevant "extra" field -- there are two different ones,
and the wrong one had been used. ;-(
This closes SF tracker patch #403276, but more verbosely than the
proposed patch.
|
| |
|
|
|
| |
seven are not tests in their own right; these files are mentioned in
regrtest.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
ZipFile.__del__() when there was an IOError opening the underlying
file in ZipFile.__init__().
This is an odd test: since the exception is in the __del__() method,
it is not propogated. This test will trigger it but regrtest.py
does not detect the failure (not sure why); we are dependent on it
actually being noticed by a user to get a new bug report if it ever
fails. ;-(
On the other hand, this makes sure that code gets exercised, so
a failure could be noticed!
|
| |
|
|
| |
there was an IOError opening the underlying file in ZipFile.__init__().
|
| | |
|
| | |
|