Benjamin Peterson
590c66810f
fix encoding
2009-01-10 19:08:49 +00:00
Antoine Pitrou
e7231cc14c
Add ACKS entries for some of the patches I've been committing.
2009-01-10 18:33:21 +00:00
Benjamin Peterson
35b80e0442
tp_iter only exists with Py_TPFLAGS_HAVE_ITER #4901
2009-01-10 17:36:44 +00:00
Benjamin Peterson
eee9583065
rewrite verbose conditionals
2009-01-10 17:18:55 +00:00
Matthias Klose
43723e2ad8
- Issue #4861 : ctypes.util.find_library(): Robustify. Fix library detection on
...
biarch systems. Try to rely on ldconfig only, without using objdump and gcc.
2009-01-10 17:00:42 +00:00
Antoine Pitrou
bd4b5f2b87
Add NEWS entry for r68484.
2009-01-10 16:15:24 +00:00
Antoine Pitrou
b74fc2b5fe
Issue #3860 : GzipFile and BZ2File now support the context manager protocol.
2009-01-10 16:13:45 +00:00
Vinay Sajip
7c303e9a98
Corrected an incorrect self-reference.
2009-01-10 13:42:04 +00:00
Vinay Sajip
99505c841e
Minor documentation changes cross-referencing NullHandler to the documentation on configuring logging in a library.
2009-01-10 13:38:04 +00:00
Kristján Valur Jónsson
abb70e9c9f
Issue 4906: Preserve windows error state across PyThread_get_key_value
2009-01-10 12:14:31 +00:00
Hirokazu Yamamoto
dbf558888e
Added helper script to build Tcl/Tk.
2009-01-10 09:18:16 +00:00
Hirokazu Yamamoto
420ab8a84f
Link to debug version of Tcl/Tk when python is built as debug version.
2009-01-10 08:12:09 +00:00
Hirokazu Yamamoto
e0f8b3d528
Bump up Tcl/Tk version on VC6. (tcl8.4.12 -> tcl8.5.2, tk8.4.12 -> tk8.5.2, tix8.4.0 -> tix8.4.3)
2009-01-10 08:09:43 +00:00
Antoine Pitrou
4c5ecb7cbb
Issue #4074 : Change the criteria for doing a full garbage collection (i.e.
...
collecting the oldest generation) so that allocating lots of objects without
destroying them does not show quadratic performance. Based on a proposal by
Martin von Löwis at http://mail.python.org/pipermail/python-dev/2008-June/080579.html .
2009-01-09 21:40:55 +00:00
Kristján Valur Jónsson
0e2d8c36e3
Issue 4293: Make Py_AddPendingCall() thread safe
...
Add test cases and documentation
2009-01-09 21:35:16 +00:00
Kristján Valur Jónsson
0e91938e58
Issue 4293: Make Py_AddPendingCall() thread safe
2009-01-09 20:31:26 +00:00
Kristján Valur Jónsson
84040dbe81
Issue 4336: Let users of HTTPConnection.endheaders() submit a message body to the function if required.
2009-01-09 20:27:16 +00:00
Kristján Valur Jónsson
7e876f5e93
Issue 4336: HTTPRequest._send_output() now deals with the case of the message body not being a string. This allows clients to use endheaders(message_body) instead of endheaders() + send(message_body) without making any extra checks.
2009-01-09 20:23:16 +00:00
Kristján Valur Jónsson
3b2a6b819d
Issue 3677: Fix import from UNC paths on Windows.
2009-01-09 20:10:59 +00:00
Kristján Valur Jónsson
00f2df495a
Issue 3582. Improved thread support and TLS for Windows
2009-01-09 20:03:27 +00:00
Jeffrey Yasskin
d89f5b20b2
Fix issue 4884, preventing a crash in the socket code when python is compiled
...
with llvm-gcc and run with a glibc <2.10.
2009-01-09 16:47:07 +00:00
Hirokazu Yamamoto
343b970da9
Bump up bsddb version on VC6. (db-4.4.20 -> db-4.7.25)
2009-01-09 04:10:40 +00:00
Hirokazu Yamamoto
eaec6b6d19
Bump up bzip2 version on VC6. (bzip2-1.0.3 -> bzip2-1.0.5)
2009-01-09 03:32:46 +00:00
Benjamin Peterson
b117852020
remove temporary code now
2009-01-09 03:15:00 +00:00
Benjamin Peterson
f902a949c6
be more specific in -3 option help
2009-01-09 03:07:27 +00:00
Benjamin Peterson
c4431ee440
add -3 to manpage
2009-01-09 03:05:14 +00:00
Benjamin Peterson
a924289e9a
fix spelling
2009-01-09 03:03:05 +00:00
Benjamin Peterson
cebb25d1f4
fix markup
2009-01-09 02:56:32 +00:00
Benjamin Peterson
fe8076eeb6
specify what -3 warnings are about
2009-01-09 02:53:35 +00:00
Benjamin Peterson
25f221b0cb
Merged revisions 68306-68308,68340,68368,68422 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r68306 | benjamin.peterson | 2009-01-04 12:27:19 -0600 (Sun, 04 Jan 2009) | 1 line
fix_urllib: add mappings for the url parsing functions
........
r68307 | benjamin.peterson | 2009-01-04 12:30:01 -0600 (Sun, 04 Jan 2009) | 1 line
remove duplicated function
........
r68308 | benjamin.peterson | 2009-01-04 12:50:34 -0600 (Sun, 04 Jan 2009) | 1 line
turtle is no longer renamed
........
r68340 | georg.brandl | 2009-01-05 02:11:39 -0600 (Mon, 05 Jan 2009) | 2 lines
Fix undefined locals in parse_tokens().
........
r68368 | benjamin.peterson | 2009-01-06 17:56:10 -0600 (Tue, 06 Jan 2009) | 1 line
fix typo (thanks to Robert Lehmann)
........
r68422 | benjamin.peterson | 2009-01-08 20:01:03 -0600 (Thu, 08 Jan 2009) | 1 line
run the imports fixers after fix_import, so fix_import doesn't try to make stdlib renames into relative imports #4876
........
2009-01-09 02:13:34 +00:00
Tarek Ziadé
1a240fb9f0
fixed #4394 make the storage of the password optional in .pypirc
2009-01-08 23:56:31 +00:00
Raymond Hettinger
5b913e31a1
Forward port r68394 for issue 4816.
2009-01-08 06:39:04 +00:00
Benjamin Peterson
1a67f589c6
use new sphinx modules
2009-01-08 04:01:00 +00:00
Benjamin Peterson
35b345484d
string exceptions are gone
2009-01-08 03:39:46 +00:00
Martin v. Löwis
b90304acb9
Issue #4850 : Change COUNT_ALLOCS variables to Py_ssize_t.
2009-01-07 18:40:40 +00:00
Mark Dickinson
e6dc53120d
Issue #4869 : clarify documentation for random.expovariate.
2009-01-07 17:48:33 +00:00
Hirokazu Yamamoto
fde5b803d8
Issue #4864 : test_msvc9compiler failed on VC6/7.
...
Reviewed by Amaury Forgeot d'Arc.
2009-01-07 09:42:28 +00:00
Antoine Pitrou
09cafb6335
Use shutil.rmtree rather than os.rmdir.
2009-01-06 18:34:08 +00:00
Antoine Pitrou
e96d4ea4e2
Issue #1180193 : When importing a module from a .pyc (or .pyo) file with
...
an existing .py counterpart, override the co_filename attributes of all
code objects if the original filename is obsolete (which can happen if the
file has been renamed, moved, or if it is accessed through different paths).
Patch by Ziga Seilnacht and Jean-Paul Calderone.
2009-01-06 18:10:47 +00:00
Marc-André Lemburg
3741bfdd3c
Fix #4846 (Py_UNICODE_ISSPACE causes linker error) by moving the declaration
...
into the extern "C" section.
Add a few more comments and apply some minor edits to make the file contents
fit the original structure again.
2009-01-05 19:43:35 +00:00
Neal Norwitz
f99b0110a8
Make sure to checkout any new packages
2009-01-05 03:57:25 +00:00
Georg Brandl
e87a28cd0a
Update make.bat.
2009-01-04 22:03:10 +00:00
Benjamin Peterson
d680d96027
use Jinja 2.1.1
2009-01-04 22:00:18 +00:00
Antoine Pitrou
f0d2c3f730
Issue #4272 : Add an optional argument to the GzipFile constructor to override the timestamp in the gzip stream.
2009-01-04 21:29:23 +00:00
Mark Dickinson
514d483a7d
Misc/NEWS entry for r68317
2009-01-04 21:25:40 +00:00
Mark Dickinson
65808ff0c0
More Python 2.3 compatibility fixes for decimal.py.
2009-01-04 21:22:02 +00:00
Mark Dickinson
6a961637a8
Fix Decimal.from_float to use valid Python 2.3 syntax, as per
...
comments at top of decimal.py. (But note that the from_float
method itself with still not be usable before Python 2.7.)
See issue 4796 for discussion.
2009-01-04 21:10:56 +00:00
Mark Dickinson
1de3327015
It's wrong to use AC_REPLACE_FUNCS for hypot, since there's no longer any
...
Python/hypot.c replacement file. Use AC_CHECK_FUNCS instead. This change
should be backported to 2.6 and 3.0.
2009-01-04 20:19:41 +00:00
Mark Dickinson
1bf6401ab2
Use C99 'isfinite' macro in preference to BSD-derived 'finite' function.
2009-01-04 19:53:00 +00:00
Mark Dickinson
0ebfedf38e
Fix HAVE_DECL_ISINF/ISNAN test (again).
2009-01-04 17:02:05 +00:00