]> granicus.if.org Git - python/commitdiff
Issue #15300: Ensure the temporary test working directories are in the same parent...
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 11 Jul 2012 17:21:31 +0000 (19:21 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 11 Jul 2012 17:21:31 +0000 (19:21 +0200)
Patch by Chris Jerdonek.

1  2 
Lib/test/regrtest.py
Misc/ACKS
Misc/NEWS

index beb2ba85cfd5d4c2c21187b637f59b8f2a796c73,a0e08b77d9c91ca69a57eabd7dc421c9fe6be33f..28655f0e654f475019b7a038905226244026296c
@@@ -637,9 -578,9 +640,10 @@@ def main(tests=None, testdir=None, verb
                      popen = Popen(base_cmd + ['--slaveargs', json.dumps(args_tuple)],
                                     stdout=PIPE, stderr=PIPE,
                                     universal_newlines=True,
-                                    close_fds=(os.name != 'nt'))
+                                    close_fds=(os.name != 'nt'),
+                                    cwd=support.SAVEDCWD)
                      stdout, stderr = popen.communicate()
 +                    retcode = popen.wait()
                      # Strip last refcount output line if it exists, since it
                      # comes from the shutdown of the interpreter in the subcommand.
                      stderr = debug_output_pat.sub("", stderr)
diff --cc Misc/ACKS
index 62d3e01cd3e3930876a78b40ee9a822148c81eb7,8e377182b014e8ac10706872411c4b44ce4731a2..a35fd7432c0166f5be0f225c8d762f4d69a7d980
+++ b/Misc/ACKS
@@@ -505,7 -458,7 +505,8 @@@ Julien Jehanne
  Drew Jenkins
  Flemming Kjær Jensen
  MunSic Jeong
+ Chris Jerdonek
 +Jim Jewett
  Orjan Johansen
  Fredrik Johansson
  Gregory K. Johnson
diff --cc Misc/NEWS
index f48bb7d36814b7eea1365679311a4c26ebaaa349,34a34c0aea2edc5df5145fb1a7f32253fb1a7c91..25f240c51c41c8b8c82db207a7e6d64e724267f3
+++ b/Misc/NEWS
@@@ -28,130 -16,6 +28,134 @@@ Core and Builtin
  - Issue #15033: Fix the exit status bug when modules invoked using -m swith,
    return the proper failure return value (1). Patch contributed by Jeff Knupp.
  
 +- Issue #15229: An OSError subclass whose __init__ doesn't call back
 +  OSError.__init__ could produce incomplete instances, leading to crashes
 +  when calling str() on them.
 +
 +Library
 +-------
 +
 +- Issue #15315: Support VS 2010 in distutils cygwincompiler.
 +
 +- Issue #15294: Fix a regression in pkgutil.extend_path()'s handling of
 +  nested namespace packages.
 +
 +- Issue #15056: imp.cache_from_source() and source_from_cache() raise
 +  NotImplementedError when sys.implementation.cache_tag is set to None.
 +
 +- Issue #15256: Grammatical mistake in exception raised by imp.find_module().
 +
 +- Issue #5931: wsgiref environ variable SERVER_SOFTWARE will specify an
 +  implementation specific term like Cpython, Jython instead of generic "Python"
 +
 +- Issue #13248: Remove obsolete argument "max_buffer_size" of BufferedWriter
 +  and BufferedRWPair, from the io module.
 +
 +- Issue #13248: Remove obsolete argument "version" of argparse.ArgumentParser.
 +
 +- Issue #14814: implement more consistent ordering and sorting behaviour
 +  for ipaddress objects
 +
 +- Issue #14814: ipaddress network objects correctly return NotImplemented
 +  when compared to arbitrary objects instead of raising TypeError
 +
 +- Issue #14990: Correctly fail with SyntaxError on invalid encoding
 +  declaration.
 +
 +- Issue #14814: ipaddress now provides more informative error messages when
 +  constructing instances directly (changes permitted during beta due to
 +  provisional API status)
 +
 +- Issue #15247: FileIO now raises an error when given a file descriptor
 +  pointing to a directory.
 +
 +- Issue #15261: Stop os.stat(fd) crashing on Windows when fd not open.
 +
 +- Issue #15166: Implement imp.get_tag() using sys.implementation.cache_tag.
 +
 +- Issue #15210: Catch KeyError when imprortlib.__init__ can't find
 +  _frozen_importlib in sys.modules, not ImportError.
 +
 +- Issue #15030: importlib.abc.PyPycLoader now supports the new source size
 +  header field in .pyc files.
 +
 +- Issue #5346: Preserve permissions of mbox, MMDF and Babyl mailbox
 +  files on flush().
 +
 +- Issue #10571: Fix the "--sign" option of distutils' upload command.
 +  Patch by Jakub Wilk.
 +
 +- Issue #9559: If messages were only added, a new file is no longer
 +  created and renamed over the old file when flush() is called on an
 +  mbox, MMDF or Babyl mailbox.
 +
 +- Issue 10924: Fixed mksalt() to use a RNG that is suitable for cryptographic
 +  purpose.
 +
 +Extension Modules
 +-----------------
 +
 +- Issue #15194: Update libffi to the 3.0.11 release.
 +
 +Tools/Demos
 +-----------
 +
 +- Issue #12605: The gdb hooks for debugging CPython (within Tools/gdb) have
 +  been enhanced to show information on more C frames relevant to CPython within
 +  the "py-bt" and "py-bt-full" commands:
 +    * C frames that are waiting on the GIL
 +    * C frames that are garbage-collecting
 +    * C frames that are due to the invocation of a PyCFunction
 +
 +Documentation
 +-------------
 +
 +- Issue #15288: Link to the term "loader" in notes in pkgutil about how things
 +  won't work as expected in Python 3.3 and mark the requisite functions as
 +  "changed" since they will no longer work with modules directly imported by
 +  import itself.
 +
 +- Issue #13557: Clarify effect of giving two different namespaces to exec or
 +  execfile().
 +
 +Tests
 +-----
 +
++- Issue #15300: Ensure the temporary test working directories are in the same
++  parent folder when running tests in multiprocess mode from a Python build.
++  Patch by Chris Jerdonek.
++
 +- Issue #15284: Skip {send,recv}msg tests in test_socket when IPv6 is not
 +  enabled. Patch by Brian Brazil.
 +
 +- Issue #15277: Fix a resource leak in support.py when IPv6 is disabled.
 +  Patch by Brian Brazil.
 +
 +Build
 +-----
 +
 +- Issue #14330: For cross builds, don't use host python, use host search paths
 +  for host compiler.
 +
 +- Issue #15235: Allow Berkley DB versions up to 5.3 to build the dbm module.
 +
 +- Issue #15268: Search curses.h in /usr/include/ncursesw.
 +
 +
 +What's New in Python 3.3.0 Beta 1?
 +==================================
 +
 +*Release date: 27-Jun-2012*
 +
 +Core and Builtins
 +-----------------
 +
 +- Fix a (most likely) very rare memory leak when calling main() and not being
 +  able to decode a command-line argument.
 +
 +- Issue #14815: Use Py_ssize_t instead of long for the object hash, to
 +  preserve all 64 bits of hash on Win64.
 +
  - Issue #12268: File readline, readlines and read() or readall() methods
    no longer lose data when an underlying read system call is interrupted.
    IOError is no longer raised due to a read system call returning EINTR