Vinay Sajip
76fdb8c050
Added news on recent changes to logging
2006-12-14 08:53:55 +00:00
George Yoshida
7366fcecdf
Note that guard_warnings_filter was added in 2.6
2006-12-14 02:22:44 +00:00
Brett Cannon
6d9520c4f0
Add test.test_support.guard_warnings_filter . This function returns a context
...
manager that protects warnings.filter from being modified once the context is
exited.
2006-12-13 23:09:53 +00:00
Brett Cannon
c745df8519
Remove unneeded imports of 'warnings'.
2006-12-13 23:02:38 +00:00
Brett Cannon
905820ccba
Remove an unneeded import of 'warnings'.
2006-12-13 22:31:37 +00:00
Walter Dörwald
da1ad32cec
Fix typo.
2006-12-12 21:55:31 +00:00
Vinay Sajip
66a1726620
Patch by "cuppatea" (SF #1503765 )
2006-12-11 14:26:23 +00:00
Vinay Sajip
5492e1722a
Patch by Jeremy Katz (SF #1609407 )
2006-12-11 14:07:16 +00:00
Georg Brandl
f54a63b3b5
Move errno imports back to individual functions.
2006-12-11 07:56:33 +00:00
Neal Norwitz
0adf0846ce
Fix a typo
2006-12-11 01:01:06 +00:00
Matthias Klose
ebde1498e7
- Fix the build of the library reference in info format.
2006-12-09 12:15:27 +00:00
Georg Brandl
b130743e97
Patch #1608267 : fix a race condition in os.makedirs() is the directory
...
to be created is already there.
2006-12-09 09:08:29 +00:00
Georg Brandl
66fab425a8
#1577756 : svnversion doesn't react to LANG=C, use LC_ALL=C to force
...
English output.
2006-12-08 20:46:11 +00:00
Raymond Hettinger
c789f341bb
Add test for SF bug 1576657
2006-12-08 17:35:25 +00:00
Raymond Hettinger
9c14ffbc78
Port Georg's dictobject.c fix keys that were tuples got unpacked on the way to setting a KeyError (svn revision 52535, sf bug
...
1576657).
2006-12-08 04:57:50 +00:00
Raymond Hettinger
0c850863a2
Port Armin's fix for a dict resize vulnerability (svn revision 46589, sf bug 1456209).
2006-12-08 04:24:33 +00:00
Raymond Hettinger
f31e17509a
Eliminate two redundant calls to PyObject_Hash().
2006-12-08 03:17:18 +00:00
Georg Brandl
70f466932c
RFE #1592899 : mention string.maketrans() in docs for str.translate,
...
remove reference to the old regex module in the former's doc.
2006-12-07 09:30:06 +00:00
Brett Cannon
8211297a7e
Fix a bad assumption that all objects assigned to '__loader__' on a module
...
will have a '_files' attribute.
2006-12-06 23:38:48 +00:00
Georg Brandl
87fa559479
Patch #1610437 : fix a tarfile bug with long filename headers.
2006-12-06 22:21:18 +00:00
George Yoshida
0a286d0b53
Fix pickle doc typo
...
Patch #1608758
2006-12-05 05:39:50 +00:00
George Yoshida
9be4905f42
fix a versionchanged tag
2006-12-04 11:41:54 +00:00
Matthias Klose
d149d0c76a
- Fix build failure on kfreebsd and on the hurd.
2006-12-03 17:16:41 +00:00
Martin v. Löwis
a00bcac003
Patch #1371075 : Make ConfigParser accept optional dict type
...
for ordering, sorting, etc.
2006-12-03 12:01:53 +00:00
Martin v. Löwis
046c4d13be
Patch #1544279 : Improve thread-safety of the socket module by moving
...
the sock_addr_t storage out of the socket object.
Will backport to 2.5.
2006-12-03 11:23:45 +00:00
Martin v. Löwis
8609da9b17
Move IDLE news into NEWS.txt.
2006-12-03 09:54:46 +00:00
Raymond Hettinger
8a7e76bcfa
Add name to credits (for untokenize).
2006-12-02 02:00:39 +00:00
Walter Dörwald
f008203cb4
Move xdrlib tests from the module into a separate test script,
...
port the tests to unittest and add a few new tests.
2006-12-01 16:59:47 +00:00
Guido van Rossum
c764340ba2
Update version.
2006-11-30 19:23:13 +00:00
Armin Rigo
7037085959
Forgot a case where the locals can now be a general mapping
...
instead of just a dictionary. (backporting...)
2006-11-29 21:59:22 +00:00
Thomas Heller
ef583a4992
Fix #1563807 : _ctypes built on AIX fails with ld ffi error.
...
The contents of ffi_darwin.c must be compiled unless __APPLE__ is
defined and __ppc__ is not.
Will backport.
2006-11-28 20:21:54 +00:00
Georg Brandl
73e7e058f5
Bug #1603789 : grammatical error in Tkinter docs.
2006-11-27 18:46:21 +00:00
Georg Brandl
21d900f1d6
Bug #1603321 : make pstats.Stats accept Unicode file paths.
2006-11-26 19:27:47 +00:00
Martin v. Löwis
4d542ec13c
Disable _XOPEN_SOURCE on NetBSD 1.x.
...
Will backport to 2.5
2006-11-25 15:39:19 +00:00
Thomas Heller
25d208bd46
Fix bug #1598620 : A ctypes structure cannot contain itself.
2006-11-24 18:45:39 +00:00
Raymond Hettinger
a3c77677ca
... and the number of the counting shall be three.
2006-11-23 21:35:19 +00:00
Raymond Hettinger
a912c6c891
Fix and/add typo
2006-11-23 21:06:03 +00:00
Michael W. Hudson
f390442130
a test for an error condition not covered by existing tests
...
(noticed this when writing the equivalent code for pypy)
2006-11-23 13:54:04 +00:00
Georg Brandl
3f969022c6
Bug #1601630 : little improvement to getopt docs
2006-11-23 09:55:07 +00:00
Walter Dörwald
39b8b6afb5
Change decode() so that it works with a buffer (i.e. unicode(..., 'utf-8-sig'))
...
SF bug #1601501 .
2006-11-23 05:03:56 +00:00
Martin v. Löwis
4ebbefe677
Patch #1362975 : Rework CodeContext indentation algorithm to
...
avoid hard-coding pixel widths. Also make the text's scrollbar
a child of the text frame, not the top widget.
2006-11-22 08:50:02 +00:00
Martin v. Löwis
2607e6c021
Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
...
and _CRT_NONSTDC_NO_DEPRECATE.
Will backport.
2006-11-21 18:20:25 +00:00
Neal Norwitz
7ac039653e
Fix SF #1599879 , socket.gethostname should ref getfqdn directly.
2006-11-21 06:23:44 +00:00
Neal Norwitz
10cdb7492e
Oops, convert tabs to spaces
2006-11-21 05:51:51 +00:00
Neal Norwitz
4fe442383d
Bug #1599782 : Fix segfault on bsddb.db.DB().type().
...
The problem is that _DB_get_type() can't be called without the GIL
because it calls a bunch of PyErr_* APIs when an error occurs.
There were no other cases in this file that it was called without the GIL.
Removing the BEGIN/END THREAD around _DB_get_type() made everything work.
Will backport.
2006-11-21 05:26:22 +00:00
Andrew M. Kuchling
5dba6f74c6
Jython compatibility fix: if uu.decode() opened its output file, be sure to
...
close it.
2006-11-20 13:39:37 +00:00
Georg Brandl
1e753863b3
Further markup fix.
2006-11-20 07:12:58 +00:00
George Yoshida
942f5e7864
markup fix
2006-11-20 02:24:48 +00:00
Neal Norwitz
45e230a8e1
Speed up function calls into the math module by using METH_O.
...
There should be no functional changes. However, the error msgs are
slightly different. Also verified that the module dict is not NULL on init.
2006-11-19 21:26:53 +00:00
Martin v. Löwis
07529354db
Patch #1070046 : Marshal new-style objects like InstanceType
...
in xmlrpclib.
2006-11-19 18:51:54 +00:00