Commit Graph

42929 Commits

Author SHA1 Message Date
Andrew M. Kuchling b49e53ee16 #6243: fix segfault when keyname() returns a NULL pointer.
Bug noted by Trundle, patched by Trundle and Jerry Chen.
2009-09-25 22:23:54 +00:00
Ezio Melotti a9a7611fb6 #6994: fix typo in enumerate docstring 2009-09-25 16:07:55 +00:00
Kristján Valur Jónsson 2fcd03bb77 http://bugs.python.org/issue6971
Adding the SIO_KEEPALIVE_VALS command to socket.ioctl on windows
2009-09-25 15:19:51 +00:00
Mark Dickinson 143d433896 Issue #6982: Add generated Lib/lib2to3/*.pickle files to 'make clean' target.
Thanks egreen.
2009-09-24 19:21:07 +00:00
Ezio Melotti 2fd3592e70 improved phrasing, markup and example 2009-09-23 21:36:39 +00:00
Benjamin Peterson ca66cb5ce0 fix typos/rephrase 2009-09-22 22:15:28 +00:00
Brett Cannon 2f75572f44 Fix a minor doc syntax typo. 2009-09-22 20:04:24 +00:00
Ronald Oussoren 68776dbd3c Half of the fix for issue 6957: ensure that distutils
ignores the '-isysroot' option on OSX when the
corresponding SDK is not installed.

This ensures that the user can compile extensions
on OSX 10.6 using the Python.org installer and a
default installation of Xcode.
2009-09-22 19:27:44 +00:00
Brett Cannon 6ef9fd7c97 Fix whitespace. 2009-09-22 19:13:27 +00:00
Vinay Sajip f778bec8ed Fixed a typo, and added sections on optimization and using arbitrary objects as messages. 2009-09-22 17:23:41 +00:00
Ronald Oussoren e50a9fdd2a The 'Navigation Toolbox' is not available at all for 64-bit
code, make this explicit in the C code to avoid confusing
error messages during the build.
2009-09-22 14:24:57 +00:00
Georg Brandl ac87077b37 Fix encoding name. 2009-09-22 10:55:08 +00:00
Brett Cannon 4d94743c28 When range checking was added to time.strftime() a check was placed on tm_isdst
to make sure it fell within [-1, 1] just in case someone implementing
strftime() in libc was stupid enough to assume this. Turns out, though, some
OSs (e.g. zOS) are stupid enough to use values outside of this range for time
structs created by the system itself. So instead of throwing a ValueError,
tm_isdst is now normalized before being passed to strftime().

Fixes issue #6823. Thanks Robert Shapiro for diagnosing the problem and
contributing an initial patch.
2009-09-22 00:29:48 +00:00
Antoine Pitrou 2a46658bee Issue #6236, #6348: Fix various failures in the io module under AIX
and other platforms, when using a non-gcc compiler. Patch by egreen.

In addition, I made explicit the signedness of all bitfields in the
IO library.
2009-09-21 21:17:48 +00:00
Mark Dickinson 40ee861c0a Silence MSVC compiler warnings. 2009-09-21 16:16:44 +00:00
Tarek Ziadé 0cfef2c3a4 forgot to commit a file in previous commit (r74994, issue #6954) 2009-09-21 13:49:57 +00:00
Tarek Ziadé 9977335984 #6954: Fixed crash when using DISTUTILS_DEBUG flag in Distutils. 2009-09-21 13:41:08 +00:00
Tarek Ziadé ccaf380fab improving distutils coverage 2009-09-21 13:23:35 +00:00
Tarek Ziadé 6d2db3784a improved distutils test coverage: now the DEBUG mode is covered too (will help fix the issue #6954 in py3k branch) 2009-09-21 12:19:07 +00:00
Doug Hellmann 1d18b5b929 Fix markup for external links. 2009-09-20 20:44:13 +00:00
Ronald Oussoren c66ced30be * Make it easier to build custom installers (such as a 3-way universal build)
* Upgrade bzip dependency to 1.0.5
2009-09-20 20:16:11 +00:00
Ronald Oussoren a9cfbded4b Fix typo in error message 2009-09-20 20:05:44 +00:00
Ronald Oussoren 16766d7cd6 Merge a newer version of libffi_osx, based on the
version of libffi in OSX 10.6.1.

This fixes issue6918
2009-09-20 18:54:16 +00:00
Ronald Oussoren 9f20d9d0ee Issue 6877: this patch makes it possible to link the readline extension
to the libedit emulation of the readline API on OSX 10.5 or later.

This also adds a minimal testsuite for readline to check that the
history manipuation functions have the same interface with both
C libraries.
2009-09-20 14:18:15 +00:00
Ronald Oussoren 956f4b2520 For for issue 6934: failures in postflight script in OSX installer 2009-09-20 11:19:00 +00:00
Ronald Oussoren 809073bee1 Followup for r74962 2009-09-20 10:54:07 +00:00
Ronald Oussoren 51f0633efd Fix for issue 6851: urllib.urlopen crashes in a thread on OSX 10.6 2009-09-20 10:31:22 +00:00
Ezio Melotti 4b017bbac0 #6881 - fixed wrong return type; improved the formatting 2009-09-20 07:10:39 +00:00
Georg Brandl 14a2e2f614 Add Mark Summerfield. 2009-09-19 13:20:49 +00:00
Georg Brandl c231d31c21 Add Doug. 2009-09-19 13:13:56 +00:00
Georg Brandl f4da666880 Fix references to threading.enumerate(). 2009-09-19 12:04:16 +00:00
Georg Brandl 592c58d356 #6946: fix duplicate index entries for datetime classes. 2009-09-19 10:42:34 +00:00
Thomas Heller d25fb2ff1f Remove unused variable and static function to fix compiler warnings. 2009-09-19 10:04:54 +00:00
Georg Brandl 52c1794b98 Update bug tracker reference. 2009-09-19 08:43:16 +00:00
Georg Brandl ab849891ef #6944: the argument to PyArg_ParseTuple should be a tuple, otherwise a SystemError is set. Also clean up another usage of PyArg_ParseTuple. 2009-09-19 07:35:07 +00:00
Benjamin Peterson 9db5540ec4 typo 2009-09-18 21:47:27 +00:00
Benjamin Peterson dc782b55f2 backport keyword argument support for bytearray.decode 2009-09-18 21:46:21 +00:00
Georg Brandl 579a358e61 #6930: clarify description about byteorder handling in UTF decoder routines. 2009-09-18 21:35:59 +00:00
Georg Brandl 54967d994a #6925: rewrite docs for locals() and vars() a bit. 2009-09-18 21:21:41 +00:00
Benjamin Peterson 332d721750 add keyword arguments support to str/unicode encode and decode #6300 2009-09-18 21:14:55 +00:00
Mark Dickinson 2985dbb526 Use skipUnless to skip math module tests on non-IEEE 754 platforms. 2009-09-18 21:01:50 +00:00
Thomas Heller 6be522bfc2 Issue #4606: Passing 'None' if ctypes argtype is set to POINTER(...)
does now always result in NULL.
2009-09-18 20:05:44 +00:00
Thomas Heller 7a352c0ed8 Issue #5042: Structure sub-subclass does now initialize correctly with
base class positional arguments.
2009-09-18 18:55:17 +00:00
Mark Dickinson db9925a56b Add Gawain Bolton to Misc/ACKS for his work on base 10 integer -> string optimizations. 2009-09-18 18:35:42 +00:00
Georg Brandl 195261f823 Optimize optimization and fix method name in docstring. 2009-09-18 16:19:56 +00:00
Georg Brandl b019951875 Use str.format() to fix beginner's mistake with %-style string formatting. 2009-09-18 13:57:11 +00:00
Georg Brandl c40e60e5e5 #6938: "ident" is always a string, so use a format code which works. 2009-09-18 09:18:27 +00:00
Georg Brandl 097f70881a #6905: use better exception messages in inspect when the argument is of the wrong type. 2009-09-18 09:14:52 +00:00
Georg Brandl 4d94d31b6d #6936: for interactive use, quit() is just fine. 2009-09-18 07:22:41 +00:00
Benjamin Peterson 4fe03350b5 use macros 2009-09-17 21:33:46 +00:00