| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
This brings up Ping's pydoc server.
(XXX The icons for this and for IDLE seem screwed. Oh well.)
|
|
|
|
|
|
| |
than "more file". Since tempfilepager() is only used on Windows, it
seems, do this unconditionally -- on Unix, it always invokes something
else.
|
|
|
|
|
|
| |
Made sure that the warnings issued by symtable_check_unoptimized()
(about import * and exec) contain the proper filename and line number,
and are transformed into SyntaxError exceptions with -Werror.
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
| |
- Imaging and Numeric are now also available under Carbon.
- Started working on the active installer.
|
|
|
|
| |
- Imaging and Numeric are now also available under Carbon.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Also remove warning about module-level global decl, because we can't
distinguish from code passed to exec.)
Define PyCompilerFlags type contains a single element,
cf_nested_scopes, that is true if a nested scopes future statement has
been entered at the interactive prompt.
New API functions:
PyNode_CompileFlags()
PyRun_InteractiveOneFlags()
-- same as their non Flags counterparts except that the take an
optional PyCompilerFlags pointer
compile.c: In jcompile() use PyCompilerFlags argument. If
cf_nested_scopes is true, compile code with nested scopes. If it
is false, but the code has a valid future nested scopes statement,
set it to true.
pythonrun.c: Create a new PyCompilerFlags object in
PyRun_InteractiveLoop() and thread it through to
PyRun_InteractiveOneFlags().
|
|
|
|
| |
for the translator to update; that is compatible with xgettext 0.10.35.
|
|
|
|
| |
MacOS X ports. Change section header to beta 1.
|
|
|
|
|
|
|
|
|
|
| |
defined and export both names.
Solaris also does not define CBAUDEX; it is not clear that CBAUDEXT
(which is defined there) is the same thing, so we only protect against
the lack of CBAUDEX.
Reported by Greg V. Wilson.
|
|
|
|
| |
some operators (style guide conformance).
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
there is no need to clutter a reader's life with those useless things.
Suppress the "Contents" page for HTML; it is not needed for small documents
in the online environment since LaTeX2HTML generates lots of tables of links
anyway.
Various markup consistency nits.
|
|
|
|
|
|
|
|
|
|
|
|
| |
there is no need to clutter a reader's life with those useless things.
Make the snippets of Python code conform to the standard style.
Suppress the "Contents" page for HTML; it is not needed for small documents
in the online environment since LaTeX2HTML generates lots of tables of links
anyway.
Various markup consistency nits.
|
|
|
|
| |
certain Linux systems.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- In _portable_ftell(), try fgetpos() before ftello() and ftell64().
I ran into a situation on a 64-bit capable Linux where the C
library's ftello() and ftell64() returned negative numbers despite
fpos_t and off_t both being 64-bit types; fgetpos() did the right
thing.
- Define a new typedef, Py_off_t, which is either fpos_t or off_t,
depending on which one is 64 bits. This removes the need for a lot
of #ifdefs later on. (XXX Should this be moved to pyport.h? That
file currently seems oblivious to large fille support, so for now
I'll leave it here where it's needed.)
|
|
|
|
|
| |
of these "search the directory" schemes (including this one) are still prone
to making mistakes.
|
| |
|
| |
|
| |
|
|
|
|
| |
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)
|