• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.. bpo: 3156
2.. date: 7059
3.. nonce: hdm5KM
4.. release date: 17-Jul-2008
5.. section: Core and Builtins
6
7Fix inconsistent behavior of the bytearray type: all its methods now allow
8for items objects that can be converted to an integer using
9operator.index().
10
11..
12
13.. bpo: 3360
14.. date: 7058
15.. nonce: IrjlMc
16.. section: Core and Builtins
17
18Fix incorrect parsing of '020000000000.0', which produced a ValueError
19instead of giving the correct float.
20
21..
22
23.. bpo: 3083
24.. date: 7057
25.. nonce: -lGbUY
26.. section: Core and Builtins
27
28Add alternate (#) formatting for bin, oct, hex output for str.format().
29This adds the prefix 0b, 0o, or 0x, respectively.
30
31..
32
33.. bpo: 3008
34.. date: 7056
35.. nonce: YsZO12
36.. section: Core and Builtins
37
38the float type has a new instance method 'float.hex' and a new class method
39'float.fromhex' to convert floating-point numbers to and from hexadecimal
40strings, respectively.
41
42..
43
44.. bpo: 2235
45.. date: 7055
46.. nonce: 8Brs_N
47.. section: Core and Builtins
48
49__hash__ is once again inherited by default. To allow collections.Hashable
50to remain meaningful in the presence of the default hash implementation
51(object.__hash__), it is now possible to explicit block inheritance of hash
52by setting __hash__=None at the Python level, or
53tp_hash=PyObject_HashNotImplemented at the C level.
54
55..
56
57.. bpo: 3221
58.. date: 7054
59.. nonce: -0HAEB
60.. section: Core and Builtins
61
62Issue a RuntimeWarning instead of raising SystemError if the parent module
63cannot be found while performing an absolute import. This means that an
64incorrectly defined __package__ attribute will now only prevent relative
65imports in that module rather than causing all imports from that module to
66fail.
67
68..
69
70.. bpo: 2517
71.. date: 7053
72.. nonce: YHwfKp
73.. section: Core and Builtins
74
75Allow unicode messages in Exceptions again by correctly bypassing the
76instance dictionary when looking up __unicode__ on new-style classes.
77
78..
79
80.. bpo: 3242
81.. date: 7052
82.. nonce: uFneM1
83.. section: Core and Builtins
84
85Fix a crash inside the print statement, if sys.stdout is set to a custom
86object whose write() method happens to install another file in sys.stdout.
87
88..
89
90.. bpo: 3088
91.. date: 7051
92.. nonce: bSHlNi
93.. section: Core and Builtins
94
95Corrected a race condition in classes derived from threading.local: the
96first member set by a thread could be saved in another thread's dictionary.
97
98..
99
100.. bpo: 3004
101.. date: 7050
102.. nonce: P4g_vU
103.. section: Core and Builtins
104
105Minor change to slice.indices(): the start and stop arguments are now
106treated identically, making the behaviour easier to describe and understand.
107For example, slice(None, -10, 1).indices(9) now returns (0, 0, 1) instead of
108(0, -1, 1), and slice(None, 10, -1).indices(10) returns (9, 9, -1) instead
109of (9, 10, -1).
110
111..
112
113.. bpo: 3219
114.. date: 7049
115.. nonce: 6awi9c
116.. section: Core and Builtins
117
118Calling a function with repeated keyword arguments, f(a=2, a=23), would not
119cause a syntax error.  This was a regression from 2.4 caused by the switch
120to the new compiler.
121
122..
123
124.. bpo: 2862
125.. date: 7048
126.. nonce: R-Avyy
127.. section: Core and Builtins
128
129Make int and float freelist management consistent with other freelists.
130Changes their CompactFreeList apis into ClearFreeList apis and calls them
131via gc.collect().
132
133..
134
135.. bpo: 3554
136.. date: 7047
137.. nonce: _5DO8B
138.. section: Library
139
140ctypes.string_at and ctypes.wstring_at did call Python api functions without
141holding the GIL, which could lead to a fatal error when they failed.
142
143..
144
145.. bpo: 799428
146.. date: 7046
147.. nonce: kA7sJS
148.. section: Library
149
150Fix Tkinter.Misc._nametowidget to unwrap Tcl command objects.
151
152..
153
154.. bpo: 3395
155.. date: 7045
156.. nonce: j6q9M6
157.. section: Library
158
159fix reference in test_multiprocessing to old debugInfo method
160
161..
162
163.. bpo: 3312
164.. date: 7044
165.. nonce: pGNZVY
166.. section: Library
167
168Fix two crashes in sqlite3.
169
170..
171
172.. bpo: 1608818
173.. date: 7043
174.. nonce: FtvGGk
175.. section: Library
176
177Fix misbehavior in os.listdir() if readdir() fails.
178
179..
180
181.. bpo: 3125
182.. date: 7042
183.. nonce: fEAPxY
184.. section: Library
185
186Remove copy_reg in multiprocessing and replace it with
187ForkingPickler.register() to resolve conflict with ctypes.
188
189..
190
191.. bpo: 3090
192.. date: 7041
193.. nonce: Dl5Ar4
194.. section: Library
195
196Fixed ARCHFLAGS parsing on OS/X
197
198..
199
200.. bpo: 3313
201.. date: 7040
202.. nonce: wvm6HP
203.. section: Library
204
205Fixed a crash when a failed dlopen() call does not set a valid dlerror()
206message.
207
208..
209
210.. bpo: 3258
211.. date: 7039
212.. nonce: JBBmgi
213.. section: Library
214
215Fixed a crash when a ctypes POINTER type to an incomplete structure was
216created.
217
218..
219
220.. bpo: 3339
221.. date: 7038
222.. nonce: L4Fn9f
223.. section: Library
224
225dummy_thread.acquire() should not return None.
226
227..
228
229.. bpo: 3285
230.. date: 7037
231.. nonce: 9B3FF_
232.. section: Library
233
234Fractions from_float() and from_decimal() accept Integral arguments.
235
236..
237
238.. bpo: 3301
239.. date: 7036
240.. nonce: 063oaQ
241.. section: Library
242
243Bisect module behaved badly when lo was negative.
244
245..
246
247.. bpo: 839496
248.. date: 7035
249.. nonce: pl02h-
250.. section: Library
251
252SimpleHTTPServer used to open text files in text mode. This is both
253unnecessary (HTTP allows text content to be sent in several forms) and wrong
254because the actual transmitted size could differ from the content-length.
255The problem had been corrected in the 2.4 branch, but never merged into
256trunk.
257
258..
259
260.. bpo: 2663
261.. date: 7034
262.. nonce: j037TB
263.. section: Library
264
265add filtering capability to shutil.copytree().
266
267..
268
269.. bpo: 1622
270.. date: 7033
271.. nonce: Yi7nBf
272.. section: Library
273
274Correct interpretation of various ZIP header fields.
275
276..
277
278.. bpo: 1526
279.. date: 7032
280.. nonce: GTmFzB
281.. section: Library
282
283Allow more than 64k files to be added to Zip64 file.
284
285..
286
287.. bpo: 1746
288.. date: 7031
289.. nonce: 9HT8Dq
290.. section: Library
291
292Correct handling of zipfile archive comments (previously archives with
293comments over 4k were flagged as invalid). Allow writing Zip files with
294archives by setting the 'comment' attribute of a ZipFile.
295
296..
297
298.. bpo: 449227
299.. date: 7030
300.. nonce: 5LsZeI
301.. section: Library
302
303The rlcompleter module now adds "(" to callable objects when completed.
304
305..
306
307.. bpo: 3190
308.. date: 7029
309.. nonce: VtDnou
310.. section: Library
311
312Pydoc now hides the automatic module attribute __package__ (the handling is
313now the same as that of other special attributes like __name__).
314
315..
316
317.. bpo: 2885
318.. date: 7028
319.. nonce: uiHEVr
320.. section: Library
321
322The urllib.urlopen() function has been deprecated for removal in Python 3.0
323in favor of urllib2.urlopen().
324
325..
326
327.. bpo: 2113
328.. date: 7027
329.. nonce: bYWyrt
330.. section: Library
331
332Fix error in subprocess.Popen if the select system call is interrupted by a
333signal.
334
335..
336
337.. bpo: 3309
338.. date: 7026
339.. nonce: Y7DVRF
340.. section: Library
341
342Fix bz2.BZFile iterator to release its internal lock properly when raising
343an exception due to the bz2file being closed. Prevents a deadlock.
344
345..
346
347.. bpo: 3094
348.. date: 7025
349.. nonce: DuUvkr
350.. section: Library
351
352httplib.HTTPSConnection Host: headers no longer include the redundant ":443"
353port number designation when the connection is using the default https port
354(443).
355
356..
357
358.. bpo: 874900
359.. date: 7024
360.. nonce: O4a6qo
361.. section: Library
362
363after an os.fork() call the threading module state is cleaned up in the
364child process to prevent deadlock and report proper thread counts if the new
365process uses the threading module.
366
367..
368
369.. bpo: 0
370.. date: 7023
371.. nonce: qnkMJb
372.. section: Tests
373
374test.test_support.catch_warning now keeps track of all warnings it sees and
375is now better documented. Explicit unit tests for this context manager have
376been added to test_warnings.
377
378..
379
380.. bpo: 3215
381.. date: 7022
382.. nonce: JA6IUI
383.. section: Build
384
385Build sqlite3 as sqlite3.dll, not sqlite3.pyd.
386
387..
388
389.. bpo: 0
390.. date: 7021
391.. nonce: A25wbC
392.. section: Documentation
393
394Document that robotparser has been renamed to urllib.robotparser in Python
3953.0.
396
397..
398
399.. bpo: 0
400.. date: 7020
401.. nonce: k24KZW
402.. section: Documentation
403
404Document that urlparse has been renamed to urllib.parse in Python 3.0.
405
406..
407
408.. bpo: 0
409.. date: 7019
410.. nonce: wtGKB7
411.. section: Documentation
412
413Document that urllib2 is split across multiple modules and renamed in Python
4143.0.
415
416..
417
418.. bpo: 0
419.. date: 7018
420.. nonce: kWfaYS
421.. section: Documentation
422
423Document that urllib is split across multiple modules and renamed in Python
4243.0.
425