| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
- various minor cleanups and updates.
|
|
|
|
|
| |
a Python extension, so that the curses_panel extension works.
- minor compiler switch tweak.
|
|
|
|
|
|
|
|
|
|
| |
isn't checked, and it *is* possible that a very large alloca() call is
made, e.g. when a large registry value is being read. I don't know if
alloca() in that case returns NULL or returns a pointer pointing outside
the stack, and I don't want to know -- I've simply replaced all calls to
alloca() with either PyMem_Malloc() or PyString_FromStringAndSize(NULL,)
as appropriate, followed by a size check. This addresses SF buf 851056.
Will backport to 2.3 next.
|
| |
|
|
|
|
| |
(From SF patch #810751)
|
|
|
|
|
|
|
|
|
| |
change the version number is no longer required.
Instead, a make_versioninfo.exe is compiled, which spits out an
include file for python_nt.rc.
Will backport to 2.3
|
|
|
|
| |
Will backport to release23-maint.
|
| |
|
| |
|
| |
|
|
|
|
| |
during the day tomorrow, so doing it earlier than I'd like.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- more clean up of the generated import library definiton (.DEF file)
following checking of patch 770521, and tightening of the sed regexps.
- use -O3 even with gcc 2.8.1 - worth nearly 10% with 2.3; worth
nothing with 2.2.x.
- clean up a couple of whitespace issues introduced by a cut'n'paste.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- separate the building of the core from the wrapper executables and the
external modules (.PYDs), based on the Py_BUILD_CORE define;
- clean up the generated import library definiton (.DEF file) to remove
references to a number of non-static symbols that aren't part of the
Python API and which shouldn't be exported by the core DLL;
- compile the release build with -fomit-frame-pointer, for a small
performance gain;
- make "make clean" remove byte compiled Python library files.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
the Python DLL. this slightly improves performance; reduces
fragmentation of address spaces and slightly reduces memory footprint.
|
| |
|
|
|
|
|
|
| |
reorganise modules, so that most standard extensions are built into
the Python DLL. this slightly improves performance; reduces
fragmentation of address spaces and slightly reduces memory footprint.
|
|
|
|
| |
so make it static.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- restructure build for modules now in Python DLL
README.os2emx
- clean out old cruft no longer appropriate now that EMX port builds
from CVS
- reflect move of modules into core DLL
- add section on building from source
|
|
|
|
|
|
|
|
|
|
|
| |
- add _csv module to the build list
- various cleanups
config.c:
- various cleanups
pyconfig.h:
- various cleanups
|
| |
|
| |
|
| |
|
|
|
|
| |
obviously overlaps w/ datetime (but may -- no time for more here now).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Note this code is not used by the core on Win32, but in a block used only
by Windows CE.
|
| |
|
|
|
|
|
|
|
|
|
| |
PC/python_nt.rc sets up the DLL version resource (displayed when you
right-click on the DLL and select Properties).
PCbuld/python20.wse sets up the installer version resource (displayed
when you right-click on the installer .exe and select Properties). Turns
out this one hadn't been updated since 2001 <frown>!
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- add new modules (zipimport, datetime, _random, bz2, _symtable)
- build pyexpat with expat sources from Python distribution
- regression test with and without compiled bytecode
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- new import hooks in import.c, exposed in the sys module
- new module called 'zipimport'
- various changes to allow bootstrapping from zip files
I hope I didn't break the Windows build (or anything else for that
matter), but then again, it's been sitting on sf long enough...
Regarding the latest discussions on python-dev: zipimport sets
pkg.__path__ as specified in PEP 273, and likewise, sys.path item such as
/path/to/Archive.zip/subdir/ are supported again.
|
|
|
|
|
| |
into the core DLL, since it's not much code and lots of stuff uses
it (e.g., try getting a tempfile name without it).
|
| |
|
|
|
|
|
|
|
| |
to a constant in the 'win32con' module, but this constant is also
defined in the _winreg module itself.
Bugfix candidate.
|
|
|
|
|
| |
to others to argue about how to build it on other platforms (on Windows
it's in its own DLL).
|