Thomas Heller
864cc6703a
Fix issue5504: ctypes does now work with systems where mmap can't be
...
PROT_WRITE and PROT_EXEC.
2010-08-08 17:58:53 +00:00
Mark Dickinson
93d768d632
Remove unused import.
2010-08-08 17:12:46 +00:00
Benjamin Peterson
4e7f285252
remove dead code #9292
2010-08-08 16:54:58 +00:00
Florent Xicluna
37d3d9aa96
Add test case for the HTTPResponse being an iterable. Follow-up of issue #4608 .
2010-08-08 16:25:27 +00:00
Tim Golden
e3f76168a9
Issue #2304 : Add additional quotes when using cmd shell on Windows. Original patch from Gabriel Genellina
2010-08-08 16:17:48 +00:00
Florent Xicluna
419e384601
Use unittest specific methods for some urllib test cases. And replace urllib2 with urllib.request in comments.
2010-08-08 16:16:07 +00:00
Benjamin Peterson
1f594ad424
use same quoting as the rest of the file
2010-08-08 13:17:07 +00:00
Senthil Kumaran
c41e1fad49
Add a news entry for Issue8280.
2010-08-08 11:50:22 +00:00
Senthil Kumaran
d95cc75483
Fix Issue8280 - urllib2's Request method will remove fragements in the url.
...
This is how it should work,wget and curl work like this way too. Old behavior was wrong.
2010-08-08 11:27:53 +00:00
Tim Golden
ad537f23e2
Issue #3210 : Revert C module changes and apply patch from Hirokazu Yamamoto instead
2010-08-08 11:18:16 +00:00
Raymond Hettinger
afdeca980d
Issue #4570 : Clean-up tutorial example
2010-08-08 01:30:45 +00:00
Raymond Hettinger
d331ce9e66
Issue #9507 : Named tuple repr will now automatically display the right
...
name in a tuple subclass.
2010-08-08 01:13:42 +00:00
Raymond Hettinger
a6b76ba52e
Improve readability of collections docs by adding a summary table
...
at the top and by list concrete classes before abstract base classes.
2010-08-08 00:29:08 +00:00
Benjamin Peterson
a09fabc14b
set svn:eol-style
2010-08-08 00:04:26 +00:00
Raymond Hettinger
648e725712
Fix typo
2010-08-07 23:37:37 +00:00
Raymond Hettinger
0e833c3227
Document implementation notes for priority queues
2010-08-07 23:31:27 +00:00
Benjamin Peterson
fa45076cbd
kill outdated comment
2010-08-07 21:32:12 +00:00
Raymond Hettinger
769b6d3009
Clean-up docstring in examples.
2010-08-07 21:31:55 +00:00
Victor Stinner
0a3ddad666
Issue #9425 : Create run_file() subfunction
...
* Call Py_MakePendingCalls() before converting the filename from
wchar_t* to char*
* Use PyUnicode_AsUTF8String() instead of _PyUnicode_AsString()
2010-08-07 16:34:25 +00:00
Mark Dickinson
af43e9a288
Issue #8433 : Fix test_curses failure for platforms with recent versions of ncurses.
2010-08-07 12:33:36 +00:00
Victor Stinner
a62207c584
Issue #9425 : Create run_command() subfunction
...
Use PyUnicode_AsUTF8String() instead of _PyUnicode_AsString()
2010-08-07 10:57:17 +00:00
Victor Stinner
6c6f851eae
Issue #9425 : skip tests if a filename is not encodable
2010-08-07 10:09:35 +00:00
Raymond Hettinger
87c9d6cf9c
Improve the docs for bisect to cover common searching tasks.
2010-08-07 07:36:55 +00:00
Raymond Hettinger
1b66996281
Fix nit (sentinel on lhs of comparison).
2010-08-07 05:54:08 +00:00
Raymond Hettinger
08d01eedef
Add partition recipe to itertools docs.
2010-08-07 05:36:53 +00:00
Raymond Hettinger
e9499aef0a
Fix markup
2010-08-07 04:19:49 +00:00
Brian Curtin
42143562c2
Fix an assertRaises situation and typo. Also pass all tests to run_unittest
...
rather than do it by platform -- the proper skips are in place already.
2010-08-07 03:47:21 +00:00
Raymond Hettinger
86f9613957
Improve the whatsnew article on the lru/lfu cache decorators.
2010-08-06 23:23:49 +00:00
Mark Dickinson
7e3b948cfe
Issue #9530 : Fix a couple of places where undefined behaviour can
...
occur, as a result of signed integer overflow.
2010-08-06 21:33:18 +00:00
R. David Murray
d0511b0efb
Add xml subpackages, since they are likely to have different maintainers.
...
And if not they can be merged back together when that becomes apparent.
2010-08-06 21:18:49 +00:00
Brian Curtin
ef9efbd69c
Fix #9324 : Add parameter validation to signal.signal on Windows in order
...
to prevent crashes.
2010-08-06 19:27:32 +00:00
Mark Dickinson
e6fc7401a9
In PySlice_IndicesEx, clip the step to [-PY_SSIZE_T_MAX, PY_SSIZE_T_MAX] rather than [PY_SSIZE_T_MIN, PY_SSIZE_T_MAX].
2010-08-06 18:55:26 +00:00
Tim Golden
af5ac3974b
Issue #3210 : Ensure stdio handles are closed if CreateProcess fails
2010-08-06 13:03:56 +00:00
Martin v. Löwis
2e3d539ce2
Change pyc removal to support __pycache__.
2010-08-06 10:43:31 +00:00
Raymond Hettinger
38bf2ccf4c
Issue8757: Implicit set-to-frozenset conversion not thread-safe.
2010-08-06 09:52:17 +00:00
Mark Dickinson
4f3086f264
Misc/NEWS entry for r83751.
2010-08-06 09:38:58 +00:00
Mark Dickinson
346f0af4f6
Issue #9526 : Remove outdated casts to int that were preventing the array module from working correctly with arrays > 2GB.
2010-08-06 09:36:57 +00:00
Raymond Hettinger
373e78c6f5
Fix the VS8.0 build
2010-08-06 09:22:46 +00:00
Gerhard Häring
c34d76cdc3
Issue #3854 : Documented using the sqlite3 module with multiple threads.
2010-08-06 06:12:05 +00:00
Brian Curtin
f045d775fd
Issue #9524 : Document that two CTRL* signals are meant for use only
...
with os.kill.
2010-08-05 18:56:00 +00:00
Alexander Belopolsky
6fc4ade2bb
Issue #9079 : Added _PyTime_gettimeofday(_PyTime_timeval *tp) to C API
...
exposed in Python.h. This function is similar to POSIX
gettimeofday(struct timeval *tp), but available on platforms without
gettimeofday().
2010-08-05 17:34:27 +00:00
Gerhard Häring
1c5471f319
Issue #6683 : For SMTP logins we now try all authentication methods advertised
...
by the server. Many servers are buggy and advertise authentication methods they
o not support in reality. This change makes smtplib.auth() work more often in
the real world, where we face misconfigured servers and servers that advertise
methods they don't support due to the madness that is SASL.
2010-08-05 14:08:44 +00:00
Alexandre Vassalotti
ae7801813c
Issue 5077: Add documentation for operator fixer.
...
Patch by Meador Inge.
2010-08-05 07:12:18 +00:00
Mark Dickinson
388122d43b
Issue #9337 : Make float.__str__ identical to float.__repr__.
...
(And similarly for complex numbers.)
2010-08-04 20:56:28 +00:00
Martin v. Löwis
b6c5074920
Add Terry Reedy.
2010-08-04 19:08:20 +00:00
Mark Dickinson
74f5902b04
Issue #9498 : Add reference to sys.float_info from 'numeric types' docs.
...
Thanks Yitz Gale.
2010-08-04 18:42:43 +00:00
Antoine Pitrou
560f7647ce
Issue #8814 : function annotations (the `__annotations__` attribute)
...
are now included in the set of attributes copied by default by
functools.wraps and functools.update_wrapper. Patch by Terrence Cole.
2010-08-04 18:28:02 +00:00
Senthil Kumaran
5626eec0c2
Sending the auth info as string. Fix BytesWarning: str() on a bytes instance Exception on buildbot.
2010-08-04 17:46:23 +00:00
Antoine Pitrou
23df483cb6
Try to fix issue #9415 : skip some tests on broken Ubuntu OpenSSL
2010-08-04 17:14:06 +00:00
Antoine Pitrou
15cee6209f
In verbose mode, identify OpenSSL build and platform more precisely
2010-08-04 16:45:21 +00:00