LEFT | RIGHT |
1 +++++++++++ | 1 +++++++++++ |
2 Python News | 2 Python News |
3 +++++++++++ | 3 +++++++++++ |
4 | 4 |
5 What's New in Python 3.2 Beta 1? | 5 What's New in Python 3.2 Beta 1? |
6 ================================ | 6 ================================ |
7 | 7 |
8 *Release date: XX-Dec-2010* | 8 *Release date: XX-Dec-2010* |
9 | 9 |
10 Core and Builtins | 10 Core and Builtins |
11 ----------------- | 11 ----------------- |
| 12 |
| 13 - Issue #10474: range().count() should return integers. |
| 14 |
| 15 - Issue #10255: Fix reference leak in Py_InitializeEx(). Patch by Neil |
| 16 Schemenauer. |
| 17 |
| 18 - Issue #4925: Add filename to error message when executable can't be found in |
| 19 subprocess. |
| 20 |
| 21 - Issue #1574217: isinstance now catches only AttributeError, rather than |
| 22 masking all errors. |
| 23 |
| 24 - Issue #10391: Don't dereference invalid memory in error messages in the ast |
| 25 module. |
12 | 26 |
13 - Issue #9518: Extend the PyModuleDef_HEAD_INIT macro to explicitly | 27 - Issue #9518: Extend the PyModuleDef_HEAD_INIT macro to explicitly |
14 zero-initialize all fields, fixing compiler warnings seen when building | 28 zero-initialize all fields, fixing compiler warnings seen when building |
15 extension modules with gcc with "-Wmissing-field-initializers" (implied | 29 extension modules with gcc with "-Wmissing-field-initializers" (implied |
16 by "-W") | 30 by "-W") |
17 | 31 |
18 Library | 32 Library |
19 ------- | 33 ------- |
20 | 34 |
| 35 - Issue #10220: Added inspect.getgeneratorstate. Initial patch by |
| 36 Rodolpho Eckhardt. |
| 37 |
| 38 - Issue #10453: compileall now uses argparse instead of getopt, and thus |
| 39 provides clean output when called with '-h'. |
| 40 |
| 41 - Issue #8078: Add constants for higher baud rates in the termios module. |
| 42 Patch by Rodolpho Eckhardt. |
| 43 |
| 44 - Issue #10407: Fix two NameErrors in distutils. |
| 45 |
| 46 - Issue #10371: Deprecated undocumented functions in the trace module. |
| 47 |
| 48 - Issue #10467: Fix BytesIO.readinto() after seeking into a position after the |
| 49 end of the file. |
| 50 |
| 51 - Issue #1682942: configparser supports alternative option/value delimiters. |
| 52 |
| 53 - Issue #5412: configparser supports mapping protocol access. |
| 54 |
| 55 - Issue #9411: configparser supports specifying encoding for read operations. |
| 56 |
| 57 - Issue #9421: configparser's getint(), getfloat() and getboolean() methods |
| 58 accept vars and default arguments just like get() does. |
| 59 |
| 60 - Issue #9452: configparser supports reading from strings and dictionaries. |
| 61 |
| 62 - configparser: accepted INI file structure is now customizable, including |
| 63 comment prefixes, name of the DEFAULT section, empty lines in multiline |
| 64 values, and indentation. |
| 65 |
| 66 - Issue 10326: unittest.TestCase instances can be pickled. |
| 67 |
| 68 - Issue 9926: Wrapped TestSuite subclass does not get __call__ executed. |
| 69 |
| 70 - Issue #9920: Skip tests for cmath.atan and cmath.atanh applied to |
| 71 complex zeros on systems where the log1p function fails to respect |
| 72 the sign of zero. This fixes a test failure on AIX. |
| 73 |
| 74 - Issue #9732: Addition of getattr_static to the inspect module. |
| 75 |
21 - Issue #10446: Module documentation generated by pydoc now links to a | 76 - Issue #10446: Module documentation generated by pydoc now links to a |
22 version-specific online reference manual. | 77 version-specific online reference manual. |
23 | 78 |
24 - Make the 'No module named' exception message from importlib consistent. | 79 - Make the 'No module named' exception message from importlib consistent. |
25 | 80 |
26 - Issue #10443: Add the SSLContext.set_default_verify_paths() method. | 81 - Issue #10443: Add the SSLContext.set_default_verify_paths() method. |
27 | 82 |
28 - Issue #10440: Support RUSAGE_THREAD as a constant in the resource module. | 83 - Issue #10440: Support RUSAGE_THREAD as a constant in the resource module. |
29 Patch by Robert Collins. | 84 Patch by Robert Collins. |
30 | 85 |
31 - Issue #10429: IMAP.starttls() stored the capabilities as bytes objects, | 86 - Issue #10429: IMAP.starttls() stored the capabilities as bytes objects, |
32 rather than strings. | 87 rather than strings. |
33 | 88 |
34 C-API | 89 C-API |
35 ----- | 90 ----- |
36 | 91 |
37 - Loosen PyArg_ValidateKeywordArguments to allow dict subclasses. | 92 - Loosen PyArg_ValidateKeywordArguments to allow dict subclasses. |
38 | 93 |
39 Tests | 94 Tests |
40 ----- | 95 ----- |
41 | 96 |
42 - Issue #8886: Use context managers throughout test_zipfile. Patch by | 97 - Issue #9424: Replace deprecated assert* methods in the Python test suite. |
43 Eric Carstensen. | 98 |
| 99 - Do not fail test_socket when the IP address of the local hostname |
| 100 cannot be looked up. |
| 101 |
| 102 - Issue #8886: Use context managers throughout test_zipfile. Patch by Eric |
| 103 Carstensen. |
| 104 |
| 105 Build |
| 106 ----- |
| 107 |
| 108 - Issue #10325: Fix two issues in the fallback definitions for PY_ULLONG_MAX and |
| 109 PY_LLONG_MAX that made them unsuitable for use in preprocessor conditionals. |
44 | 110 |
45 | 111 |
46 What's New in Python 3.2 Alpha 4? | 112 What's New in Python 3.2 Alpha 4? |
47 ================================= | 113 ================================= |
48 | 114 |
49 *Release date: 13-Nov-2010* | 115 *Release date: 13-Nov-2010* |
50 | 116 |
51 Core and Builtins | 117 Core and Builtins |
52 ----------------- | 118 ----------------- |
53 | 119 |
54 - Issue #10372: Import the warnings module only after the IO library is | 120 - Issue #10372: Import the warnings module only after the IO library is |
55 initialized, so as to avoid bootstrap issues with the '-W' option. | 121 initialized, so as to avoid bootstrap issues with the '-W' option. |
56 | 122 |
57 - Issue #10293: Remove obsolete field in the PyMemoryView structure, unused | 123 - Issue #10293: Remove obsolete field in the PyMemoryView structure, unused |
58 undocumented value PyBUF_SHADOW, and strangely-looking code in | 124 undocumented value PyBUF_SHADOW, and strangely-looking code in |
59 PyMemoryView_GetContiguous. | 125 PyMemoryView_GetContiguous. |
60 | 126 |
61 - Issue #6081: Add str.format_map, similar to str.format(**mapping). | 127 - Issue #6081: Add str.format_map(), similar to ``str.format(**mapping)``. |
62 | 128 |
63 - If FileIO.__init__ fails, close the file descriptor. | 129 - If FileIO.__init__ fails, close the file descriptor. |
64 | 130 |
65 - Issue #10221: dict.pop(k) now has a key error message that includes the | 131 - Issue #10221: dict.pop(k) now has a key error message that includes the |
66 missing key (same message d[k] returns for missing keys). | 132 missing key (same message d[k] returns for missing keys). |
67 | 133 |
68 - Issue #5437: A preallocated MemoryError instance should not keep traceback | 134 - Issue #5437: A preallocated MemoryError instance should not keep traceback |
69 data (including local variables caught in the stack trace) alive infinitely. | 135 data (including local variables caught in the stack trace) alive infinitely. |
70 | 136 |
71 - Issue #10186: Fix the SyntaxError caret when the offset is equal to the length | 137 - Issue #10186: Fix the SyntaxError caret when the offset is equal to the length |
(...skipping 25 matching lines...) Expand all Loading... |
97 descriptor. | 163 descriptor. |
98 | 164 |
99 - Issue #9418: Moved private string methods ``_formatter_parser`` and | 165 - Issue #9418: Moved private string methods ``_formatter_parser`` and |
100 ``_formatter_field_name_split`` into a new ``_string`` module. | 166 ``_formatter_field_name_split`` into a new ``_string`` module. |
101 | 167 |
102 - Issue #9992: Remove PYTHONFSENCODING environment variable. | 168 - Issue #9992: Remove PYTHONFSENCODING environment variable. |
103 | 169 |
104 Library | 170 Library |
105 ------- | 171 ------- |
106 | 172 |
107 - Issue #10356: hash(Decimal("sNaN")) now raises ValueError instead of | 173 - Issue #10465: fix broken delegating of attributes by gzip._PaddedFile. |
108 TypeError. | |
109 | 174 |
110 - Issue #10356: Decimal.__hash__(-1) should return -2. | 175 - Issue #10356: Decimal.__hash__(-1) should return -2. |
111 | 176 |
112 - Issue #1553375: logging: Added stack_info kwarg to display stack information. | 177 - Issue #1553375: logging: Added stack_info kwarg to display stack information. |
113 | 178 |
114 - Issue #5111: IPv6 Host in the Header is wrapped inside [ ]. Patch by Chandru. | 179 - Issue #5111: IPv6 Host in the Header is wrapped inside [ ]. Patch by Chandru. |
115 | 180 |
116 - Fix Fraction.__hash__ so that Fraction.__hash__(-1) is -2. (See also issue | 181 - Fix Fraction.__hash__ so that Fraction.__hash__(-1) is -2. (See also issue |
117 #10356.) | 182 #10356.) |
118 | 183 |
119 - Issue #4471: Add the IMAP.starttls() method to enable encryption on standard | 184 - Issue #4471: Add the IMAP.starttls() method to enable encryption on standard |
120 IMAP4 connections. Original patch by Lorenzo M. Catucci. | 185 IMAP4 connections. Original patch by Lorenzo M. Catucci. |
121 | 186 |
122 - Issue #1466065: Add 'validate' option to base64.b64decode to raise an error if | 187 - Issue #1466065: Add 'validate' option to base64.b64decode to raise an error if |
123 there are non-base64 alphabet characters in the input. | 188 there are non-base64 alphabet characters in the input. |
124 | 189 |
125 - Issue #10386: Add __all__ to token module; this simplifies importing in | 190 - Issue #10386: Add __all__ to token module; this simplifies importing in |
126 tokenize module and prevents leaking of private names through import *. | 191 tokenize module and prevents leaking of private names through ``import *``. |
127 | 192 |
128 - Issue #4471: Properly shutdown socket in IMAP.shutdown(). Patch by Lorenzo | 193 - Issue #4471: Properly shutdown socket in IMAP.shutdown(). Patch by Lorenzo |
129 M. Catucci. | 194 M. Catucci. |
130 | 195 |
131 - Fix IMAP.login() to work properly. | 196 - Fix IMAP.login() to work properly. |
132 | 197 |
133 - Issue #9244: multiprocessing pool worker processes could terminate | 198 - Issue #9244: multiprocessing pool worker processes could terminate |
134 unexpectedly if the return value of a task could not be pickled. Only the | 199 unexpectedly if the return value of a task could not be pickled. Only the |
135 ``repr`` of such errors are now sent back, wrapped in an | 200 ``repr`` of such errors are now sent back, wrapped in an |
136 ``MaybeEncodingError`` exception. | 201 ``MaybeEncodingError`` exception. |
(...skipping 4421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4558 from test support, which does the conversion. | 4623 from test support, which does the conversion. |
4559 | 4624 |
4560 - Issue #5083: New 'gui' resource for regrtest. | 4625 - Issue #5083: New 'gui' resource for regrtest. |
4561 | 4626 |
4562 | 4627 |
4563 Docs | 4628 Docs |
4564 ---- | 4629 ---- |
4565 | 4630 |
4566 | 4631 |
4567 **(For information about older versions, consult the HISTORY file.)** | 4632 **(For information about older versions, consult the HISTORY file.)** |
LEFT | RIGHT |