Commit Graph

52196 Commits

Author SHA1 Message Date
Antoine Pitrou 1d8f3f451c Fix regression under Windows following b75b41237380 (from issue #13392) 2011-11-15 20:40:55 +01:00
Antoine Pitrou 28e401e717 Issue #13392: Writing a pyc file should now be atomic under Windows as well. 2011-11-15 19:15:19 +01:00
Éric Araujo 5f7f6150c3 Merge 3.2 2011-11-15 16:13:16 +01:00
Éric Araujo ca88e9cb29 Branch merge 2011-11-15 16:12:49 +01:00
Éric Araujo 3f2ba3bd86 Branch merge 2011-11-15 16:12:22 +01:00
Antoine Pitrou 2495c6af3b Merge 2011-11-15 15:26:32 +01:00
Antoine Pitrou 13f8b682a7 Mark test_devpoll as unexpected on most platforms 2011-11-15 15:25:59 +01:00
Éric Araujo 4d15546504 Remove obsolete verbose arguments from packaging.
Logging replaces verbose arguments.  I haven’t fixed the example in
Doc/install/install.rst because I have major fixes and changes to the
oc under way and will fix or remove that example as part of that task.
2011-11-15 11:43:20 +01:00
Éric Araujo 9b5c7f44fa Remove unused code from packaging.tests.__init__ 2011-11-15 10:48:36 +01:00
Jesus Cea f450c1b9e0 reST fixes for /dev/poll 2011-11-15 05:42:59 +01:00
Antoine Pitrou 78edf7576e Issue #13333: The UTF-7 decoder now accepts lone surrogates
(the encoder already accepts them).
2011-11-15 01:44:16 +01:00
Antoine Pitrou 5418ee0b9a Issue #13333: The UTF-7 decoder now accepts lone surrogates
(the encoder already accepts them).
2011-11-15 01:42:21 +01:00
Antoine Pitrou 9a812cbc89 Issue #13389: Full garbage collection passes now clear the freelists for
list and dict objects.  They already cleared other freelists in the
interpreter.
2011-11-15 00:00:12 +01:00
Éric Araujo 36500344b2 Remove redundant setUp/tearDown methods in packaging tests 2011-11-14 19:46:31 +01:00
Éric Araujo acc0952ff8 The error message should contain the key as given, not normalized.
Backout of 2e047702df7f.  Reported by Jeremy Kloth.
2011-11-14 19:45:30 +01:00
Éric Araujo 618b73035a Add tests to check initial content of packaging.database caches 2011-11-14 19:43:37 +01:00
Éric Araujo e749e21948 packaging cleanup: A few super I missed in 5ae03b1e147a 2011-11-14 19:40:31 +01:00
Jesus Cea d8b9ae6e8f Issue #6397: Support '/dev/poll' polling objects in select module, under Solaris & derivatives. 2011-11-14 19:07:41 +01:00
Éric Araujo 0efc419d4a Adapt test and example after e39d1b6f0856.
Tarek’s commit fixed the way packaging configuration file markers are
split under Windows, but these two files were not edited.
2011-11-14 18:21:38 +01:00
Éric Araujo bfc972974b Fix a few typos 2011-11-14 18:18:15 +01:00
Éric Araujo 84ed8f7075 Add entries for distutils2 contributors (their patches are in packaging) 2011-11-14 18:14:09 +01:00
Éric Araujo a5e7f31070 Remove NEWS entries for packaging test suite fixes.
I haven’t updated NEWS for every change or fix in packaging, thinking
that the only entry we need for 3.3a1 is “Add packaging module to the
stdlib”.  Other developers have however added entries for these fixes,
but I don’t think they are interesting for users.

Note that the distutils2 backport has a full changelog.
2011-11-14 18:13:24 +01:00
Éric Araujo f8361623f0 Clean up byte-compilation code in packaging (#11254 followup).
- Don't use keyword arguments for debug_override; I find it more
  readable to have a comment explaining that True makes pyc and False
  pyo than to write out the non-obvious (when you haven’t read the doc)
  argument name

- Move duplicate code from build_py and install_lib into cmd

- Remove obsolete verbose argument of util.byte_compile

- Remove obsolete passing of -O/-OO to the Python process spawned by
  util.byte_compile (I’ll remove the whole spawning later, after I write
  more tests to check the contents of pyc and pyo files; now that
  byte_compile does not depend on the value of __debug__ in the calling
  Python, we can call py_compile or compileall directly)
2011-11-14 18:10:19 +01:00
Éric Araujo 04e6909845 Fix markup 2011-11-14 18:00:48 +01:00
Ezio Melotti d5d4406c8e #1745761, #755670, #13357, #12629, #1200313: merge with 3.2. 2011-11-14 18:56:11 +02:00
Ezio Melotti c2fe57762b #1745761, #755670, #13357, #12629, #1200313: improve attribute handling in HTMLParser. 2011-11-14 18:53:33 +02:00
Ezio Melotti b245ed1cdf Group tests about attributes in a separate class. 2011-11-14 18:13:22 +02:00
Eli Bendersky 84b48a6c46 Clarify the existence of the <> operator in Grammar/Grammar with a comment. Closes issue 13239 2011-11-14 01:18:24 +02:00
Eli Bendersky 0e79b7e92c Clarify the existence of the <> operator in Grammar/Grammar with a comment, for issue 13239 2011-11-14 01:16:31 +02:00
Antoine Pitrou 3e623243d5 Issue #13217: add missing header dependencies in the Makefile for unicodeobject.o.
Patch by John O'Connor.
2011-11-13 19:37:58 +01:00
Antoine Pitrou 5c398e8395 Restore performance of special casings for utf-16 and utf-32 in TextIOWrapper 2011-11-13 04:11:37 +01:00
Antoine Pitrou c28e2e53ba In text I/O, optimize scanning for new lines with 1-byte unicode chars 2011-11-13 03:53:42 +01:00
Antoine Pitrou f364e7b598 Fix memory leak with FLUFL-related syntax errors (!) 2011-11-13 01:02:02 +01:00
Antoine Pitrou 9ec2593bda Fix memory leak with FLUFL-related syntax errors (!) 2011-11-13 01:01:23 +01:00
Antoine Pitrou c1b0bfdb04 Fix memory leak in io.StringIO 2011-11-12 22:34:28 +01:00
Antoine Pitrou 39aba4f563 Use the small object allocator for small bytearrays 2011-11-12 21:15:28 +01:00
Antoine Pitrou c3dfc98f41 Null merge 2011-11-12 20:39:02 +01:00
Antoine Pitrou 4339a7767d Merge 2011-11-12 20:36:51 +01:00
Antoine Pitrou 7abe61f6b5 Restore smtpd.DEBUGSTREAM at the end of test_smtpd.
(backport of 6b9f547e92d8)
2011-11-12 20:36:29 +01:00
Antoine Pitrou e0815e2db0 Restore smtpd.DEBUGSTREAM at the end of test_smtpd.
This fixes a subsequent refleak in test_smtplib.
2011-11-12 20:36:29 +01:00
Petri Lehtinen 2515c4d34e Merge heads 2011-11-12 21:24:37 +02:00
Petri Lehtinen f89d8fcc36 Merge heads 2011-11-12 21:23:28 +02:00
Petri Lehtinen 516d80530b Merge branch 3.2 2011-11-12 21:15:24 +02:00
Petri Lehtinen c153cd3d5a Update mailbox.Maildir tests
Remove a sleep to fix transient test failures. Use skewfactor of -3 to
make it work on systems that have 1 second precision for time.time().

Closes #11999
Refs #13254
2011-11-12 21:14:53 +02:00
Eli Bendersky bf9d34ce7e Issue 12767: document the argument of threading.Condition.notify 2011-11-12 20:46:54 +02:00
Eli Bendersky d44af82e62 Issue #12767: documenting threading.Condition.notify 2011-11-12 20:44:25 +02:00
Antoine Pitrou 31b92a534f Sanitize reference management in the utf-8 encoder 2011-11-12 18:35:19 +01:00
Antoine Pitrou f72d4ef327 Plug some (unlikely) refleaks. 2011-11-12 18:05:15 +01:00
Antoine Pitrou 61093c0ced Issue #13193: Fix distutils.filelist.FileList and
packaging.manifest.Manifest under Windows.  The "recursive-include"
directive now recognizes both legal path separators.
2011-11-12 01:27:19 +01:00
Antoine Pitrou 3714c1ebfd Add NEWS entry for #13193 2011-11-12 01:22:11 +01:00