| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Added test for m.groups() with default.
Added a few prints announcing various tests in verbose mode.
|
| |
|
|
|
|
|
| |
O_getattr(): Added read-only access to the closed attribute, based on comment
from Michael Scharf <Michael.Scharf@Rhein-Neckar.de>.
|
| |
|
|
|
|
| |
before JPython 1.0 came out.)
|
|
|
|
|
|
|
| |
Sparc Solaris 2.6 (fully patched!) that I don't want to dig into, but
which I suspect is a bug in the multithreaded malloc library that only
shows up when run on a multiprocessor. (The program wasn't using
threads, it was just using the multithreaded C library.)
|
|
|
|
|
|
|
|
|
|
| |
In the bbox method of Group (Canvas.py file), you should read
return self.canvas._getints(self._do('bbox'))
instead of
return self._getints(self._do('bbox'))
|
| |
|
|
|
|
|
| |
extensions, and include the "." in ".pyc". Still need to get
_tkinter.c:Tkapp_New() to use baseName....
|
|
|
|
|
|
|
|
|
| |
low-level Python exit handler. This can attempt to call Python code
at a point that the interpreter and thread state have already been
destroyed, causing a Bus Error. Given the intended use of
Py_AtExit(), I'm not convinced that it's a good idea to call it
earlier during Python's finalization sequence... (Although this is
the only use for it in the entire distribution.)
|
|
|
|
| |
by Carey Evans <c.evans@clear.net.nz>, for picky mail servers.
|
|
|
|
|
| |
can be deleted, but that's good enough for things like a "Windows"
menu with the dynamic list of open windows at the end of the menu.
|
|
|
|
| |
(which was missing, for some reason).
|
|
|
|
|
|
| |
create the preferences file. This is so that frozen programs don't
interfere with an existing Python installation, or leave turds in the
Preferences folder.
|
|
|
|
|
|
|
|
|
| |
There's also new support for importing code fragments: if a file on
sys.path contains a PYD resource with resourcename equal to the name
of the module to be imported this PYD resource should contain a
(pascal) string with the name of a code fragment to load. This allows
freezing Python programs without access to source or a development
environment.
|
| |
|
|
|
|
| |
don't try to open/create the preferences file.
|
|
|
|
|
|
| |
faster (using PyList_GetSlice()). Also added a test for a NULL
argument, as with PySequence_Tuple(). (Hmm... Better names for these
two would be PyList_FromSequence() and PyTuple_FromSequence(). Oh well.)
|
|
|
|
|
|
|
| |
(1) If a sequence S is shorter than len(S) indicated, don't fail --
just use the shorter size. (I.e, len(S) is just a hint.)
(2) Implement the special case map(None, S) as list(S) -- it's faster.
|
|
|
|
|
|
|
|
|
| |
"indefinite length" sequences. These should still have a length, but
the length is only used as a hint -- the actual length of the sequence
is determined by the item that raises IndexError, which may be either
smaller or larger than what len() returns. (This is a novelty; map(),
filter() and reduce() only allow the actual length to be larger than
what len() returns, not shorter. I'll fix that shortly.)
|
|
|
|
|
|
| |
item) as parameter and returns a handle suitable for passing to
SetDialogItem as a user-item redraw routine. Note that you can
only make one of these, for now.
|
| |
|
|
|
|
| |
macros for more efficient access to the fields.
|
|
|
|
| |
to the .h file and add macros there for inlined access to the fields.
|
|
|
|
|
|
|
| |
(2) Made the test script a bit fancier -- you can now use it to run
arbitrary scripts in restricted mode, and it will do the right thing.
(The interactive mode is still pretty lame; should integrate this with
code.interact().)
|
| |
|
|
|
|
|
| |
large letter at the top of each index section with at least the first entry
for that letter.
|
| |
|
|
|
|
| |
callable objects than regular Pythonm functions as their im_func.
|
|
|
|
| |
inconsistent.
|
|
|
|
| |
changing __dict__ *or* __bases__.
|
| |
|
| |
|
| |
|
|
|
|
| |
frozendllmain_c at the right place.
|
|
|
|
| |
parse_endtag() was restructured in parse_endtag() and finish_endtag().
|
| |
|
| |
|
| |
|
|
|
|
| |
which is now Py_BuildValue().
|
| |
|
|
|
|
| |
after a return).
|
|
|
|
| |
after a return or goto).
|
|
|
|
| |
after a return).
|
|
|
|
|
| |
(unreachable break after a return) but one was a real bug:
ReadFrames() was getting a bogus framecount because of a missing '&'.
|
|
|
|
|
|
|
|
|
| |
must be enabled here, otherwise the errno we set on overflows is not
the errno that's being read by compile.c. Wonder how many other files
that do their own "#include config.h" need this too :-(
(Because of the structure of autoconf, it's not so simple to get this
into config.h...)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(1) reorder the tests for -Olimit 1500 and -OPT:Olimit=0 so that the
latter test is performed first, and if it works, the former test is
skipped. This should get rid of the problem that the new SGI
compilers accept both but emit a warning about -Olimit 1500.
(2) The DGUX hack was somehow split in two by the Olimit tests,
probably as the result of a non-context diff. Moved this back
together again, after the Olimit tests.
|
| |
|
|
|
|
| |
change it to iterate over sys.argv[1:]. Suggestion by Gerry Wiener.
|