Commit Graph

42973 Commits

Author SHA1 Message Date
Andrew M. Kuchling f6e3d7d585 Document 'skip' parameter to constructor 2009-10-05 21:25:03 +00:00
Andrew M. Kuchling f5852f59d9 Fix narkup 2009-10-05 21:24:35 +00:00
Andrew M. Kuchling 3fab04078d Wording fix 2009-10-05 21:24:20 +00:00
Amaury Forgeot d'Arc 3de4647022 Fix compilation warning on Windows, where size_t is 32bit but file offsets are 64bit. 2009-10-05 20:18:05 +00:00
R. David Murray abe3d3ec85 Issue #7058: Added save/restore for argv and os.environ to runtest_inner
in regrtest, with warnings if the called test modifies them.
2009-10-05 17:03:09 +00:00
Mark Dickinson 245d915e3e Issue #7042: Fix test_signal failure on OS X 10.6 64-bit builds
(and also, with luck, on the x86 FreeBSD buildbot), by making sure
that some user time is used in test_itimer_virtual.
2009-10-04 18:38:39 +00:00
Benjamin Peterson 82d31e9b20 test logging 2009-10-04 13:38:38 +00:00
Benjamin Peterson 7adbb5a35d #7050 fix a SystemError when using tuple unpacking and augmented assignment 2009-10-03 20:23:24 +00:00
Tarek Ziadé 3b34dd871a now uses the right exception type 2009-10-03 14:52:33 +00:00
Mark Dickinson 530df33eac Issue #7028: Add note to hex() builtin docs pointing to float.hex(). 2009-10-03 10:14:34 +00:00
Tarek Ziadé f638486cf0 removing the last remaning apply() calls 2009-10-03 00:07:35 +00:00
Tarek Ziadé 1b48671ef1 #6516 added owner/group support for tarfiles in Distutils 2009-10-02 23:49:48 +00:00
Georg Brandl 12fafe6936 Add NEWS entry for r75180. 2009-10-01 21:02:39 +00:00
Georg Brandl f895cf5d33 #7031: Add TestCase.assertIsInstance and negated method. 2009-10-01 20:59:31 +00:00
Georg Brandl 46cc46af07 Fix some weird whitespace and two other overlong lines. 2009-10-01 20:11:14 +00:00
Antoine Pitrou c9062ca308 Sync the 2.x `io` docs with py3k, with a small note as to the distinction
between bytes streams and text streams.
2009-10-01 17:08:03 +00:00
Senthil Kumaran dc61ec35ec That's self.env.unset(k) and not env.unset(k) I was heading back to the problem. 2009-10-01 01:50:13 +00:00
Senthil Kumaran 5a43e86542 using dict.unset(k) instead of del dict[k]. consistent with release26-maint 2009-10-01 01:19:18 +00:00
Senthil Kumaran 91abd6e68d Fix for issue7026 test_urllib: unsetting missing 'env' variable. 2009-10-01 01:07:03 +00:00
Mark Dickinson 8ca7482cc9 Fix buggy accuracy test 2009-09-30 16:58:01 +00:00
Gregory P. Smith 657024cd26 Mention issue6972 in extractall docs about overwriting things outside of
the supplied path.
2009-09-29 21:56:31 +00:00
Ronald Oussoren 209d4c3151 Fix for issue6957: ensure that the OSX installer
installs a version of Python that can build
extensions on OSX 10.6.
2009-09-29 19:34:13 +00:00
Philip Jenvey 8b9020458a #5329: fix os.popen* regression from 2.5: don't execute commands as a sequence
through the shell. also document the correct subprocess replacement for this
case
patch from Jean-Paul Calderone and Jani Hakala
2009-09-29 19:10:15 +00:00
Mark Dickinson 7e7a3ec901 Issue #7019: Unmarshalling of bad long data could produce unnormalized
PyLongs.  Raise ValueError instead.
2009-09-29 19:01:06 +00:00
Raymond Hettinger 13305f681b Issue 7008: Better document str.title and show how to work around the apostrophe problem. 2009-09-29 18:53:24 +00:00
Antoine Pitrou 7248178cd9 Issue #6790: Make it possible again to pass an `array.array` to
`httplib.HTTPConnection.send`. Patch by Kirk McDonald.
2009-09-29 17:48:18 +00:00
Ronald Oussoren 9ebd242fbb * Update the Mac/README file. Add the list of OSX-specific configure options
to that README file with some explanation.

* Be more strict in the configure script: complain loudly when the user has
  specified invalid combinations of OSX-specific configure arguments.

  The error message refers to the Mac/README file for more information.
2009-09-29 13:00:44 +00:00
Vinay Sajip f70867aabc Issue #7014: logging: Improved IronPython 2.6 compatibility. 2009-09-29 07:08:54 +00:00
Philip Jenvey dbf3b258e7 #6990: clear threading.local's key only after its thread state is removed:
fixes local subclasses leaving old state around after a ref cycle GC which
could be recycled by new locals
2009-09-29 04:32:44 +00:00
Mark Dickinson b93fff0a57 Issue #3366: Add gamma function to math module.
(lgamma, erf and erfc to follow).
2009-09-28 18:54:55 +00:00
R. David Murray ddfb6cdc2b Applying patches backported from 3.1, by Gregor Lingl. 2009-09-28 18:29:28 +00:00
R. David Murray 97f5ff37ff Prevent test_bad_address failure when a domain in the dns search
path implements a '*' default rule.  Also update comment with
a more complete explanation of the difficulties inherent in
the test.
2009-09-28 16:57:45 +00:00
Mark Dickinson 71adc9328d Style/consistency/nano-optimization nit: replace occurrences of
(high_bits << PyLong_SHIFT) + low_bits with
  (high_bits << PyLong_SHIFT) | low_bits
in Objects/longobject.c.  Motivation:
 - shouldn't unnecessarily mix bit ops with arithmetic ops (style)
 - this pattern should be spelt the same way thoughout (consistency)
 - it's very very very slightly faster: no need to worry about
   carries to the high digit (nano-optimization).
2009-09-28 16:52:40 +00:00
Kristján Valur Jónsson b331802f97 http://bugs.python.org/issue6836
A missing 'const' wasn't detected by Visual Studio.
2009-09-28 15:56:25 +00:00
Kristján Valur Jónsson 02ca57ce4c http://bugs.python.org/issue6836
The debug memory api now keeps track of which external API (PyMem_* or PyObject_*) was used to allocate each block and treats any API violation as an error.  Added separate _PyMem_DebugMalloc functions for the Py_Mem API instead of having it use the _PyObject_DebugMalloc functions.
2009-09-28 13:12:38 +00:00
Kristján Valur Jónsson d12f86ce96 http://bugs.python.org/issue6836
A memory block allocated with one API was being handed over to an object that used another API to release it.
2009-09-28 13:08:48 +00:00
Skip Montanaro b4fd4d37a1 Patch from Thomas Barr so that csv.Sniffer will set doublequote property.
Closes issue 6606.
2009-09-28 02:12:27 +00:00
Michael Foord 17565e5b7b Documentation improvement for load_tests protocol in unittest. Issue 6515. 2009-09-27 20:08:23 +00:00
Michael Foord d6aabcfe2f Test creation moved from TestProgram.parseArgs to TestProgram.createTests exclusively. Issue 6956. 2009-09-27 19:15:41 +00:00
Mark Dickinson 716a9ccd3d Eliminate unnecessary get_wrapped_(u)long defines in struct module. 2009-09-27 16:39:28 +00:00
Mark Dickinson 4b9d473d0a Issue #6713: Improve decimal int -> string conversions. Thanks Gawain
Bolton for the suggestion and original patches.
2009-09-27 16:05:21 +00:00
Vinay Sajip 4780c9a0e0 Tidied up name of parameter in StreamHandler 2009-09-26 14:53:32 +00:00
Ezio Melotti 9aac2455ab #7000: document "sep" in capwords. Add a few tests 2009-09-26 11:20:53 +00:00
Benjamin Peterson afdbe3d661 comment out ugly xxx 2009-09-26 02:57:59 +00:00
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