1.. bpo: 10221
2.. date: 8273
3.. nonce: 4NppnX
4.. release date: 2010-11-13
5.. section: Core and Builtins
6
7dict.pop(k) now has a key error message that includes the missing key (same
8message d[k] returns for missing keys).
9
10..
11
12.. bpo: 10125
13.. date: 8272
14.. nonce: Zs0ZsA
15.. section: Core and Builtins
16
17Don't segfault when the iterator passed to ``file.writelines()`` closes the
18file.
19
20..
21
22.. bpo: 10186
23.. date: 8271
24.. nonce: _LgTkO
25.. section: Core and Builtins
26
27Fix the SyntaxError caret when the offset is equal to the length of the
28offending line.
29
30..
31
32.. bpo: 9997
33.. date: 8270
34.. nonce: mGq7Dd
35.. section: Core and Builtins
36
37Don't let the name "top" have special significance in scope resolution.
38
39..
40
41.. bpo: 9862
42.. date: 8269
43.. nonce: 18PjRQ
44.. section: Core and Builtins
45
46Compensate for broken PIPE_BUF in AIX by hard coding its value as the
47default 512 when compiling on AIX.
48
49..
50
51.. bpo: 9675
52.. date: 8268
53.. nonce: grRY0l
54.. section: Core and Builtins
55
56CObject use is marked as a Py3k warning, not a deprecation warning.
57
58..
59
60.. bpo: 10068
61.. date: 8267
62.. nonce: CYBiNW
63.. section: Core and Builtins
64
65Global objects which have reference cycles with their module's dict are now
66cleared again. This causes issue #7140 to appear again.
67
68..
69
70.. bpo: 9869
71.. date: 8266
72.. nonce: gwgHCl
73.. section: Core and Builtins
74
75Make long() and PyNumber_Long return something of type long for a class
76whose __long__ method returns a plain int.  This fixes an interpreter crash
77when initializing an instance of a long subclass from an object whose
78__long__ method returns a plain int.
79
80..
81
82.. bpo: 10006
83.. date: 8265
84.. nonce: QMA2kC
85.. section: Core and Builtins
86
87type.__abstractmethods__ now raises an AttributeError.
88
89..
90
91.. bpo: 9797
92.. date: 8264
93.. nonce: YxisFn
94.. section: Core and Builtins
95
96pystate.c wrongly assumed that zero couldn't be a valid thread-local storage
97key.
98
99..
100
101.. bpo: 4947
102.. date: 8263
103.. nonce: abA0AT
104.. section: Core and Builtins
105
106The write() method of sys.stdout and sys.stderr uses their encoding and
107errors attributes instead of using utf-8 in strict mode, to get the same
108behaviour than the print statement.
109
110..
111
112.. bpo: 9737
113.. date: 8262
114.. nonce: JlusIM
115.. section: Core and Builtins
116
117Fix a crash when trying to delete a slice or an item from a memoryview
118object.
119
120..
121
122.. bpo: 0
123.. date: 8261
124.. nonce: MI1h1F
125.. section: Core and Builtins
126
127Restore GIL in nis_cat in case of error.
128
129..
130
131.. bpo: 9688
132.. date: 8260
133.. nonce: PTAKBL
134.. section: Core and Builtins
135
136__basicsize__ and __itemsize__ must be accessed as Py_ssize_t.
137
138..
139
140.. bpo: 8530
141.. date: 8259
142.. nonce: 4OlxZq
143.. section: Core and Builtins
144
145Prevent stringlib fastsearch from reading beyond the front of an array.
146
147..
148
149.. bpo: 83755
150.. date: 8258
151.. nonce: LFoGKM
152.. section: Core and Builtins
153
154Implicit set-to-frozenset conversion was not thread-safe.
155
156..
157
158.. bpo: 9416
159.. date: 8257
160.. nonce: EqecrW
161.. section: Core and Builtins
162
163Fix some issues with complex formatting where the output with no type
164specifier failed to match the str output:
165
166- format(complex(-0.0, 2.0), '-') omitted the real part from the output,   -
167format(complex(0.0, 2.0), '-') included a sign and parentheses.
168
169..
170
171.. bpo: 7616
172.. date: 8256
173.. nonce: AOGmSj
174.. section: Core and Builtins
175
176Fix copying of overlapping memoryview slices with the Intel compiler.
177
178..
179
180.. bpo: 9926
181.. date: 8255
182.. nonce: J4BGGY
183.. section: Library
184
185Wrapped TestSuite subclass does not get __call__ executed
186
187..
188
189.. bpo: 4471
190.. date: 8254
191.. nonce: ZJDlrs
192.. section: Library
193
194Properly shutdown socket in IMAP.shutdown().  Patch by Lorenzo M. Catucci.
195
196..
197
198.. bpo: 10126
199.. date: 8253
200.. nonce: zvTZV-
201.. section: Library
202
203Fix distutils' test_build when Python was built with --enable-shared.
204
205..
206
207.. bpo: 0
208.. date: 8252
209.. nonce: NFeWRc
210.. section: Library
211
212Fix typo in one sdist option (medata-check).
213
214..
215
216.. bpo: 9199
217.. date: 8251
218.. nonce: 8WF_Pp
219.. section: Library
220
221Fix incorrect use of distutils.cmd.Command.announce.
222
223..
224
225.. bpo: 1718574
226.. date: 8250
227.. nonce: iqLV20
228.. section: Library
229
230Fix options that were supposed to accept arguments but did not in
231build_clib.
232
233..
234
235.. bpo: 9281
236.. date: 8249
237.. nonce: 0xYNfM
238.. section: Library
239
240Prevent race condition with mkdir in distutils.  Patch by Arfrever.
241
242..
243
244.. bpo: 10229
245.. date: 8248
246.. nonce: 10oNS7
247.. section: Library
248
249Fix caching error in gettext.
250
251..
252
253.. bpo: 10252
254.. date: 8247
255.. nonce: pGhEYO
256.. section: Library
257
258Close file objects in a timely manner in distutils code and tests.  Patch by
259Brian Brazil, completed by Éric Araujo.
260
261..
262
263.. bpo: 10311
264.. date: 8246
265.. nonce: u1t7up
266.. section: Library
267
268The signal module now restores errno before returning from its low-level
269signal handler.  Patch by Hallvard B Furuseth.
270
271..
272
273.. bpo: 10038
274.. date: 8245
275.. nonce: 5EKcD7
276.. section: Library
277
278json.loads() on str should always return unicode (regression from Python
2792.6).  Patch by Walter Dörwald.
280
281..
282
283.. bpo: 120176
284.. date: 8244
285.. nonce: 9k2NaP
286.. section: Library
287
288Wrapped TestSuite subclass does not get __call__ executed.
289
290..
291
292.. bpo: 6706
293.. date: 8243
294.. nonce: Es-Yrw
295.. section: Library
296
297asyncore accept() method no longer raises EWOULDBLOCK/ECONNABORTED on
298incomplete connection attempt but returns None instead.
299
300..
301
302.. bpo: 10266
303.. date: 8242
304.. nonce: BZ9duO
305.. section: Library
306
307uu.decode didn't close in_file explicitly when it was given as a filename.
308Patch by Brian Brazil.
309
310..
311
312.. bpo: 10246
313.. date: 8241
314.. nonce: NPG3oL
315.. section: Library
316
317uu.encode didn't close file objects explicitly when filenames were given to
318it.  Patch by Brian Brazil.
319
320..
321
322.. bpo: 10253
323.. date: 8240
324.. nonce: TL1F90
325.. section: Library
326
327FileIO leaks a file descriptor when trying to open a file for append that
328isn't seekable.  Patch by Brian Brazil.
329
330..
331
332.. bpo: 6105
333.. date: 8239
334.. nonce: qt9xTV
335.. section: Library
336
337json.dumps now respects OrderedDict's iteration order.
338
339..
340
341.. bpo: 9295
342.. date: 8238
343.. nonce: M7y0mB
344.. section: Library
345
346Fix a crash under Windows when calling close() on a file object with custom
347buffering from two threads at once.
348
349..
350
351.. bpo: 5027
352.. date: 8237
353.. nonce: 6mYRNc
354.. section: Library
355
356The standard ``xml`` namespace is now understood by
357xml.sax.saxutils.XMLGenerator as being bound to
358http://www.w3.org/XML/1998/namespace.  Patch by Troy J. Farrell.
359
360..
361
362.. bpo: 10163
363.. date: 8236
364.. nonce: Lrvd6I
365.. section: Library
366
367Skip unreadable registry keys during mimetypes initialization.
368
369..
370
371.. bpo: 5117
372.. date: 8235
373.. nonce: FzD7qd
374.. section: Library
375
376Fixed root directory related issue on posixpath.relpath() and
377ntpath.relpath().
378
379..
380
381.. bpo: 9409
382.. date: 8234
383.. nonce: HRnhHT
384.. section: Library
385
386Fix the regex to match all kind of filenames, for interactive debugging in
387doctests.
388
389..
390
391.. bpo: 6612
392.. date: 8233
393.. nonce: qaqnnh
394.. section: Library
395
396Fix site and sysconfig to catch os.getcwd() error, eg. if the current
397directory was deleted. Patch written by W. Trevor King.
398
399..
400
401.. bpo: 10045
402.. date: 8232
403.. nonce: iz6KpQ
404.. section: Library
405
406Improved performance when writing after seeking past the end of the "file"
407in cStringIO.
408
409..
410
411.. bpo: 9948
412.. date: 8231
413.. nonce: FOv8kp
414.. section: Library
415
416Fixed problem of losing filename case information.
417
418..
419
420.. bpo: 9437
421.. date: 8230
422.. nonce: a95HEb
423.. section: Library
424
425Fix building C extensions with non-default LDFLAGS.
426
427..
428
429.. bpo: 9759
430.. date: 8229
431.. nonce: aGsQic
432.. section: Library
433
434GzipFile now raises ValueError when an operation is attempted after the file
435is closed.  Patch by Jeffrey Finkelstein.
436
437..
438
439.. bpo: 9042
440.. date: 8228
441.. nonce: dQTK_C
442.. section: Library
443
444Fix interaction of custom translation classes and caching in gettext.
445
446..
447
448.. bpo: 9065
449.. date: 8227
450.. nonce: PTsv6_
451.. section: Library
452
453tarfile no longer uses "root" as the default for the uname and gname field.
454
455..
456
457.. bpo: 1050268
458.. date: 8226
459.. nonce: oOtGVD
460.. section: Library
461
462parseaddr now correctly quotes double quote and backslash characters that
463appear inside quoted strings in email addresses.
464
465..
466
467.. bpo: 10004
468.. date: 8225
469.. nonce: NTY_zM
470.. section: Library
471
472quoprimime no longer generates a traceback when confronted with invalid
473characters after '=' in a Q-encoded word.
474
475..
476
477.. bpo: 9950
478.. date: 8224
479.. nonce: omOgj_
480.. section: Library
481
482Fix socket.sendall() crash or misbehaviour when a signal is received.  Now
483sendall() properly calls signal handlers if necessary, and retries sending
484if these returned successfully, including on sockets with a timeout.
485
486..
487
488.. bpo: 9947
489.. date: 8223
490.. nonce: YCbARo
491.. section: Library
492
493logging: Fixed locking bug in stopListening.
494
495..
496
497.. bpo: 9945
498.. date: 8222
499.. nonce: DTIygY
500.. section: Library
501
502logging: Fixed locking bugs in addHandler/removeHandler.
503
504..
505
506.. bpo: 9936
507.. date: 8221
508.. nonce: evd1vv
509.. section: Library
510
511Fixed executable lines' search in the trace module.
512
513..
514
515.. bpo: 9928
516.. date: 8220
517.. nonce: S5LHD8
518.. section: Library
519
520Properly initialize the types exported by the bz2 module.
521
522..
523
524.. bpo: 9854
525.. date: 8219
526.. nonce: DxDKln
527.. section: Library
528
529The default read() implementation in io.RawIOBase now handles non-blocking
530readinto() returning None correctly.
531
532..
533
534.. bpo: 9729
535.. date: 8218
536.. nonce: mSCrBH
537.. section: Library
538
539Fix the signature of SSLSocket.recvfrom() and SSLSocket.sendto() to match
540the corresponding socket methods.  Also, fix various SSLSocket methods to
541raise socket.error rather than an unhelpful TypeError when called on an
542unconnected socket.  Original patch by Andrew Bennetts.
543
544..
545
546.. bpo: 9826
547.. date: 8217
548.. nonce: OHvlzj
549.. section: Library
550
551OrderedDict.__repr__ can now handle self-referential values:   d['x'] = d.
552
553..
554
555.. bpo: 767645
556.. date: 8216
557.. nonce: YgbDPp
558.. section: Library
559
560Set os.path.supports_unicode_filenames to True on Mac OS X.
561
562..
563
564.. bpo: 9837
565.. date: 8215
566.. nonce: EZowT2
567.. section: Library
568
569The read() method of ZipExtFile objects (as returned by ZipFile.open())
570could return more bytes than requested.
571
572..
573
574.. bpo: 9825
575.. date: 8214
576.. nonce: MVYNUl
577.. section: Library
578
579removed __del__ from the definition of collections.OrderedDict. This
580prevents user-created self-referencing ordered dictionaries from becoming
581permanently uncollectable GC garbage.  The downside is that removing __del__
582means that the internal doubly-linked list has to wait for GC collection
583rather than freeing memory immediately when the refcnt drops to zero.
584
585..
586
587.. bpo: 9816
588.. date: 8213
589.. nonce: jOgfeD
590.. section: Library
591
592random.Random.jumpahead(n) did not produce a sufficiently different internal
593state for small values of n.  Fixed by salting the value.
594
595..
596
597.. bpo: 9792
598.. date: 8212
599.. nonce: 6d8KN7
600.. section: Library
601
602In case of connection failure, socket.create_connection() would swallow the
603exception and raise a new one, making it impossible to fetch the original
604errno, or to filter timeout errors.  Now the original error is re-raised.
605
606..
607
608.. bpo: 9758
609.. date: 8211
610.. nonce: bTCX3s
611.. section: Library
612
613When fcntl.ioctl() was called with mutable_flag set to True, and the passed
614buffer was exactly 1024 bytes long, the buffer wouldn't be updated back
615after the system call.  Original patch by Brian Brazil.
616
617..
618
619.. bpo: 1100562
620.. date: 8210
621.. nonce: w61Crx
622.. section: Library
623
624Fix deep-copying of objects derived from the list and dict types.  Patch by
625Michele Orrù and Björn Lindqvist.
626
627..
628
629.. bpo: 7005
630.. date: 8209
631.. nonce: MVOzyL
632.. section: Library
633
634Fixed output of None values for RawConfigParser.write and
635ConfigParser.write.
636
637..
638
639.. bpo: 808164
640.. date: 8208
641.. nonce: P5YO_B
642.. section: Library
643
644Fixed socket.close to avoid references to globals, to avoid issues when
645socket.close is called from a __del__ method.
646
647..
648
649.. bpo: 2986
650.. date: 8207
651.. nonce: BeBn_s
652.. section: Library
653
654difflib.SequenceMatcher gets a new parameter, autojunk, which can be set to
655False to turn off the previously undocumented 'popularity' heuristic. Patch
656by Terry Reedy and Eli Bendersky
657
658..
659
660.. bpo: 8797
661.. date: 8206
662.. nonce: IkQxYA
663.. section: Library
664
665urllib2 does a retry for Basic Authentication failure instead of falling
666into recursion.
667
668..
669
670.. bpo: 1194222
671.. date: 8205
672.. nonce: UXCJLq
673.. section: Library
674
675email.utils.parsedate now returns RFC2822 compliant four character years
676even if the message contains RFC822 two character years.
677
678..
679
680.. bpo: 8750
681.. date: 8204
682.. nonce: ldqODt
683.. section: Library
684
685Fixed MutableSet's methods to correctly handle reflexive operations, namely
686x -= x and x ^= x.
687
688..
689
690.. bpo: 9129
691.. date: 8203
692.. nonce: AYXAAf
693.. section: Library
694
695smtpd.py is vulnerable to DoS attacks deriving from missing error handling
696when accepting a new connection.
697
698..
699
700.. bpo: 658749
701.. date: 8202
702.. nonce: THL2I_
703.. section: Library
704
705asyncore's connect() method now correctly interprets winsock errors.
706
707..
708
709.. bpo: 9501
710.. date: 8201
711.. nonce: G-M-pc
712.. section: Library
713
714Fixed logging regressions in cleanup code.
715
716..
717
718.. bpo: 9214
719.. date: 8200
720.. nonce: j1o-Zo
721.. section: Library
722
723Set operations on KeysView or ItemsView in the collections module now
724correctly return a set.  (Patch by Eli Bendersky.)
725
726..
727
728.. bpo: 9617
729.. date: 8199
730.. nonce: blJoL4
731.. section: Library
732
733Signals received during a low-level write operation aren't ignored by the
734buffered IO layer anymore.
735
736..
737
738.. bpo: 2521
739.. date: 8198
740.. nonce: iTl7ZU
741.. section: Library
742
743Use weakrefs on for caching in the abc module, so that classes are not held
744onto after they are deleted elsewhere.
745
746..
747
748.. bpo: 9626
749.. date: 8197
750.. nonce: Vowb6X
751.. section: Library
752
753the view methods for collections.OrderedDict() were returning the unordered
754versions inherited from dict.  Those methods are now overridden to provide
755ordered views.
756
757..
758
759.. bpo: 8688
760.. date: 8196
761.. nonce: fFdtWn
762.. section: Library
763
764MANIFEST files created by distutils now include a magic comment indicating
765they are generated.  Manually maintained MANIFESTs without this marker will
766not be overwritten or removed.
767
768..
769
770.. bpo: 7467
771.. date: 8195
772.. nonce: 2aq5Vk
773.. section: Library
774
775when reading a file from a ZIP archive, its CRC is checked and a BadZipfile
776error is raised if it doesn't match (as used to be the case in Python 2.5
777and earlier).
778
779..
780
781.. bpo: 9550
782.. date: 8194
783.. nonce: gz0PSS
784.. section: Library
785
786a BufferedReader could issue an additional read when the original read
787request had been satisfied, which could block indefinitely when the
788underlying raw IO channel was e.g. a socket.  Report and original patch by
789Jason V. Miller.
790
791..
792
793.. bpo: 9551
794.. date: 8193
795.. nonce: 2q2VFJ
796.. section: Library
797
798Don't raise TypeError when setting the value to None for SafeConfigParser
799instances constructed with allow_no_value == True.
800
801..
802
803.. bpo: 6915
804.. date: 8192
805.. nonce: Nh2L6-
806.. section: Library
807
808Under Windows, os.listdir() didn't release the Global Interpreter Lock
809around all system calls.  Original patch by Ryan Kelly.
810
811..
812
813.. bpo: 3757
814.. date: 8191
815.. nonce: Dfue1t
816.. section: Library
817
818thread-local objects now support cyclic garbage collection. Thread-local
819objects involved in reference cycles will be deallocated timely by the
820cyclic GC, even if the underlying thread is still running.
821
822..
823
824.. bpo: 6231
825.. date: 8190
826.. nonce: fvS6jF
827.. section: Library
828
829Fix xml.etree.ElementInclude to include the tail of the current node.
830
831..
832
833.. bpo: 6869
834.. date: 8189
835.. nonce: SI1hyJ
836.. section: Library
837
838Fix a refcount problem in the _ctypes extension.
839
840..
841
842.. bpo: 5504
843.. date: 8188
844.. nonce: DyvVKo
845.. section: Library
846
847ctypes should now work with systems where mmap can't be PROT_WRITE and
848PROT_EXEC.
849
850..
851
852.. bpo: 8280
853.. date: 8187
854.. nonce: PrpMXx
855.. section: Library
856
857urllib2's Request method will remove fragements in the url. This is how it
858is supposed to work, wget and curl do the same.  Previous behavior was
859wrong.
860
861..
862
863.. bpo: 2944
864.. date: 8186
865.. nonce: uva4MG
866.. section: Library
867
868asyncore doesn't handle connection refused correctly.
869
870..
871
872.. bpo: 3196
873.. date: 8185
874.. nonce: oFknaj
875.. section: Library
876
877email header decoding is now forgiving if an RFC2047 encoded word encoded in
878base64 is lacking padding.
879
880..
881
882.. bpo: 9444
883.. date: 8184
884.. nonce: KdKxOB
885.. section: Library
886
887Argparse now uses the first element of prefix_chars as the option character
888for the added 'h/help' option if prefix_chars does not contain a '-',
889instead of raising an error.
890
891..
892
893.. bpo: 9354
894.. date: 8183
895.. nonce: 4mGRrJ
896.. section: Library
897
898Provide getsockopt() in asyncore's file_wrapper.
899
900..
901
902.. bpo: 9428
903.. date: 8182
904.. nonce: 0pea6y
905.. section: Library
906
907Fix running scripts with the profile/cProfile modules from the command line.
908
909..
910
911.. bpo: 7781
912.. date: 8181
913.. nonce: qJIM6S
914.. section: Library
915
916Fix restricting stats by entry counts in the pstats interactive browser.
917
918..
919
920.. bpo: 9209
921.. date: 8180
922.. nonce: q5h2aM
923.. section: Library
924
925Do not crash in the pstats interactive browser on invalid regular
926expressions.
927
928..
929
930.. bpo: 7372
931.. date: 8179
932.. nonce: bjWkFm
933.. section: Library
934
935Fix pstats regression when stripping paths from profile data generated with
936the profile module.
937
938..
939
940.. bpo: 4108
941.. date: 8178
942.. nonce: SGW4tp
943.. section: Library
944
945In urllib.robotparser, if there are multiple 'User-agent: *' entries,
946consider the first one.
947
948..
949
950.. bpo: 8397
951.. date: 8177
952.. nonce: xNl1c0
953.. section: Library
954
955Raise an error when attempting to mix iteration and regular reads on a
956BZ2File object, rather than returning incorrect results.
957
958..
959
960.. bpo: 5294
961.. date: 8176
962.. nonce: OW1qhg
963.. section: Library
964
965Fix the behavior of pdb's "continue" command when called in the top-level
966debugged frame.
967
968..
969
970.. bpo: 5727
971.. date: 8175
972.. nonce: sYm_N8
973.. section: Library
974
975Restore the ability to use readline when calling into pdb in doctests.
976
977..
978
979.. bpo: 6719
980.. date: 8174
981.. nonce: _9t4CD
982.. section: Library
983
984In pdb, do not stop somewhere in the encodings machinery if the source file
985to be debugged is in a non-builtin encoding.
986
987..
988
989.. bpo: 8048
990.. date: 8173
991.. nonce: UMKE5S
992.. section: Library
993
994Prevent doctests from failing when sys.displayhook has been reassigned.
995
996..
997
998.. bpo: 8015
999.. date: 8172
1000.. nonce: YNaP75
1001.. section: Library
1002
1003In pdb, do not crash when an empty line is entered as a breakpoint command.
1004
1005..
1006
1007.. bpo: 9448
1008.. date: 8171
1009.. nonce: UD0blh
1010.. section: Library
1011
1012Fix a leak of OS resources (mutexes or semaphores) when re-initializing a
1013buffered IO object by calling its ``__init__`` method.
1014
1015..
1016
1017.. bpo: 7909
1018.. date: 8170
1019.. nonce: KNWthV
1020.. section: Library
1021
1022Do not touch paths with the special prefixes ``\\.\`` or ``\\?\`` in
1023ntpath.normpath().
1024
1025..
1026
1027.. bpo: 5146
1028.. date: 8169
1029.. nonce: f9NwCU
1030.. section: Library
1031
1032Handle UID THREAD command correctly in imaplib.
1033
1034..
1035
1036.. bpo: 5147
1037.. date: 8168
1038.. nonce: ANusbF
1039.. section: Library
1040
1041Fix the header generated for cookie files written by
1042http.cookiejar.MozillaCookieJar.
1043
1044..
1045
1046.. bpo: 8198
1047.. date: 8167
1048.. nonce: WrGm2c
1049.. section: Library
1050
1051In pydoc, output all help text to the correct stream when sys.stdout is
1052reassigned.
1053
1054..
1055
1056.. bpo: 7395
1057.. date: 8166
1058.. nonce: FkZk7v
1059.. section: Library
1060
1061Fix tracebacks in pstats interactive browser.
1062
1063..
1064
1065.. bpo: 8230
1066.. date: 8165
1067.. nonce: pBkzM8
1068.. section: Library
1069
1070Fix Lib/test/sortperf.py.
1071
1072..
1073
1074.. bpo: 1713
1075.. date: 8164
1076.. nonce: fknkI-
1077.. section: Library
1078
1079Fix os.path.ismount(), which returned true for symbolic links across
1080devices.
1081
1082..
1083
1084.. bpo: 8826
1085.. date: 8163
1086.. nonce: PcQ9NA
1087.. section: Library
1088
1089Properly load old-style "expires" attribute in http.cookies.
1090
1091..
1092
1093.. bpo: 1690103
1094.. date: 8162
1095.. nonce: 5tT47_
1096.. section: Library
1097
1098Fix initial namespace for code run with trace.main().
1099
1100..
1101
1102.. bpo: 8471
1103.. date: 8161
1104.. nonce: RqN6fc
1105.. section: Library
1106
1107In doctest, properly reset the output stream to an empty string when Unicode
1108was previously output.
1109
1110..
1111
1112.. bpo: 8620
1113.. date: 8160
1114.. nonce: qQR7E1
1115.. section: Library
1116
1117when a Cmd is fed input that reaches EOF without a final newline, it no
1118longer truncates the last character of the last command line.
1119
1120..
1121
1122.. bpo: 6213
1123.. date: 8159
1124.. nonce: oyAtZ0
1125.. section: Library
1126
1127Implement getstate() and setstate() methods of utf-8-sig and utf-16
1128incremental encoders.
1129
1130..
1131
1132.. bpo: 7113
1133.. date: 8158
1134.. nonce: vO-_y8
1135.. section: Library
1136
1137Speed up loading in ConfigParser. Patch by Łukasz Langa.
1138
1139..
1140
1141.. bpo: 3704
1142.. date: 8157
1143.. nonce: UbuUn3
1144.. section: Library
1145
1146cookielib was not properly handling URLs with a / in the parameters.
1147
1148..
1149
1150.. bpo: 9032
1151.. date: 8156
1152.. nonce: zX39th
1153.. section: Library
1154
1155XML-RPC client retries the request on EPIPE error. The EPIPE error occurs
1156when the server closes the socket and the client sends a big XML-RPC
1157request.
1158
1159..
1160
1161.. bpo: 5542
1162.. date: 8155
1163.. nonce: v5vo1o
1164.. section: Library
1165
1166Remove special logic that closes HTTPConnection socket on EPIPE.
1167
1168..
1169
1170.. bpo: 4629
1171.. date: 8154
1172.. nonce: warUcf
1173.. section: Library
1174
1175getopt raises an error if an argument ends with = whereas getopt doesn't
1176except a value (eg. --help= is rejected if getopt uses ['help='] long
1177options).
1178
1179..
1180
1181.. bpo: 7895
1182.. date: 8153
1183.. nonce: citB4G
1184.. section: Library
1185
1186platform.mac_ver() no longer crashes after calling os.fork()
1187
1188..
1189
1190.. bpo: 5395
1191.. date: 8152
1192.. nonce: _AaZih
1193.. section: Library
1194
1195array.fromfile() would raise a spurious EOFError when an I/O error occurred.
1196Now an IOError is raised instead.  Patch by chuck (Jan Hosang).
1197
1198..
1199
1200.. bpo: 7646
1201.. date: 8151
1202.. nonce: af6LG8
1203.. section: Library
1204
1205The fnmatch pattern cache no longer grows without bound.
1206
1207..
1208
1209.. bpo: 9136
1210.. date: 8150
1211.. nonce: GFQg0c
1212.. section: Library
1213
1214Fix 'dictionary changed size during iteration' RuntimeError produced when
1215profiling the decimal module.  This was due to a dangerous iteration over
1216'locals()' in Context.__init__.
1217
1218..
1219
1220.. bpo: 0
1221.. date: 8149
1222.. nonce: aX1_fT
1223.. section: Library
1224
1225Fix extreme speed issue in Decimal.pow when the base is an exact power of 10
1226and the exponent is tiny (for example, Decimal(10) **
1227Decimal('1e-999999999')).
1228
1229..
1230
1231.. bpo: 9161
1232.. date: 8148
1233.. nonce: 8Az_aI
1234.. section: Library
1235
1236Fix regression in optparse's acceptance of unicode strings in add_option
1237calls.
1238
1239..
1240
1241.. bpo: 9130
1242.. date: 8147
1243.. nonce: cB_z-D
1244.. section: Library
1245
1246Fix validation of relative imports in parser module.
1247
1248..
1249
1250.. bpo: 9128
1251.. date: 8146
1252.. nonce: 2OKBVh
1253.. section: Library
1254
1255Fix validation of class decorators in parser module.
1256
1257..
1258
1259.. bpo: 9164
1260.. date: 8145
1261.. nonce: SK5COV
1262.. section: Library
1263
1264Ensure sysconfig handles dupblice archs while building on OSX
1265
1266..
1267
1268.. bpo: 9315
1269.. date: 8144
1270.. nonce: cZkTvS
1271.. section: Library
1272
1273Fix for the trace module to record correct class name for tracing methods.
1274
1275..
1276
1277.. bpo: 9054
1278.. date: 8143
1279.. nonce: UkA-OR
1280.. section: Library
1281
1282Fix a crash occurring when using the pyexpat module with expat version
12832.0.1.
1284
1285..
1286
1287.. bpo: 10003
1288.. date: 8142
1289.. nonce: AzaOdd
1290.. section: Library
1291
1292Allow handling of SIGBREAK on Windows. Fixes a regression introduced by
1293issue #9324.
1294
1295..
1296
1297.. bpo: 8734
1298.. date: 8141
1299.. nonce: f1CtFi
1300.. section: Library
1301
1302Avoid crash in msvcrt.get_osfhandle() when an invalid file descriptor is
1303provided.  Patch by Pascal Chambon.
1304
1305..
1306
1307.. bpo: 7736
1308.. date: 8140
1309.. nonce: 7n0AS1
1310.. section: Library
1311
1312Release the GIL around calls to opendir() and closedir() in the posix
1313module.  Patch by Marcin Bachry.
1314
1315..
1316
1317.. bpo: 0
1318.. date: 8139
1319.. nonce: Z5wyzY
1320.. section: Library
1321
1322As a result of issue #2521, the _weakref module is now compiled into the
1323interpreter by default.
1324
1325..
1326
1327.. bpo: 9324
1328.. date: 8138
1329.. nonce: c_m8af
1330.. section: Library
1331
1332Add parameter validation to signal.signal on Windows in order to prevent
1333crashes.
1334
1335..
1336
1337.. bpo: 9526
1338.. date: 8137
1339.. nonce: 8aO189
1340.. section: Library
1341
1342Remove some outdated (int) casts that were preventing the array module from
1343working correctly with arrays of more than 2**31 elements.
1344
1345..
1346
1347.. bpo: 0
1348.. date: 8136
1349.. nonce: yfc3zR
1350.. section: Library
1351
1352Fix memory leak in ssl._ssl._test_decode_cert.
1353
1354..
1355
1356.. bpo: 8065
1357.. date: 8135
1358.. nonce: c5wBHe
1359.. section: Library
1360
1361Fix memory leak in readline module (from failure to free the result of
1362history_get_history_state()).
1363
1364..
1365
1366.. bpo: 9450
1367.. date: 8134
1368.. nonce: 16iwLn
1369.. section: Library
1370
1371Fix memory leak in readline.replace_history_item and
1372readline.remove_history_item for readline version >= 5.0.
1373
1374..
1375
1376.. bpo: 8105
1377.. date: 8133
1378.. nonce: GM5E7v
1379.. section: Library
1380
1381Validate file descriptor passed to mmap.mmap on Windows.
1382
1383..
1384
1385.. bpo: 1019882
1386.. date: 8132
1387.. nonce: VnQ_2J
1388.. section: Library
1389
1390Fix IndexError when loading certain hotshot stats.
1391
1392..
1393
1394.. bpo: 9422
1395.. date: 8131
1396.. nonce: MWxuZj
1397.. section: Library
1398
1399Fix memory leak when re-initializing a struct.Struct object.
1400
1401..
1402
1403.. bpo: 7900
1404.. date: 8130
1405.. nonce: s8mvNz
1406.. section: Library
1407
1408The getgroups(2) system call on MacOSX behaves rather oddly compared to
1409other unix systems. In particular, os.getgroups() does not reflect any
1410changes made using os.setgroups() but basically always returns the same
1411information as the id command.
1412
1413os.getgroups() can now return more than 16 groups on MacOSX.
1414
1415..
1416
1417.. bpo: 9277
1418.. date: 8129
1419.. nonce: yRnO3Z
1420.. section: Library
1421
1422Fix bug in struct.pack for bools in standard mode (e.g., struct.pack('>?')):
1423if conversion to bool raised an exception then that exception wasn't
1424properly propagated on machines where char is unsigned.
1425
1426..
1427
1428.. bpo: 7567
1429.. date: 8128
1430.. nonce: hujTBu
1431.. section: Library
1432
1433Don't call `setupterm' twice.
1434
1435..
1436
1437.. bpo: 7287
1438.. date: 8127
1439.. nonce: 6G503Q
1440.. section: Tools/Demos
1441
1442Demo/imputil/knee.py was removed.
1443
1444..
1445
1446.. bpo: 9188
1447.. date: 8126
1448.. nonce: XIcIjV
1449.. section: Tools/Demos
1450
1451The gdb extension now handles correctly narrow (UCS2) as well as wide (UCS4)
1452unicode builds for both the host interpreter (embedded inside gdb) and the
1453interpreter under test.
1454
1455..
1456
1457.. bpo: 8852
1458.. date: 8125
1459.. nonce: WD9-r5
1460.. section: Build
1461
1462Allow the socket module to build on OpenSolaris.
1463
1464..
1465
1466.. bpo: 10054
1467.. date: 8124
1468.. nonce: Pi5IJn
1469.. section: Build
1470
1471Some platforms provide uintptr_t in inttypes.h.  Patch by Akira Kitada.
1472
1473..
1474
1475.. bpo: 10055
1476.. date: 8123
1477.. nonce: xfTPZn
1478.. section: Build
1479
1480Make json C89-compliant in UCS4 mode.
1481
1482..
1483
1484.. bpo: 1633863
1485.. date: 8122
1486.. nonce: 08O8Og
1487.. section: Build
1488
1489Don't ignore $CC under AIX.
1490
1491..
1492
1493.. bpo: 9810
1494.. date: 8121
1495.. nonce: JACTWC
1496.. section: Build
1497
1498Compile bzip2 source files in python's project file directly. It used to be
1499built with bzip2's makefile.
1500
1501..
1502
1503.. bpo: 941346
1504.. date: 8120
1505.. nonce: 4aE21V
1506.. section: Build
1507
1508Improve the build process under AIX and allow Python to be built as a shared
1509library.  Patch by Sébastien Sablé.
1510
1511..
1512
1513.. bpo: 4026
1514.. date: 8119
1515.. nonce: 2Kz_uL
1516.. section: Build
1517
1518Make the fcntl extension build under AIX.  Patch by Sébastien Sablé.
1519
1520..
1521
1522.. bpo: 3101
1523.. date: 8118
1524.. nonce: zq3p0s
1525.. section: Build
1526
1527Helper functions _add_one_to_index_C() and _add_one_to_index_F() become
1528_Py_add_one_to_index_C() and _Py_add_one_to_index_F(), respectively.
1529
1530..
1531
1532.. bpo: 9700
1533.. date: 8117
1534.. nonce: tC4cof
1535.. section: Build
1536
1537define HAVE_BROKEN_POSIX_SEMAPHORES under AIX 6.x.  Patch by Sébastien
1538Sablé.
1539
1540..
1541
1542.. bpo: 9280
1543.. date: 8116
1544.. nonce: 2PISFF
1545.. section: Build
1546
1547Make sharedinstall depend on sharedmods.
1548
1549..
1550
1551.. bpo: 9275
1552.. date: 8115
1553.. nonce: DcFin-
1554.. section: Build
1555
1556The OSX installer once again installs links to binaries in
1557``/usr/local/bin``.
1558
1559..
1560
1561.. bpo: 9392
1562.. date: 8114
1563.. nonce: aY7w6w
1564.. section: Build
1565
1566A framework build on OSX will once again use a versioned name of the
1567``2to3`` tool, that is you can use ``2to3-2.7`` to select the Python 2.7
1568edition of 2to3.
1569
1570..
1571
1572.. bpo: 9701
1573.. date: 8113
1574.. nonce: hgaEU8
1575.. section: Build
1576
1577The MacOSX installer can patch the shell profile to ensure that the "bin"
1578directory inside the framework is on the shell's search path. This feature
1579now also supports the ZSH shell.
1580
1581..
1582
1583.. bpo: 7473
1584.. date: 8112
1585.. nonce: NuS196
1586.. section: Build
1587
1588avoid link errors when building a framework with a different set of
1589architectures than the one that is currently installed.
1590
1591..
1592
1593.. bpo: 9978
1594.. date: 8111
1595.. nonce: PgNzKW
1596.. section: Tests
1597
1598Wait until subprocess completes initialization. (Win32KillTests in test_os)
1599
1600..
1601
1602.. bpo: 9894
1603.. date: 8110
1604.. nonce: 9cw69_
1605.. section: Tests
1606
1607Do not hardcode ENOENT in test_subprocess.
1608
1609..
1610
1611.. bpo: 9323
1612.. date: 8109
1613.. nonce: qAJ8-i
1614.. section: Tests
1615
1616Make test.regrtest.__file__ absolute, this was not always the case when
1617running profile or trace, for example.
1618
1619..
1620
1621.. bpo: 9315
1622.. date: 8108
1623.. nonce: f1i0qq
1624.. section: Tests
1625
1626Added tests for the trace module.  Patch by Eli Bendersky.
1627
1628..
1629
1630.. bpo: 0
1631.. date: 8107
1632.. nonce: AVwNn9
1633.. section: Tests
1634
1635Strengthen test_unicode with explicit type checking for assertEqual tests.
1636
1637..
1638
1639.. bpo: 8857
1640.. date: 8106
1641.. nonce: Hy6Qmf
1642.. section: Tests
1643
1644Provide a test case for socket.getaddrinfo.
1645
1646..
1647
1648.. bpo: 7564
1649.. date: 8105
1650.. nonce: ps-pN3
1651.. section: Tests
1652
1653Skip test_ioctl if another process is attached to /dev/tty.
1654
1655..
1656
1657.. bpo: 8433
1658.. date: 8104
1659.. nonce: kMuB7u
1660.. section: Tests
1661
1662Fix test_curses failure with newer versions of ncurses.
1663
1664..
1665
1666.. bpo: 9496
1667.. date: 8103
1668.. nonce: UDIGR0
1669.. section: Tests
1670
1671Provide a test suite for the rlcompleter module.  Patch by Michele Orrù.
1672
1673..
1674
1675.. bpo: 8605
1676.. date: 8102
1677.. nonce: jxIp6Y
1678.. section: Tests
1679
1680Skip test_gdb if Python is compiled with optimizations.
1681
1682..
1683
1684.. bpo: 9568
1685.. date: 8101
1686.. nonce: OoJYE5
1687.. section: Tests
1688
1689Fix test_urllib2_localnet on OS X 10.3.
1690
1691..
1692
1693.. bpo: 9817
1694.. date: 8100
1695.. nonce: sk3Q3T
1696.. section: Documentation
1697
1698Add expat COPYING file; add expat, libffi and expat licenses to
1699Doc/license.rst.
1700
1701..
1702
1703.. bpo: 9524
1704.. date: 8099
1705.. nonce: Es25xw
1706.. section: Documentation
1707
1708Document that two CTRL* signals are meant for use only with os.kill.
1709
1710..
1711
1712.. bpo: 9255
1713.. date: 8098
1714.. nonce: tp81US
1715.. section: Documentation
1716
1717Document that the 'test' package is for internal Python use only.
1718
1719..
1720
1721.. bpo: 7829
1722.. date: 8097
1723.. nonce: o1BLF0
1724.. section: Documentation
1725
1726Document in dis that bytecode is an implementation detail.
1727