| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
name as n'. By doing some twists and turns, "as" is not a reserved word.
There is a slight change in semantics for 'from module import name' (it will
now honour the 'global' keyword) but only in cases that are explicitly
undocumented.
|
|
|
|
|
|
|
|
| |
is no __getslice__ available. Also does the same for C extension types.
Includes rudimentary documentation (it could use a cross reference to the
section on slice objects, I couldn't figure out how to do that) and a test
suite for all Python __hooks__ I could think of, including the new
behaviour.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
code; it is not sufficiently readable now that it in written in C, and
is less likely to be available to end users.
|
|
|
|
| |
Document opcodes added to support extended call syntax.
|
| |
|
| |
|
|
|
|
| |
classes for other suite packages (StdSuite is slightly magical, in that it is the gensuitemodule default base package).
|
| |
|
|
|
|
| |
imports everything, it knows about the app signature, suites can extend standard suites, and lots more. Automatically finding declarations in other suites TBD.
|
|
|
|
| |
getpeername() not working in a previous release of GUSI, but it has been fixed).
|
| |
|
| |
|
|
|
|
| |
directory.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Comment out the unwritten XML section
mymalloc.h -> pymem.h
|
|
|
|
|
|
| |
shutdown time, but CVS log entry for revision 2.45 explains why this
is so. Simply include a comment so we don't have to re-figure it out
again 5 years from now.
|
|
|
|
| |
created from the "big"/"little" constant needs to be decref'd.
|
|
|
|
|
|
|
|
|
| |
(64-bit AIX) This is because the RECURSION_LIMIT is too low. This patch lowers
to recusion limit to 7500 such that the recusion check fires before a segfault.
Fredrik suggested/approved the fix in private email, modulo sre's recusion
limit checking no being necessary when PyOS_CheckStack is implemented for
Windows.
|
|
|
|
| |
Further examples of list comprehensions.
|
| |
|
|
|
|
|
|
|
| |
First, the allocated buffer was never freed after using it to create
the PyString object. Second, it was possible that have_filename would
be false (meaning that filename was not a PyString object), but that
the code would still try to PyString_GET_SIZE() it.
|
|
|
|
|
| |
This closes patch:
http://sourceforge.net/patch/index.php?func=detailpatch&patch_id=101176&group_id=5470
|
| |
|
| |
|
| |
|
|
|
|
| |
of the init_socket() function. This module is now *always* _socket.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
socket.py is used for all platforms, and it defines the additional
classes and alternate socket() function for Windows and BeOS systems.
The plat-*/socket.py files are no longer needed, since there is a
shared socket.py.
make_fqdn() is provided, but I decided to call it getfqdn() to be
consistent with the other names in the socket module. Since it is
really a "get" operation and does not create a new name, this is
the right name to give it.
Move the docstring here from the _socket module.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch makes it possible to use gnu-win32 and lcc-win32
(http://www.cs.virginia.edu/~lcc-win32/) compilers to build
extension modules. It adds compiler specific sections to
PC/config.h .
It also extends the Borland compiler section. This has then two parts,
one for Win32 and the other one for the rest. The Win32 part
should be almost complete.
*** This patch is not intended to make it possible to compile
Python with these compilers, it is intended to be able to
use these compilers to build extension modules. ****
|
|
|
|
|
|
| |
'helo' and 'ehlo' message, and exports the 'make_fqdn' function. This
function should be moved to socket.py, if that module ever gets a Python
wrapper.
|
|
|
|
|
|
|
|
|
| |
Minor updates for BeOS R5.
Use of OSError in test.test_fork1 changed to TestSkipped, with corresponding
change in BeOS/README (by Fred).
This closes SourceForge patch #100978.
|
| |
|
|
|
|
|
| |
Update the grammar to reflect the most recent changes to list
comprehensions.
|
|
|
|
|
| |
Adjusted some markup for consistency with the rest of the documentation
and creation of the proper index entries.
|
|
|
|
|
|
| |
in binascii.c (only on platforms with signed chars -- although Py_CHARMASK
is documented as returning an int, it only does so on platforms with
signed chars).
|
|
|
|
|
|
|
|
| |
returning a pointer to the start of the file's "base" name;
similar to os.path.basename().
SyntaxError__str__(): Use my_basename() to keep the length of the
file name included in the exception message short.
|
|
|
|
| |
my last set of changes.
|
|
|
|
| |
This closes SourceForge bug #110628 (Jitterbug PR#278).
|
|
|
|
|
|
|
|
|
|
| |
filename and lineno attributes, but do not mask the SyntaxError if we
fail.
This is part of what is needed to close SoruceForge bug #110628
(Jitterbug PR#278).
Wrap a long line to fit in under 80 columns.
|
|
|
|
|
|
|
|
| |
filename and lineno attributes, but do not mask the SyntaxError if we
fail.
This is part of what is needed to close SoruceForge bug #110628
(Jitterbug PR#278).
|
|
|
|
|
|
|
|
|
| |
than depending on the site that raises the exception. If the
filename and lineno attributes are set on the exception object,
use them to augment the message displayed.
This is part of what is needed to close SoruceForge bug #110628
(Jitterbug PR#278).
|
| |
|
|
|
|
| |
'--source-only' options.
|