| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Schroeder.
This was a fair amount of rework of the patch. Refactored test_fork1 so it
could be reused by the new tests for wait3/4. Also made them into new style
unittests (derive from unittest.TestCase).
|
|
|
|
| |
build for the current CPU.
|
| |
|
| |
|
| |
|
|
|
|
| |
#811160 in a different way.
|
| |
|
|
|
|
|
|
| |
configure would break checking curses.h.
Will backport.
|
|
|
|
| |
Will backport.
|
| |
|
|
|
|
|
|
|
|
|
| |
This inappropriately disabled some capabilities which exist.
Now test for readline in -lreadline, if not found there, try it
in -ltermcap only if not in -lreadline. If both libraries are
required, there will need to be more work, but I'm not sure
under what conditions both libraries would be required.
|
| |
|
|
|
|
| |
Also, stop determining Unicode sizes with PyString_GET_SIZE.
|
| |
|
| |
|
|
|
|
|
| |
(calling ftell(stdin) doesn't seem defined). So we won't test errors
from ftell unless we can do it portably.
|
|
|
|
|
| |
ftell(3) on BSD doesn't set errno even for ttys and returns useless
values.
|
|
|
|
|
| |
Also set _XOPEN_SOURCE to 500.
Will backport to 2.4.
|
|
|
|
| |
add st_gen, st_birthtime.
|
|
|
|
| |
Backported to 2.4.
|
|
|
|
|
| |
when the member is available on the platform. (Contributed by
Diego Petteno)
|
|
|
|
|
|
|
|
|
|
|
|
| |
POSIX is enabled. This prevents the toolbox glue, all of Carbon,
and various other non-POSIX features from compiling. The POSIX
symbols are still used by default, so turning off the #define
doesn't hurt.
Additionally, linker flags have changed for Darwin 8, and are
different for Darwin 8/gcc4 (default) and Darwin 8/gcc3.3.
Approved by Anthony
|
| |
|
|
|
|
|
|
| |
sanity checks on tzname if HAVE_TZNAME defined.
Closes bug #1096244. Thanks Gregory Bond.
|
| |
|
|
|
|
|
|
|
| |
MacOSX: if we cannot use -undefined dynamic_lookup (such as on 10.2 or earlier)
we link extension directly against the dynamic library in the framework in
stead of against the framework. This will fix building extensions for 2.3
after 2.4 has been installed too.
|
|
|
|
| |
to an empty value and distutils will get confused lateron.
|
|
|
|
|
|
|
|
|
|
| |
to make using "-undefined dynamic_lookup" for linking extensions more
automatic on 10.3 and later. So if we're on that platform and
MACOSX_DEPLOYMENT_TARGET is not set we now set it to the current OSX
version during configure. Additionally, distutils will pick up the
configure-time value by default.
Will backport.
|
| |
|
|
|
|
| |
Fix term.h check so that HAVE_TERM_H is actually generated.
|
|
|
|
|
| |
the 'if' statement that performed the test. Not all platforms run the test and
on those tests configure outputted a rogue 'no' line.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Contributed by Bob Ippolito.)
This patch trims down the Python core on Darwin by making it
independent of CoreFoundation and CoreServices. It does this by:
Changed linker flags in configure/configure.in
Removed the unused PyMac_GetAppletScriptFile
Moved the implementation of PyMac_StrError to the MacOS module
Moved the implementation of PyMac_GetFullPathname to the
Carbon.File module
|
|
|
|
| |
(Submitted by James William Pye, Patch revised by Jiwon Seo)
|
|
|
|
| |
detection to configure &c.
|
|
|
|
| |
Backported to 2.3.
|
|
|
|
| |
Will backport to 2.3.
|
| |
|
|
|
|
| |
AIX 5.1.
|
|
|
|
|
|
|
|
|
|
| |
because GNU/k*BSD uses gnu pth to provide pthreads, but will also happen on any
system that does the same.
python fails to build because it doesn't detect gnu pth in pthread
emulation. See C comments in patch for details.
patch taken from http://bugs.debian.org/264315
|
|
|
|
| |
warning from GCC. Closes patch #1006629.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
discussed recently in python-dev:
In _locale module:
- bind_textdomain_codeset() binding
In gettext module:
- bind_textdomain_codeset() function
- lgettext(), lngettext(), ldgettext(), ldngettext(),
which return translated strings encoded in
preferred system encoding, if
bind_textdomain_codeset() was not used.
- Added equivalent functionality in translate()
function and catalog classes.
Every change was also documented.
|
|
|
|
| |
$PYTHONFRAMEWORK.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[ 960406 ] unblock signals in threads
although the changes do not correspond exactly to any patch attached to
that report.
Non-main threads no longer have all signals masked.
A different interface to readline is used.
The handling of signals inside calls to PyOS_Readline is now rather
different.
These changes are all a bit scary! Review and cross-platform testing
much appreciated.
|
| |
|
| |
|
|
|
|
| |
and modules by configuring with the --enable-profiling flag.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of hard linking against the framework).
If $MACOSX_DEPLOYMENT_TARGET is set, and >= 10.3, during configure we
setup extensions to link with dynamic lookup. We also record the
value in the Makefile.
Distutils checks whether a value for MACOSX_DEPLOYMENT_TARGET was
recorded in the Makefile, and if it was insists that the current
value matches.
This is only a partial fix because it only applies to 2.4, and the
"two python problem" exists with Python 2.3 shipped with MacOSX 10.3,
which we have no influence over.
|