| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
change _PyEval_SliceIndex to round massively negative longs up to
-INT_MAX, instead of 0 but botched it. Get it right.
Thx to Armin for the report.
|
|
|
|
| |
a traceback.
|
|
|
|
|
|
|
|
|
|
| |
* Changed variable name from 'list' to 'flist'.
* Replaced "while 1" with "while True".
* Replaced if/elif/elif/elif structure with a shorter and
faster dispatch dictionary that maps attrs to methods.
* Simplified and sped comparison logic by using
ifilter, ifilterfalse, and dict.fromkeys.
* Used True and False rather than 1 and 0.
|
|
|
|
|
|
|
| |
* Replaced "while 1" with "while True"
* Rewrote read() and readline() for clarity and speed.
* Replaced variable 'list' with 'hlist'
* Used augmented assignment in two places.
|
|
|
|
|
| |
beyond Mac OS and Darwin. I'm not even sure they should be run on
Darwin, but I'll let someone more knowledgable on that tell us.
|
| |
|
|
|
|
| |
Fix errors in the list of setup() arguments
|
|
|
|
|
|
|
| |
specified with an absolute path, the object file is also
written to an absolute path. The patch drops the drive and
leading '/' from the source path, so a path like /path/to/foo.c
results in an object file like build/temp.i686linux/path/to/foo.o.
|
|
|
|
|
| |
* List/Tuple checkexact is faster for the common case.
* Testing for Py_True and Py_False can be inlined for faster looping.
|
| |
|
|
|
|
|
| |
cases increasing coverage in unicodedata.c from 87% to 95%
(when the normalization tests are run). From SF patch #662807.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
create a temporary file. This fixes #688011.
Got rid of the install() method in macresource, and replaced it with
a resource_filename() method which will optionally decode a given resourcefile
(which may be applesingle-encoded) and return the real resourcefile.
Use this new method in buildtools to copy the correct resource file to
the bundle. This fixes #688007.
|
|
|
|
| |
is now in buildtools.
|
|
|
|
|
| |
os.listdir() may now return unicode strings on platforms that set
Py_FileSystemDefaultEncoding.
|
| |
|
|
|
|
|
| |
- tweaked the help text a little.
(Jack: up to you to change your client code.)
|
| |
|
|
|
|
|
|
| |
import warnings.py _after_ site.py has run. This ensures that site.py
is again the first .py to be imported, giving it back full control over
sys.path.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Replaced bootstrap shell script with Python script. This means
standalone apps built with bundlebuilder will not work on MacOS < 10.1,
since we depend (again) on an installed Python.
- Add a hack to set sys.executable; the bootstrap script does os.execve()
with an argv[0] that's different from the actual Python executable
(it has to match the CFBundleExecutable entry in the Info.plist to make
the app work both from the Finder and the command line, and it has to be
the bootstrap script), yet a proper sys.executable is needed to spawn
auxiliary processes.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
of the form file:/path/to/file don't work whereas file:///path/to/file
works fine. We convert the former to the latter.
|
|
|
|
|
| |
building distutils extension modules also works if you've only done
an altinstall. Fixes bug #677293.
|
| |
|
|
|
|
|
|
| |
called python.exe but actually pass it from the main Makefile to
Mac/OSX/Makefile. This makes framework builds work again on case
sensitive filesystems. Fixes bug #677753.
|
|
|
|
|
|
|
|
|
| |
(see SF bug #690309) and raise ImportErrors instead of
RuntimeErrors, so building Python continues even
if importing iconv_codecs fails.
This is a temporary fix until we get proper configure
support for "broken" iconv implementations.
|
| |
|
| |
|
|
|
|
| |
filename as the source, but in Contents/Resources in the app bundle).
|
|
|
|
| |
into dst in the bundle. The Python API already had this functionality
|
| |
|
|
|
|
| |
os.popen(). Fixes #692222.
|
|
|
|
|
| |
is found if you are running fink, but the module doesn't work. For now
I disabled building iconv_codec on darwin.
|
|
|
|
| |
if the include files cannot be found.
|
| |
|
| |
|
|
|
|
| |
This improves speed by about 5.6% for me.
|
|
|
|
|
|
|
|
|
| |
The problem is in sre_compile.py: the call to
_compile_charset near the end of _compile_info forgets to
pass in the flags, so that the info charset is not compiled
with re.U. (The info charset is used when searching to find
the first character at which a match could start; it is not
generated for patterns beginning with a repeat like '\w{1}'.)
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Need to make sure that preprocessor directives start in first column.
This means we can't indent code which has preprocessor directives,
nor have a space between [ #include for example.
|
|
|
|
|
|
|
|
|
| |
packages can check that extension modules are built for the right type
of python. Current values can be static, framework, shared and cfm (for
completeness, for MacPyton-OS9).
Closes bug #691889. The reporter suggests backporting this to 2.2.3
and I think I agree.
|