Commit Graph

43834 Commits

Author SHA1 Message Date
Ezio Melotti 85ee3e1b1e Use correct assert* methods in the examples. 2010-02-04 20:06:38 +00:00
Vinay Sajip 28c382f73a Logging: Implemented PEP 391. 2010-02-04 18:48:53 +00:00
R. David Murray 7045d64de5 Add Chris Rebert to ACKS for issue 6760 Popen doc improvements. 2010-02-04 16:33:31 +00:00
Nick Coghlan 7dfc9e1cd4 Issue 6760: Clarify args handling for subprocess.Popen. Patch by Chris Rebert 2010-02-04 12:43:58 +00:00
Brett Cannon dc84f8fbb4 Fix a typo in a docstring introduced in r77956. 2010-02-03 22:13:44 +00:00
Brett Cannon 18e4db5ebe Update a docstring to suggest using importlib.import_module instead of calling __import__ directly. 2010-02-03 22:11:54 +00:00
Mark Dickinson c68e9f0d20 Fix test_inspect.py data to match recent change to inspect_fodder.py (r77942). 2010-02-03 16:50:14 +00:00
Tarek Ziadé b8c7b017e2 leaving global attributes for backward compat 2010-02-03 15:38:12 +00:00
Eric Smith b3c548845a Corrected list of attributes exposed by sys.getwindowsversion. 2010-02-03 14:17:50 +00:00
R. David Murray f8f42075df Explicitly mention the default value for formatdate's usegmt parameter. 2010-02-03 13:36:23 +00:00
Ezio Melotti dde5b94875 #7092: Silence more py3k warnings. Patch by Florent Xicluna. 2010-02-03 05:37:26 +00:00
Andrew M. Kuchling 17ae2ba78f Add various items 2010-02-03 02:19:14 +00:00
Tarek Ziadé 2b21069955 added a note in the whatsnew file for sysconfig 2010-02-02 23:39:40 +00:00
Tarek Ziadé bece7f2d36 fixed a typo on distutils.sysconfig. thanks arfever 2010-02-02 22:55:00 +00:00
Tarek Ziadé e81b0289b6 sysconfig.get_scheme_names now returns a sorted tuple 2010-02-02 22:54:28 +00:00
Tarek Ziadé cc11817808 module reorganization + missing doctests 2010-02-02 22:50:23 +00:00
Antoine Pitrou 526e421b12 Issue #7385: Fix a crash in `MemoryView_FromObject` when
`PyObject_GetBuffer` fails.  Patch by Florent Xicluna.
2010-02-02 22:36:17 +00:00
Tarek Ziadé 1b93fc1077 first version of the sysconfig module documentation 2010-02-02 22:27:58 +00:00
Ezio Melotti 1f517e1d53 #7092: Silence py3k warnings in test_exceptions and test_pep352. Patch by Florent Xicluna. 2010-02-02 17:34:37 +00:00
Ezio Melotti 8d3f130d41 Fix idioms and a couple of py3k warnings. Patch by Florent Xicluna. 2010-02-02 15:57:45 +00:00
Ezio Melotti 0ac4d4c82d Silence a couple of -3 warnings 2010-02-02 15:12:42 +00:00
Ezio Melotti 5d62cfe070 #7092: silence py3k warnings for bsddb. Patch by Florent Xicluna. 2010-02-02 08:37:35 +00:00
Andrew M. Kuchling 039c899388 Add various items 2010-02-01 02:04:26 +00:00
Martin v. Löwis 1595f9fe9b Merged revisions 77855-77856,77870 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r77855 | benjamin.peterson | 2010-01-30 17:32:05 +0100 (Sa, 30 Jan 2010) | 1 line

  don't return node if it is not changed
........
  r77856 | benjamin.peterson | 2010-01-30 17:35:29 +0100 (Sa, 30 Jan 2010) | 1 line

  return None to indicate no change
........
  r77870 | benjamin.peterson | 2010-01-31 02:21:26 +0100 (So, 31 Jan 2010) | 1 line

  never return the original node given to transform()
........
2010-02-01 01:15:39 +00:00
Victor Stinner b4b0a2935d Issue #7819: Check sys.call_tracing() arguments types.
py3k was already patched by issue #3661.
2010-01-31 22:32:15 +00:00
Antoine Pitrou f3fa074703 - Issue #6939: Fix file I/O objects in the `io` module to keep the original
file position when calling `truncate()`.  It would previously change the
  file position to the given argument, which goes against the tradition of
  ftruncate() and other truncation APIs.  Patch by Pascal Chambon.
2010-01-31 22:26:04 +00:00
Michael Foord e70c72c06b Minor modification to unittest documentation. 2010-01-31 19:59:26 +00:00
Georg Brandl 979d79cd31 Fix-up ftplib documentation:
move exception descriptions to toplevel, not inside a class
remove attribution in "versionadded"
spell and grammar check docstring of FTP_TLS
2010-01-31 18:51:49 +00:00
Benjamin Peterson 3fd2db9074 move distutils.rst to different toc 2010-01-31 18:09:34 +00:00
Benjamin Peterson 7aedb3b30e fix windows buildbot 2010-01-31 18:02:35 +00:00
Matthias Klose 48a3c4e2e3 - Fix typo in os.execvp docstring. 2010-01-31 16:46:26 +00:00
Matthias Klose 626d92aaea - Update python manual page (options -B, -O0, -s, environment variables
PYTHONDONTWRITEBYTECODE, PYTHONNOUSERSITE).
2010-01-31 16:05:13 +00:00
Ezio Melotti ef4909643d #7092: silence more -3 and -Wd warnings 2010-01-31 11:46:54 +00:00
Benjamin Peterson 46bff79d1f be robust against test being run over and over (such as -R) 2010-01-30 23:28:38 +00:00
Benjamin Peterson a04ae012ce move test outside WITH_THREAD section 2010-01-30 23:26:05 +00:00
Georg Brandl 53ffca5afb #7802: fix invalid example (heh). 2010-01-30 17:57:48 +00:00
Ezio Melotti 91d26b43c9 Use the correct markup for args 2010-01-30 13:27:05 +00:00
Ezio Melotti 99af64820a Relocate a couple of stars and remove redundant backticks 2010-01-30 13:08:54 +00:00
Martin v. Löwis a8e34b707c Merged revisions 77419,77435 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r77419 | benjamin.peterson | 2010-01-10 21:39:48 +0100 (So, 10 Jan 2010) | 1 line

  enclose path in quotes to handle paths with spaces correctly #7666
........
  r77435 | alexandre.vassalotti | 2010-01-12 01:36:54 +0100 (Di, 12 Jan 2010) | 2 lines

  Issue #1967: Add fixer for dictionary views.
........
2010-01-30 10:56:23 +00:00
Mark Dickinson a36507c64c Issue #7767: Add new C-API function PyLong_AsLongLongAndOverflow, a
long long variant of PyLong_AsLongAndOverflow.  Patch by Case Van
Horsen.
2010-01-30 10:08:33 +00:00
Ezio Melotti a2d4653740 #7092: silence py3k warnings for deprecated modules 2010-01-30 07:22:54 +00:00
Victor Stinner 75d3fb1ebb #7801: fix xmlrpclib binary example, open the picture in binary mode 2010-01-30 02:00:26 +00:00
Martin v. Löwis 721caaa9ce Add Victor Stinner. 2010-01-30 00:15:44 +00:00
R. David Murray 05b4171624 Fix typo in assertSequenceEqual docstring. 2010-01-29 19:35:39 +00:00
Mark Dickinson 36ecd676ea Issue #7788: Fix a crash produced by deleting a list slice with huge
step value.  Patch by Marcin Bachry.
2010-01-29 17:11:39 +00:00
R. David Murray b5d7400e8a Change error report when the object passed to suite.addTest is not
callable to include the repr of the invalid object.
2010-01-28 21:16:33 +00:00
Benjamin Peterson 11fab6c07d avoid a py3k warning from __hash__ 2010-01-28 02:18:25 +00:00
Benjamin Peterson e06f7114a2 an -> a 2010-01-28 02:15:02 +00:00
Ezio Melotti 4611b05bd8 avoid to use zlib when the compress type is not ZIP_DEFLATED 2010-01-28 01:41:30 +00:00
Benjamin Peterson 9ef7d4f73c add compat note 2010-01-28 01:24:46 +00:00