Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e60983e

Browse files
committed
merge heads
2 parents 72db18c + 0dccbe1 commit e60983e

1 file changed

Lines changed: 318 additions & 0 deletions

File tree

Misc/NEWS

Lines changed: 318 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2429,6 +2429,324 @@ Library
24292429
- Issue #8033: sqlite3: Fix 64-bit integer handling in user functions
24302430
on 32-bit architectures. Initial patch by Philippe Devalkeneer.
24312431

2432+
Extension Modules
2433+
-----------------
2434+
2435+
- Issue #15676: Now "mmap" check for empty files before doing the
2436+
offset check. Patch by Steven Willis.
2437+
2438+
- Issue #6493: An issue in ctypes on Windows that caused structure bitfields
2439+
of type ctypes.c_uint32 and width 32 to incorrectly be set has been fixed.
2440+
2441+
- Issue #15000: Support the "unique" x32 architecture in _posixsubprocess.c.
2442+
2443+
- Issue #9041: An issue in ctypes.c_longdouble, ctypes.c_double, and
2444+
ctypes.c_float that caused an incorrect exception to be returned in the
2445+
case of overflow has been fixed.
2446+
2447+
- Issue #14212: The re module didn't retain a reference to buffers it was
2448+
scanning, resulting in segfaults.
2449+
2450+
Tests
2451+
-----
2452+
2453+
- Issue #15304: Fix warning message when os.chdir() fails inside
2454+
test.support.temp_cwd(). Patch by Chris Jerdonek.
2455+
2456+
- Issue #15802: Fix test logic in TestMaildir.test_create_tmp. Patch
2457+
by Serhiy Storchaka.
2458+
2459+
- Issue #15747: ZFS always returns EOPNOTSUPP when attempting to set the
2460+
UF_IMMUTABLE flag (via either chflags or lchflags); refactor affected
2461+
tests in test_posix.py to account for this.
2462+
2463+
- Issue #15285: Refactor the approach for testing connect timeouts using
2464+
two external hosts that have been configured specifically for this type
2465+
of test.
2466+
2467+
- Issue #15615: Add some tests for the json module's handling of invalid
2468+
input data. Patch by Kushal Das.
2469+
2470+
- Issue #15496: Add directory removal helpers for tests on Windows.
2471+
Patch by Jeremy Kloth.
2472+
2473+
- Issue #15467: Move helpers for __sizeof__ tests into test_support.
2474+
Patch by Serhiy Storchaka.
2475+
2476+
- Issue #15320: Make iterating the list of tests thread-safe when running
2477+
tests in multiprocess mode. Patch by Chris Jerdonek.
2478+
2479+
- Issue #15230: Adopted a more systematic approach in the runpy tests
2480+
2481+
- Issue #15300: Ensure the temporary test working directories are in the same
2482+
parent folder when running tests in multiprocess mode from a Python build.
2483+
Patch by Chris Jerdonek.
2484+
2485+
- test_nntplib now tolerates being run from behind NNTP gateways that add
2486+
"X-Antivirus" headers to articles
2487+
2488+
- Issue #15043: test_gdb is now skipped entirely if gdb security settings
2489+
block loading of the gdb hooks
2490+
2491+
- Issue #14026: In test_cmd_line_script, check that sys.argv is populated
2492+
correctly for the various invocation approaches (Patch by Jason Yeo)
2493+
2494+
- Issue #14032: Fix incorrect variable name in test_cmd_line_script debugging
2495+
message (Patch by Jason Yeo)
2496+
2497+
- Issue #14589: Update certificate chain for sha256.tbs-internet.com, fixing
2498+
a test failure in test_ssl.
2499+
2500+
Build
2501+
-----
2502+
2503+
- Issue #15923: fix a mistake in asdl_c.py that resulted in a TypeError after
2504+
2801bf875a24 (see #15801).
2505+
2506+
- Issue #11715: Fix multiarch detection without having Debian development
2507+
tools (dpkg-dev) installed.
2508+
2509+
- Issue #15819: Make sure we can build Python out-of-tree from a readonly
2510+
source directory. (Somewhat related to Issue #9860.)
2511+
2512+
- Issue #15822: Ensure 2to3 grammar pickles are properly installed.
2513+
2514+
- Issue #15560: Fix building _sqlite3 extension on OS X with an SDK.
2515+
2516+
- Issue #8847: Disable COMDAT folding in Windows PGO builds.
2517+
2518+
- Issue #14197: For OS X framework builds, ensure links to the shared
2519+
library are created with the proper ABI suffix.
2520+
2521+
- Issue #14472: Update .gitignore. Patch by Matej Cepl.
2522+
2523+
- The Windows build now uses OpenSSL 1.0.0j and bzip2 1.0.6.
2524+
2525+
- Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban.
2526+
2527+
- Issue #14437: Fix building the _io module under Cygwin.
2528+
2529+
- Issue #14387: Do not include accu.h from Python.h.
2530+
2531+
- Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.
2532+
Based on patch from Hervé Coatanhay.
2533+
2534+
- Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
2535+
2536+
Documentation
2537+
-------------
2538+
2539+
- Issue #16115: Improve subprocess.Popen() documentation around args, shell,
2540+
and executable arguments.
2541+
2542+
- Issue #13498: Clarify docs of os.makedirs()'s exist_ok argument. Done with
2543+
great native-speaker help from R. David Murray.
2544+
2545+
- Issue #15533: Clarify docs and add tests for subprocess.Popen()'s cwd
2546+
argument.
2547+
2548+
- Issue #15979: Improve timeit documentation.
2549+
2550+
- Issue #16036: Improve documentation of built-in int()'s signature and
2551+
arguments.
2552+
2553+
- Issue #15935: Clarification of argparse docs, re: add_argument() type and
2554+
default arguments. Patch contributed by Chris Jerdonek.
2555+
2556+
- Issue #11964: Document a change in v3.2 to the behavior of the indent
2557+
parameter of json encoding operations.
2558+
2559+
- Issue #14674: Add a discussion of the json module's standard compliance.
2560+
Patch by Chris Rebert.
2561+
2562+
- Issue #15630: Add an example for "continue" stmt in the tutorial. Patch by
2563+
Daniel Ellis.
2564+
2565+
- Issue #15444: Use proper spelling for non-ASCII contributor names. Patch
2566+
by Serhiy Storchaka.
2567+
2568+
- Issue 15482: Properly document the default 'level' value for __import__()
2569+
while warning about using negative values.
2570+
2571+
- Issue #15230: Clearly document some of the limitations of the runpy
2572+
module and nudge readers towards importlib when appropriate.
2573+
2574+
- Issue #13557: Clarify effect of giving two different namespaces to exec or
2575+
execfile().
2576+
2577+
- Issue #8799: Fix and improve the threading.Condition documentation.
2578+
2579+
- Issue #14943: Correct a default argument value for winreg.OpenKey
2580+
and correctly list the argument names in the function's explanation.
2581+
2582+
- Issue #14034: added the argparse tutorial.
2583+
2584+
- Issue #15250: Document that filecmp.dircmp compares files shallowly. Patch
2585+
contributed by Chris Jerdonek.
2586+
2587+
Tools/Demos
2588+
-----------
2589+
2590+
- Issue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.
2591+
2592+
- Issue #14695: Fix missing support for starred assignments in
2593+
Tools/parser/unparse.py.
2594+
2595+
2596+
What's New in Python 3.2.3?
2597+
===========================
2598+
2599+
*Release date: 10-Apr-2012*
2600+
2601+
Build
2602+
-----
2603+
2604+
- Issue #14387: Work around a problem building extension modules under Windows
2605+
by undefining ``small`` before use in the Python headers.
2606+
2607+
2608+
What's New in Python 3.2.3 release candidate 2?
2609+
===============================================
2610+
2611+
*Release date: 18-Mar-2012*
2612+
2613+
Library
2614+
-------
2615+
2616+
- Issue #6884: Fix long-standing bugs with MANIFEST.in parsing in distutils
2617+
on Windows.
2618+
2619+
Extension Modules
2620+
-----------------
2621+
2622+
- Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes in the hash
2623+
table internal to the pyexpat module's copy of the expat library to avoid a
2624+
denial of service due to hash collisions. Patch by David Malcolm with some
2625+
modifications by the expat project.
2626+
2627+
2628+
What's New in Python 3.2.3 release candidate 1?
2629+
===============================================
2630+
2631+
*Release date: 24-Feb-2012*
2632+
2633+
Core and Builtins
2634+
-----------------
2635+
2636+
- Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
2637+
environment variable, to provide an opt-in way to protect against denial of
2638+
service attacks due to hash collisions within the dict and set types. Patch
2639+
by David Malcolm, based on work by Victor Stinner.
2640+
2641+
- Issue #14084: Fix a file descriptor leak when importing a module with a
2642+
bad encoding.
2643+
2644+
- Issue #13020: Fix a reference leak when allocating a structsequence object
2645+
fails. Patch by Suman Saha.
2646+
2647+
- Issue #13908: Ready types returned from PyType_FromSpec.
2648+
2649+
- Issue #11235: Fix OverflowError when trying to import a source file whose
2650+
modification time doesn't fit in a 32-bit timestamp.
2651+
2652+
- Fix the builtin module initialization code to store the init function for
2653+
future reinitialization.
2654+
2655+
- Issue #8052: The posix subprocess module would take a long time closing
2656+
all possible file descriptors in the child process rather than just open
2657+
file descriptors. It now closes only the open fds if possible for the
2658+
default close_fds=True behavior.
2659+
2660+
- Issue #13629: Renumber the tokens in token.h so that they match the indexes
2661+
into _PyParser_TokenNames.
2662+
2663+
- Fix the fix for issue #12149: it was incorrect, although it had the side
2664+
effect of appearing to resolve the issue. Thanks to Mark Shannon for
2665+
noticing.
2666+
2667+
- Issue #13505: Pickle bytes objects in a way that is compatible with
2668+
Python 2 when using protocols <= 2.
2669+
2670+
- Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
2671+
given by Campbell Barton).
2672+
2673+
- Issue #7111: Python can now be run without a stdin, stdout or stderr
2674+
stream. It was already the case with Python 2. However, the corresponding
2675+
sys module entries are now set to None (instead of an unusable file object).
2676+
2677+
- Issue #13436: Fix a bogus error message when an AST object was passed
2678+
an invalid integer value.
2679+
2680+
- Issue #13338: Handle all enumerations in _Py_ANNOTATE_MEMORY_ORDER
2681+
to allow compiling extension modules with -Wswitch-enum on gcc.
2682+
Initial patch by Floris Bruynooghe.
2683+
2684+
- Issue #13333: The UTF-7 decoder now accepts lone surrogates (the encoder
2685+
already accepts them).
2686+
2687+
- Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicode
2688+
error handler in interactive mode (when calling into PyOS_Readline()).
2689+
2690+
- Issue #13343: Fix a SystemError when a lambda expression uses a global
2691+
variable in the default value of a keyword-only argument:
2692+
(lambda *, arg=GLOBAL_NAME: None)
2693+
2694+
- Issue #10519: Avoid unnecessary recursive function calls in
2695+
setobject.c.
2696+
2697+
- Issue #10363: Deallocate global locks in Py_Finalize().
2698+
2699+
- Issue #13018: Fix reference leaks in error paths in dictobject.c.
2700+
Patch by Suman Saha.
2701+
2702+
- Issue #1294232: In a few cases involving metaclass inheritance, the
2703+
interpreter would sometimes invoke the wrong metaclass when building a new
2704+
class object. These cases now behave correctly. Patch by Daniel Urban.
2705+
2706+
- Issue #12604: VTRACE macro expanded to no-op in _sre.c to avoid compiler
2707+
warnings. Patch by Josh Triplett and Petri Lehtinen.
2708+
2709+
- Issue #13188: When called without an explicit traceback argument,
2710+
generator.throw() now gets the traceback from the passed exception's
2711+
``__traceback__`` attribute. Patch by Petri Lehtinen.
2712+
2713+
- Issue #7833: Extension modules built using distutils on Windows will no
2714+
longer include a "manifest" to prevent them failing at import time in some
2715+
embedded situations.
2716+
2717+
- Issue #13063: the Windows error ERROR_NO_DATA (numbered 232 and described
2718+
as "The pipe is being closed") is now mapped to POSIX errno EPIPE
2719+
(previously EINVAL).
2720+
2721+
- Issue #12911: Fix memory consumption when calculating the repr() of huge
2722+
tuples or lists.
2723+
2724+
- Issue #7732: Don't open a directory as a file anymore while importing a
2725+
module. Ignore the direcotry if its name matchs the module name (e.g.
2726+
"__init__.py") and raise a ImportError instead.
2727+
2728+
- Issue #13021: Missing decref on an error path. Thanks to Suman Saha for
2729+
finding the bug and providing a patch.
2730+
2731+
- Issue #12973: Fix overflow checks that relied on undefined behaviour in
2732+
list_repeat (listobject.c) and islice_next (itertoolsmodule.c). These bugs
2733+
caused test failures with recent versions of Clang.
2734+
2735+
- Issue #12802: the Windows error ERROR_DIRECTORY (numbered 267) is now
2736+
mapped to POSIX errno ENOTDIR (previously EINVAL).
2737+
2738+
- Issue #9200: The str.is* methods now work with strings that contain non-BMP
2739+
characters even in narrow Unicode builds.
2740+
2741+
- Issue #12791: Break reference cycles early when a generator exits with
2742+
an exception.
2743+
2744+
- Issue #12266: Fix str.capitalize() to correctly uppercase/lowercase
2745+
titlecased and cased non-letter characters.
2746+
2747+
Library
2748+
-------
2749+
24322750
- HTMLParser is now able to handle slashes in the start tag.
24332751

24342752
- Issue #13641: Decoding functions in the base64 module now accept ASCII-only

0 commit comments

Comments
 (0)