Commit Graph

43553 Commits

Author SHA1 Message Date
Mark Dickinson 5a485c188e Clarify that the rect, phase and polar functions work with radians. 2010-01-02 14:29:52 +00:00
Georg Brandl 36f4214255 Fix casing. 2010-01-02 12:35:01 +00:00
Martin v. Löwis 4b2c064ed8 Make script work with 2.5. 2010-01-02 09:53:18 +00:00
Martin v. Löwis f477b93d9d Update Windows build to sqlite 3.6.21. 2010-01-02 09:25:21 +00:00
Benjamin Peterson 1a635e4663 remove use of deprecated os.popen #7619 2010-01-02 02:43:04 +00:00
Mark Dickinson 1b34d2552c Issue #5080: turn the DeprecationWarning from float arguments passed
to integer PyArg_Parse* format codes into a TypeError.  Add a
DeprecationWarning for floats passed with the 'L' format code, which
didn't previously have a warning.
2010-01-01 17:27:30 +00:00
Benjamin Peterson edfe72f66f allow --with-dbmliborder to specify that no dbm modules will be built #6491 2010-01-01 15:21:13 +00:00
Benjamin Peterson 6c99b4e0d6 fix indentation 2010-01-01 15:20:06 +00:00
Benjamin Peterson b4abef6d42 add note 2010-01-01 15:18:38 +00:00
Benjamin Peterson 1c335e63c9 use pkg-config to find the libffi headers when --with-system-ffi is used #6943 2010-01-01 15:16:29 +00:00
Georg Brandl 8cdc9bc901 More yearly updates. 2010-01-01 13:07:05 +00:00
Ezio Melotti 9db77468bc more copyright year updates 2010-01-01 04:16:42 +00:00
Benjamin Peterson 71380c3dfe update copyright year 2010-01-01 04:00:55 +00:00
Brett Cannon f31d1a0577 Add some missing command-line options to the main list. All but -V were already
documented. Left -V undocumented for now (and -U was already undocumented).
2010-01-01 01:44:57 +00:00
Mark Dickinson 0ef0b910ce More configure fixes: avoid sh 'integer argument expected' error when 'long long' type doesn't exist. 2009-12-31 21:11:48 +00:00
Mark Dickinson 5ce8474cc7 Add missing quotes. 2009-12-31 20:48:04 +00:00
Benjamin Peterson ae9a0a0f27 add another advancement 2009-12-31 16:49:37 +00:00
Andrew M. Kuchling a7f594712e Add various items 2009-12-31 16:38:53 +00:00
Benjamin Peterson 2fd2e86787 update expat comment 2009-12-31 16:28:24 +00:00
Andrew M. Kuchling 91e0db8404 Add some items 2009-12-31 16:17:05 +00:00
Ezio Melotti aac4df68d8 #7613: missing ) in flmodule.c 2009-12-31 13:47:24 +00:00
Ezio Melotti 763f1e8d32 indentation and further alignment with py3k 2009-12-31 13:27:41 +00:00
Ezio Melotti 6d6b53cab8 cleanup and refactoring 2009-12-31 13:00:43 +00:00
Benjamin Peterson 2c19674b51 add a --with-system-expat option to build pyexpat against the system's lib #7609 2009-12-31 03:17:18 +00:00
Benjamin Peterson df6f963f15 Merged revisions 77158 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r77158 | benjamin.peterson | 2009-12-30 13:41:03 -0600 (Wed, 30 Dec 2009) | 1 line

  clean up logging's global state after the test finishes
........
2009-12-30 19:44:23 +00:00
Benjamin Peterson 0f02d3933b check if the attribute is set before deleting it with T_OBJECT_EX (fixes #7604)
Also, add a note to the docs about the better behavior of T_OBJECT_EX as
compared to T_OBJECT.
2009-12-30 19:34:10 +00:00
Georg Brandl b7953f00b1 We only support Windows NT derivatives now. 2009-12-30 19:03:00 +00:00
Georg Brandl e5ee7e38e8 #7602: improve "clean" and "checkout" targets now that all tools are in externals. 2009-12-30 18:36:09 +00:00
Georg Brandl 5a5fee8ce3 #7487: update Pygments version. 2009-12-30 18:32:50 +00:00
Georg Brandl 95049f2561 Use new Pygments version. 2009-12-30 16:21:26 +00:00
Mark Dickinson 9b02e85e8d Add Marcos Donolo for work on issue 7534 patch. 2009-12-30 12:22:49 +00:00
Mark Dickinson 99d652ef66 Issue #7534: Fix handling of nans, infinities, and negative zero in **
operator, on IEEE 754 platforms.  Thanks Marcos Donolo for original patch.
2009-12-30 12:12:23 +00:00
Ezio Melotti 569e61f351 #5511: Added the ability to use ZipFile as a context manager. Patch by Brian Curtin. 2009-12-30 06:14:51 +00:00
Benjamin Peterson eb74da8e67 wrap long line 2009-12-30 03:02:34 +00:00
Benjamin Peterson 500ce23384 only build the nis module when the headers are found #7589 2009-12-30 02:58:50 +00:00
Andrew M. Kuchling 3c8a24e6d9 Add various items 2009-12-29 23:41:04 +00:00
Amaury Forgeot d'Arc c8a2ce7670 #7579: Add docstrings to the msvcrt module 2009-12-29 23:06:17 +00:00
Amaury Forgeot d'Arc 8645a5c81f #7413: Passing '\0' as the separator to datetime.datetime.isoformat()
used to drop the time part of the result.
2009-12-29 22:03:38 +00:00
Georg Brandl fa1ffb69c4 #7595: fix typo in argument default constant. 2009-12-29 21:09:17 +00:00
Mark Dickinson 8e3e1d6016 Issue #7575: An overflow test for math.expm1 was failing on OS X 10.4/Intel,
due to a defect in the platform's implementation of expm1.  Since the issue
is of low severity, and appears to be fixed in OS X 10.5 and 10.6, it doesn't
seem worth working around, so I'm just weakening the relevant test so that
it passes on 10.4.
2009-12-29 20:51:24 +00:00
Andrew M. Kuchling b4a4f5167b Various additions 2009-12-29 20:10:16 +00:00
Georg Brandl c2aad8ad15 Fix wrong markup. 2009-12-29 11:25:38 +00:00
Georg Brandl a25658b755 Improve markup of ctypes docs. 2009-12-29 11:06:31 +00:00
Georg Brandl d2ff48602a #7569: clarification about c_char_p. 2009-12-29 10:34:34 +00:00
Benjamin Peterson b598393bcb enable test_main.py 2009-12-29 00:09:33 +00:00
Benjamin Peterson abb4274499 Merged revisions 76871-76872,77093-77095,77097-77101 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r76871 | benjamin.peterson | 2009-12-17 20:49:21 -0600 (Thu, 17 Dec 2009) | 1 line

  handle unencodable diffs gracefully #5093
........
  r76872 | benjamin.peterson | 2009-12-17 20:51:37 -0600 (Thu, 17 Dec 2009) | 1 line

  fix emacs header
........
  r77093 | benjamin.peterson | 2009-12-28 14:43:32 -0600 (Mon, 28 Dec 2009) | 7 lines

  replace callable(x) with isinstance(x, collections.Callable) #7006

  This is a more accurate translation than hasattr(x, '__call__') which failed in
  the case that somebody had put __call__ in the instance dictionary.

  Patch mostly by Joe Amenta.
........
  r77094 | benjamin.peterson | 2009-12-28 14:45:13 -0600 (Mon, 28 Dec 2009) | 2 lines

  deuglify imports
........
  r77095 | benjamin.peterson | 2009-12-28 14:49:23 -0600 (Mon, 28 Dec 2009) | 1 line

  remove unused flag
........
  r77097 | benjamin.peterson | 2009-12-28 16:12:13 -0600 (Mon, 28 Dec 2009) | 2 lines

  clean up imports and whitespace
........
  r77098 | benjamin.peterson | 2009-12-28 16:43:35 -0600 (Mon, 28 Dec 2009) | 1 line

  *** empty log message ***
........
  r77099 | benjamin.peterson | 2009-12-28 16:45:10 -0600 (Mon, 28 Dec 2009) | 1 line

  revert unintended change
........
  r77100 | benjamin.peterson | 2009-12-28 16:53:21 -0600 (Mon, 28 Dec 2009) | 1 line

  revert unintended changes
........
  r77101 | benjamin.peterson | 2009-12-28 17:46:02 -0600 (Mon, 28 Dec 2009) | 1 line

  normalize whitespace
........
2009-12-28 23:50:41 +00:00
Benjamin Peterson 0d19eaf1eb document new fix_callable behavior 2009-12-28 20:51:17 +00:00
Georg Brandl 66d8d69cd8 #7404: remove reference to non-existing example files. 2009-12-28 08:48:24 +00:00
Georg Brandl 740cdc3a9f #7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new exceptions a docstring. 2009-12-28 08:34:58 +00:00
Georg Brandl 02e7dfde63 #7381: consistency update, and backport avoiding ``None >= 0`` check from py3k. 2009-12-28 08:09:32 +00:00