| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
XXX Why doesn't distutils on Windows use the same set of flags as Python?
|
|
|
|
| |
Closes SF bug #551912.
|
| |
|
|
|
|
|
|
|
| |
The default implementation calls _compile() to compile individual
files. This method must be implemented by the subclass. This change
factors out most of the remaining common code in all the compilers
except mwerks.
|
|
|
|
|
| |
might be easier to understand.
This relates to SF bug #493243, which will be closed.
|
| |
|
|
|
|
|
| |
This is his SF patch 569697. I renamed main() to test_main() again so
that this is run as part of the standard test suite.
|
|
|
|
|
|
|
|
|
| |
possible to control the indentation of continuation lines.
cfuncline_helper(): Only mark the argument names are <var>, not the
whole argument list. This leaves the argument types in the same
font as the return type. Based on a casual suggestion from
Guido.
|
|
|
|
|
|
| |
and friends. This was part of the changes to the presentation of
signature lines, but does not include any of the aspects that people
questioned.
|
|
|
|
|
|
| |
In a fresh interpreter, type.mro(tuple) would segfault, because
PyType_Ready() isn't called for tuple yet. To fix, call
PyType_Ready(type) if type->tp_dict is NULL.
|
|
|
|
|
|
| |
In a fresh interpreter, type.mro(tuple) would segfault, because
PyType_Ready() isn't called for tuple yet. To fix, call
PyType_Ready(type) if type->tp_dict is NULL.
|
| |
|
|
|
|
|
| |
Patch contributed by Sean Reifschneider.
Closes SF patch #570618.
|
|
|
|
|
| |
Instead of splitting a string and looping over it to call s.split(),
use list comprehensions for readability.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. BUGFIX: In function makefile(), strip blanks from the nodename.
This is necesary to match the behavior of parser.makeref() and
parser.do_node().
2. BUGFIX fixed KeyError in end_ifset (well, I may have just made
it go away, rather than fix it)
3. BUGFIX allow @menu and menu items inside @ifset or @ifclear
4. Support added for:
@uref URL reference
@image image file reference (see note below)
@multitable output an HTML table
@vtable
5. Partial support for accents, to match MAKEINFO output
6. I added a new command-line option, '-H basename', to specify
HTML Help output. This will cause three files to be created
in the current directory:
`basename`.hhp HTML Help Workshop project file
`basename`.hhc Contents file for the project
`basename`.hhk Index file for the project
When fed into HTML Help Workshop, the resulting file will be
named `basename`.chm.
7. A new class, HTMLHelp, to accomplish item 6.
8. Various calls to HTMLHelp functions.
A NOTE ON IMAGES: Just as 'outputdirectory' must exist before
running this program, all referenced images must already exist
in outputdirectory.
FLD: wrapped some long lines.
|
|
|
|
| |
This closes SF patch #569832.
|
|
|
|
|
|
|
| |
> Looks like an experiment by Oren Tirosh that didn't get nuked. I
> think you can safely lose it.
It's gone.
|
|
|
|
| |
Closes SF bug #556370.
|
|
|
|
| |
Closes SF bug #523473.
|
|
|
|
|
| |
PyMarshal_WriteObjectToFile().
This closes SF bug #533735.
|
|
|
|
|
|
| |
the "Download as text" link. Previously, it could map multiple source files
to a single name since all files end up with the same extension.
This closes SF bug #558279.
|
|
|
|
| |
Tweak traceback display for consistency
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This patch enhances Python/import.c/find_module() so
that unicode objects found in sys.path will be treated
as legal directory names (The current code ignores
anything that is not a str). The unicode name is
converted to str using Py_FileSystemDefaultEncoding.
|
| |
|
|
|
|
| |
time-zone independant
|
|
|
|
|
|
| |
Use a repr() on the subprocess side when fetching dict values for stack.
The various dict entities are not needed by the debugger GUI, only
their representation.
|
| |
|
|
|
|
| |
the Windowish builds.
|
| |
|
|
|
|
|
| |
trying to delete a .pyc file that didn't exist (it needed to delete .pyo
then).
|
|
|
|
| |
reason <wink>: can't unlink an open file on Windows.
|
|
|
|
| |
Python on Windows without it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These built-in functions are replaced by their (now callable) type:
slice()
buffer()
and these types can also be called (but have no built-in named
function named after them)
classobj (type name used to be "class")
code
function
instance
instancemethod (type name used to be "instance method")
The module "new" has been replaced with a small backward compatibility
placeholder in Python.
A large portion of the patch simply removes the new module from
various platform-specific build recipes. The following binary Mac
project files still have references to it:
Mac/Build/PythonCore.mcp
Mac/Build/PythonStandSmall.mcp
Mac/Build/PythonStandalone.mcp
[I've tweaked the code layout and the doc strings here and there, and
added a comment to types.py about StringTypes vs. basestring. --Guido]
|
|
|
|
|
|
|
|
|
| |
library. Since multiple versions can be installed simultaneously, it's
crucial that you only select libraries and header files which are compatible
with each other. Version checking is done from highest version to lowest.
Building using version 1 of Berkeley DB is disabled by default because of
the hash file bugs people keep rediscovering. It can be enabled by
uncommenting a few lines in setup.py. Closes patch 553108.
|
|
|
|
|
| |
based on comments from David Abrahams.
Added refcount information for these functions.
|
|
|
|
| |
when it can.
|
|
|
|
| |
make -s rules :-)
|
|
|
|
| |
code.InteractiveConsole to do a much better job.
|
|
|
|
|
| |
change color on hover, only those that are link sources (href
attributes).
|
|
|
|
| |
in the type documentation.
|
| |
|
|
|
|
|
|
| |
gotten from a weak reference to NULL instead of to None. This caused
the following assert() to fail (but only in 2.2 in the debug build --
I have to find a better test case). Will backport.
|
| |
|
|
|
|
| |
This closes SF bug #550777.
|
|
|
|
|
|
|
| |
Write 4 bytes for co_stacksize, etc. to prevent writing out
bad .pyc files which can cause a crash when read back in.
(I forgot that frozen needs to be updated too for the test.)
|
|
|
|
|
| |
Write 4 bytes for co_stacksize, etc. to prevent writing out
bad .pyc files which can cause a crash when read back in.
|
|
|
|
| |
Handle negative indices similar to slices.
|