Commit Graph

50834 Commits

Author SHA1 Message Date
Éric Araujo f04488e2ba Merge 3.2 2011-08-12 18:03:30 +02:00
Éric Araujo 14eba5fa41 Brench merge 2011-08-12 17:59:25 +02:00
Éric Araujo fbc5ff6235 patchcheck: don’t talk about the test suite when no code file were changed.
The line about the test suite will still get printed for changes in
Tools for example, which aren’t covered by the test suite, but it’s not
a big deal IMO.
2011-08-12 17:50:08 +02:00
Éric Araujo 28d39a0c08 Branch merge 2011-08-12 17:40:25 +02:00
Eli Bendersky 47fe5c0d51 Issue #12672: fix code samples in extending/newtypes.html for PEP-7 compliance 2011-08-12 11:40:39 +03:00
Éric Araujo 4460abea64 Use our existing drop-in, no-op decorator instead of redefining it.
Patch by Francisco Martin Brugue.
2011-08-12 00:15:41 +02:00
Benjamin Peterson ff3d3e4c7a merge heads 2011-08-11 14:46:49 -05:00
Benjamin Peterson b684702259 make only files which use AST depend on Python-ast.h 2011-08-11 14:46:26 -05:00
Benjamin Peterson 5a3f49bb7e revert code which conditionally writes Python-ast.h (closes #12727) 2011-08-11 14:42:28 -05:00
Antoine Pitrou fdf4a27422 Issue #12687: Fix a possible buffering bug when unpickling text mode (protocol 0, mostly) pickles. 2011-08-11 21:15:53 +02:00
Antoine Pitrou f6c7a8595e Issue #12687: Fix a possible buffering bug when unpickling text mode (protocol 0, mostly) pickles. 2011-08-11 21:04:02 +02:00
Brian Curtin 49281076c1 Add doc for Py_RETURN_NOTIMPLEMENTED, added in #12724. 2011-08-11 09:41:31 -05:00
Vinay Sajip f0dda5f876 Closes #12718: Merge documentation fix from 3.2. 2011-08-11 13:46:54 +01:00
Vinay Sajip 817495a631 Issue #12718: Add documentation on using custom importers. 2011-08-11 13:45:48 +01:00
Brian Curtin c29966f392 merge 2011-08-10 20:34:20 -05:00
Brian Curtin 0275fc191c News item for #12724 2011-08-10 20:32:10 -05:00
Brian Curtin dfc80e3d97 Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.
The macro was introduced in #12724.
2011-08-10 20:28:54 -05:00
Senthil Kumaran 5b0a4d22c5 merge from 3.2 2011-08-11 09:25:45 +08:00
Senthil Kumaran 9dc4cad979 News item for Issue10087. 2011-08-11 09:24:37 +08:00
Senthil Kumaran 962fed9101 Fix closes Issue10087 - fixing the output of calendar display in the html format. Patch by Chris Lambacher. Test Contributed by catherine. 2011-08-11 09:22:52 +08:00
Brian Curtin 7d2f9e1342 Add Py_RETURN_NOTIMPLEMENTED macro. Fixes #12724. 2011-08-10 20:05:21 -05:00
Éric Araujo 54dbfbd675 Fix directive markup 2011-08-10 21:43:13 +02:00
Éric Araujo e9715b9001 Merge 3.2 2011-08-10 21:42:23 +02:00
Éric Araujo cfcc9779fc Remove unused names in except clauses 2011-08-10 20:54:33 +02:00
Éric Araujo d9d7bca6da Use real word in English text (i.e. not code) 2011-08-10 04:19:03 +02:00
Éric Araujo 25785e9ca5 Revert cosmetic change.
A reminder: distutils only gets bug fixes.  Cosmetic changes, especially
in tests, are not worth the time spent, and can even make future merges
of bugfixes a bit less easy.
2011-08-10 02:46:33 +02:00
Éric Araujo 1c608e3847 Fix find command in makefile “funny” target 2011-08-10 02:01:32 +02:00
Benjamin Peterson 257a1d0f28 2.x syntax 2011-08-09 18:48:02 -05:00
Benjamin Peterson 4ec450d3c7 make this work on 2.4 2011-08-09 18:38:57 -05:00
Benjamin Peterson 6f7500424c make this work with py2.5 2011-08-09 16:49:52 -05:00
Benjamin Peterson a17a5d67b4 typo 2011-08-09 16:49:13 -05:00
Benjamin Peterson 398256b230 don't rewrite the header file if it hasn't changed; this reduces development build time 2011-08-09 16:28:58 -05:00
Éric Araujo 7fc0394a12 Avoid unwanted behavior change in shlex.quote (see #9723).
I simplified the quote code to use a regex instead of a loop+test when I
moved pipes.quote to shlex in 5966eeb0457d; Ezio Melotti pointed out
that my regex contained redundant parts (now removed) and allowed
non-ASCII characters (now disallowed).

I think common UNIX shells don’t quote non-ASCII characters, but there’s
no harm in doing so.  We’ll see if users request a change.
2011-08-09 23:18:06 +02:00
Benjamin Peterson 71ce8970cf fix indentation 2011-08-09 16:17:12 -05:00
Benjamin Peterson e451ec393f merge heads 2011-08-09 16:16:33 -05:00
Benjamin Peterson 9aae3a8cf5 merge 3.2 (#12719) 2011-08-09 16:15:29 -05:00
Benjamin Peterson 832bfe2ebd add a AST validator (closes #12575) 2011-08-09 16:15:04 -05:00
Benjamin Peterson 450bb594c8 forgotten in f578ca44193d 2011-08-09 16:14:45 -05:00
Benjamin Peterson 4dc6499613 the bool asdl type died a while ago 2011-08-09 16:10:09 -05:00
Benjamin Peterson e249841903 add a asdl bytes type, so Bytes.s be properly typechecked 2011-08-09 16:08:39 -05:00
Benjamin Peterson 77c4fd01dd note mutating tp_dict is bad (closes #12719) 2011-08-09 16:07:01 -05:00
Éric Araujo ef1e94a848 Test pipes.quote with a few non-ASCII characters (see #9723).
That pipes.quote thinks all non-ASCII characters need to be quoted may
be a bug, but right now I’m committing this test to make sure I haven’t
introduced a behavior change in 3.3 when I simplified the code to use a
regex (in 5966eeb0457d).
2011-08-09 23:03:43 +02:00
Raymond Hettinger fcb393c018 Add support for unary plus and unary minus to collections.Counter() 2011-08-09 13:00:40 -07:00
Éric Araujo 18205baf25 Merge 3.2 2011-08-09 18:09:21 +02:00
Éric Araujo 19272beec9 Branch merge 2011-08-09 18:01:52 +02:00
Éric Araujo da3f4ae34b Branch merge 2011-08-09 18:01:38 +02:00
Victor Stinner a8db378434 Issue #12700: fix test_faulthandler for Mac OS X Lion
Read from NULL raises SIGILL, not SIGSEGV, on Mac OS X Lion.
2011-08-08 22:43:45 +02:00
Georg Brandl 96598afac4 Merge with 3.2. 2011-08-08 21:45:24 +02:00
Georg Brandl bdbdfb1978 Confirm that the prime example is actually correct. We get so many complaints about a "buggy example" on docs@python, let us hope this cuts them in half at least. 2011-08-08 21:45:13 +02:00
Éric Araujo a9ef4a08b2 Merge 3.2 2011-08-08 16:56:46 +02:00