]> granicus.if.org Git - python/commitdiff
Issue #8876: distutils now falls back to copying files when hard linking doesn't...
authorAntoine Pitrou <solipsis@pitrou.net>
Thu, 30 Oct 2014 18:38:33 +0000 (19:38 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Thu, 30 Oct 2014 18:38:33 +0000 (19:38 +0100)
This allows use with special filesystems such as VirtualBox shared folders.

1  2 
Misc/NEWS

diff --cc Misc/NEWS
index 7ad96495e4748b317a27c4618bd042dbf03ac952,6245bd0f79cd549c91ad3da21fa472551f70333b..17db1fcd87eb54c0e06c7ea4281a515db849c590
+++ b/Misc/NEWS
@@@ -45,154 -30,13 +45,157 @@@ Core and Builtin
  
  - Issue #22518: Fix integer overflow issues in latin-1 encoding.
  
 +- Issue #16324: _charset parameter of MIMEText now also accepts
 +  email.charset.Charset instances. Initial patch by Claude Paroz.
 +
 +- Issue #1764286: Fix inspect.getsource() to support decorated functions.
 +  Patch by Claudiu Popa.
 +
 +- Issue #18554: os.__all__ includes posix functions.
 +
 +- Issue #21391: Use os.path.abspath in the shutil module.
 +
 +- Issue #11471: avoid generating a JUMP_FORWARD instruction at the end of
 +  an if-block if there is no else-clause.  Original patch by Eugene Toder.
 +
 +- Issue #22215: Now ValueError is raised instead of TypeError when str or bytes
 +  argument contains not permitted null character or byte.
 +
 +- Issue #22258: Fix the internal function set_inheritable() on Illumos.
 +  This platform exposes the function ``ioctl(FIOCLEX)``, but calling it fails
 +  with errno is ENOTTY: "Inappropriate ioctl for device". set_inheritable()
 +  now falls back to the slower ``fcntl()`` (``F_GETFD`` and then ``F_SETFD``).
 +
 +- Issue #21389: Displaying the __qualname__ of the underlying function in the
 +  repr of a bound method.
 +
 +- Issue #22206: Using pthread, PyThread_create_key() now sets errno to ENOMEM
 +  and returns -1 (error) on integer overflow.
 +
 +- Issue #20184: Argument Clinic based signature introspection added for
 +  30 of the builtin functions.
 +
 +- Issue #22116: C functions and methods (of the 'builtin_function_or_method'
 +  type) can now be weakref'ed.  Patch by Wei Wu.
 +
 +- Issue #22077: Improve index error messages for bytearrays, bytes, lists,
 +  and tuples by adding 'or slices'. Added ', not <typename' for bytearrays.
 +  Original patch by Claudiu Popa.
 +
 +- Issue #20179: Apply Argument Clinic to bytes and bytearray.
 +  Patch by Tal Einat.
 +
 +- Issue #22082: Clear interned strings in slotdefs.
 +
 +- Upgrade Unicode database to Unicode 7.0.0.
 +
 +- Issue #21897: Fix a crash with the f_locals attribute with closure
 +  variables when frame.clear() has been called.
 +
 +- Issue #21205: Add a new ``__qualname__`` attribute to generator, the
 +  qualified name, and use it in the representation of a generator
 +  (``repr(gen)``). The default name of the generator (``__name__`` attribute)
 +  is now get from the function instead of the code. Use ``gen.gi_code.co_name``
 +  to get the name of the code.
 +
 +- Issue #21669: With the aid of heuristics in SyntaxError.__init__, the
 +  parser now attempts to generate more meaningful (or at least more search
 +  engine friendly) error messages when "exec" and "print" are used as
 +  statements.
 +
 +- Issue #21642: If the conditional if-else expression, allow an integer written
 +  with no space between itself and the ``else`` keyword (e.g. ``True if 42else
 +  False``) to be valid syntax.
 +
 +- Issue #21523: Fix over-pessimistic computation of the stack effect of
 +  some opcodes in the compiler.  This also fixes a quadratic compilation
 +  time issue noticeable when compiling code with a large number of "and"
 +  and "or" operators.
 +
 +- Issue #21418: Fix a crash in the builtin function super() when called without
 +  argument and without current frame (ex: embedded Python).
 +
 +- Issue #21425: Fix flushing of standard streams in the interactive
 +  interpreter.
 +
 +- Issue #21435: In rare cases, when running finalizers on objects in cyclic
 +  trash a bad pointer dereference could occur due to a subtle flaw in
 +  internal iteration logic.
 +
 +- Issue #21377: PyBytes_Concat() now tries to concatenate in-place when the
 +  first argument has a reference count of 1.  Patch by Nikolaus Rath.
 +
 +- Issue #20355: -W command line options now have higher priority than the
 +  PYTHONWARNINGS environment variable.  Patch by Arfrever.
 +
 +- Issue #21274: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c.
 +
 +- Issue #20904: Support setting FPU precision on m68k.
 +
 +- Issue #21209: Fix sending tuples to custom generator objects with the yield
 +  from syntax.
 +
 +- Issue #21193: pow(a, b, c) now raises ValueError rather than TypeError when b
 +  is negative.  Patch by Josh Rosenberg.
 +
 +- PEP 465 and Issue #21176: Add the '@' operator for matrix multiplication.
 +
 +- Issue #21134: Fix segfault when str is called on an uninitialized
 +  UnicodeEncodeError, UnicodeDecodeError, or UnicodeTranslateError object.
 +
 +- Issue #19537: Fix PyUnicode_DATA() alignment under m68k.  Patch by
 +  Andreas Schwab.
 +
 +- Issue #20929: Add a type cast to avoid shifting a negative number.
 +
 +- Issue #20731: Properly position in source code files even if they
 +  are opened in text mode. Patch by Serhiy Storchaka.
 +
 +- Issue #20637: Key-sharing now also works for instance dictionaries of
 +  subclasses.  Patch by Peter Ingebretson.
 +
 +- Issue #8297: Attributes missing from modules now include the module name
 +  in the error text.  Original patch by ysj.ray.
 +
 +- Issue #19995: %c, %o, %x, and %X now raise TypeError on non-integer input.
 +
 +- Issue #19655: The ASDL parser - used by the build process to generate code for
 +  managing the Python AST in C - was rewritten. The new parser is self contained
 +  and does not require to carry long the spark.py parser-generator library;
 +  spark.py was removed from the source base.
 +
 +- Issue #12546: Allow \x00 to be used as a fill character when using str, int,
 +  float, and complex __format__ methods.
 +
 +- Issue #20480: Add ipaddress.reverse_pointer. Patch by Leon Weber.
 +
 +- Issue #13598: Modify string.Formatter to support auto-numbering of
 +  replacement fields. It now matches the behavior of str.format() in
 +  this regard. Patches by Phil Elson and Ramchandra Apte.
 +
 +- Issue #8931: Make alternate formatting ('#') for type 'c' raise an
 +  exception. In versions prior to 3.5, '#' with 'c' had no effect. Now
 +  specifying it is an error.  Patch by Torsten Landschoff.
 +
  Library
  -------
  
+ - Issue #8876: distutils now falls back to copying files when hard linking
+   doesn't work.  This allows use with special filesystems such as VirtualBox
+   shared folders.
 +- Issue #22217: Implemented reprs of classes in the zipfile module.
 +
 +- Issue #18216: gettext now raises an error when a .mo file has an
 +  unsupported major version number.  Patch by Aaron Hill.
 +
 +- Issue #13918: Provide a locale.delocalize() function which can remove
 +  locale-specific number formatting from a string representing a number,
 +  without then converting it to a specific type.  Patch by Cédric Krier.
 +
 +- Issue #22676: Make the pickling of global objects which don't have a
 +  __module__ attribute less slow.
 +
  - Issue #18853: Fixed ResourceWarning in shlex.__nain__.
  
  - Issue #9351: Defaults set with set_defaults on an argparse subparser