Commit graph

41042 commits

Author SHA1 Message Date
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
Mark Dickinson
41fbae1ac9 Oops. Need to check not only that HAVE_DECL_ISINF is defined, but also
that it's equal to 1.  (If isinf isn't defined, HAVE_DECL_ISINF is
defined to be 0, rather than being undefined.)
2009-01-04 16:06:40 +00:00
Mark Dickinson
d181e3a246 isinf and isnan are macros, not functions; fix configure script
to use AC_CHECK_DECLS instead of AC_CHECK_FUNCS for these.
(See discussion in issue #4506)
2009-01-04 13:57:26 +00:00
Mark Dickinson
04b272336d Add autoconf test to detect x87-style double rounding, as described in
issue #2937.  This information can be helpful for diagnosing platform-
specific problems in math and cmath.  The result of the test also
serves as a fairly reliable indicator of whether the x87 floating-point
instructions (as opposed to SSE2) are in use on Intel x86/x86_64 systems.
2009-01-04 12:29:36 +00:00
Tarek Ziadé
d81780b8b0 using clearer syntax 2009-01-04 10:37:52 +00:00
Skip Montanaro
516144fef7 If user configures --without-gcc give preference to $CC instead of blindly
assuming the compiler will be "cc".
2009-01-04 10:36:58 +00:00
Georg Brandl
dd7e313035 Fix two issues found by the suspicious builder. 2009-01-04 10:24:09 +00:00
Georg Brandl
700cf28f41 Add "suspicious" builder which finds leftover markup in the HTML files.
Patch by Gabriel Genellina.
2009-01-04 10:23:49 +00:00
Georg Brandl
775aa4a026 Test commit. 2009-01-04 08:26:10 +00:00
Benjamin Peterson
248fb1320a only check the actual compile() call for a SyntaxError 2009-01-04 00:39:07 +00:00
Tarek Ziadé
85d6fb5022 fixed #1702551: distutils sdist was not pruning VCS directories under win32 2009-01-04 00:04:49 +00:00
Georg Brandl
e54aea786e Add temporary code to fix the automatic doc build failure. 2009-01-03 22:15:42 +00:00
Georg Brandl
8c8cc6b392 Manually merge r67868 from 2.6 branch. 2009-01-03 22:05:22 +00:00
Georg Brandl
fe427895b5 Manually merge r68095,68186,68187,68188,68190 from 2.6 branch. 2009-01-03 22:03:11 +00:00
Georg Brandl
c63785db86 Grammar fix. 2009-01-03 21:52:16 +00:00
Guilherme Polo
e7f140355b The _tkinter module functions "createfilehandler", "deletefilehandler",
"createtimerhandler", "mainloop", "dooneevent" and "quit" have been
deprecated for removal in 3.x (part of issue #3638).
2009-01-03 21:51:09 +00:00