Georg Brandl
12f8107f91
Fix test_descrtut.
2008-06-01 17:05:56 +00:00
Georg Brandl
7a6de8b0f4
Some style nits. Also clarify in the docstrings what __sizeof__ does.
2008-06-01 16:42:16 +00:00
Georg Brandl
4f2c998ca9
Add plain text make target.
2008-06-01 16:41:31 +00:00
Robert Schuppenies
51df064767
Issue #2898 : Added sys.getsizeof() to retrieve size of objects in bytes.
2008-06-01 16:16:17 +00:00
Martin v. Löwis
6495c8da8f
Typo: encoding -> codeset.
2008-06-01 08:19:02 +00:00
Martin v. Löwis
b12d8579e3
Move sys_stream and sys_isatty out of the have-langinfo block.
2008-06-01 08:06:17 +00:00
Martin v. Löwis
99815892f6
New environment variable PYTHONIOENCODING.
2008-06-01 07:20:46 +00:00
Gerhard Häring
7f7ca35f5b
Fixed rowcount for SELECT statements. They're -1 now (again), for better DB-API 2.0 compliance.
2008-05-31 21:33:27 +00:00
Georg Brandl
8bfba67101
#3005 : add explaining sentence to easydialogs docs.
2008-05-31 14:45:55 +00:00
Georg Brandl
a7ac20f8a5
#3010 : clarification about stdin/use_rawinput.
2008-05-31 14:40:09 +00:00
Mark Summerfield
700a635091
Added a note to [] that special forms & special chars lose their meaning
...
and backrefs can't be used inside []
2008-05-31 13:05:34 +00:00
Mark Hammond
5bd88333ee
Fix bdist_wininst --user-access-control for win2k
2008-05-31 05:11:07 +00:00
Raymond Hettinger
6d7702ecd1
Implement heapq in terms of less-than (to match list.sort()).
2008-05-31 03:24:31 +00:00
Marc-André Lemburg
adff65bc3e
Update the locale module alias table.
...
Closes #3011 .
2008-05-30 20:52:18 +00:00
Benjamin Peterson
31694ae4a5
fix grammar
2008-05-30 20:44:39 +00:00
Georg Brandl
c5a235bb55
Better quote with single quotes.
2008-05-30 19:17:29 +00:00
Georg Brandl
6bb7bcf5f7
getloadavg() is not available on Windows.
2008-05-30 19:12:13 +00:00
Raymond Hettinger
ef712d6fd3
* Mark intermedidate computes values (hi, lo, yr) as volatile.
...
* Expand comments.
* Swap variable names in the sum_exact code so that x and y
are consistently chosen as the larger and smaller magnitude
values respectively.
2008-05-30 18:20:50 +00:00
Eric Smith
dc13b79a38
Refactor and clean up str.format() code (and helpers) in advance of optimizations.
2008-05-30 18:10:04 +00:00
Georg Brandl
30fadc1799
#2999 : fix name of third parameter in unicode.replace()'s docstring.
2008-05-30 07:54:16 +00:00
Raymond Hettinger
3c2523c2eb
Issue 2903: Add __name__ in globals for namedtuple namespace.
2008-05-30 07:16:53 +00:00
Raymond Hettinger
d99bee7c9f
Issue 2855: Fix obscure crasher by slowing down the entire module. Mimics what was done to dictionaries in r59223.
2008-05-30 06:49:47 +00:00
Raymond Hettinger
65856600ed
Issue 2784: fix leaks in exception exit.
2008-05-30 06:37:27 +00:00
Mark Dickinson
8df4e22a28
Fix typo in testSum
2008-05-30 02:46:53 +00:00
Brett Cannon
6983ff7475
Note that UserList and UserString were moved to 'collections' in 3.0.
2008-05-29 21:28:55 +00:00
Brett Cannon
ef3dab28f2
Turn off debugging output for building bsddb.
2008-05-29 21:23:33 +00:00
Thomas Heller
9287acf83d
ctypes NULL function pointers have a boolean False value now.
2008-05-29 19:42:34 +00:00
Thomas Heller
a52b244cc1
Fix compiler warning.
2008-05-29 19:18:12 +00:00
Facundo Batista
4f1b1ed975
Fixed the semantic of timeout for socket.create_connection and
...
all the upper level libraries that use it, including urllib2.
Added and fixed some tests, and changed docs correspondingly.
Thanks to John J Lee for the patch and the pusing, :)
2008-05-29 16:39:26 +00:00
Georg Brandl
f18a707205
Revert #2990 patch; it's not necessary as Armin showed.
2008-05-29 14:35:39 +00:00
Raymond Hettinger
2a9179ac73
Fix two typos.
2008-05-29 08:38:23 +00:00
Georg Brandl
d0b592f8e8
#2985 : allow i8 in XMLRPC responses.
2008-05-29 07:45:26 +00:00
Georg Brandl
b77e888f41
#2988 : add note about catching CookieError when parsing untrusted cookie data.
2008-05-29 07:38:37 +00:00
Georg Brandl
7943a3295d
#2906 : accept lists for options, and some cosmetic fixes in Tkinter.
2008-05-29 07:18:49 +00:00
Georg Brandl
457501bf20
Two fixes in bytearray docs.
2008-05-29 07:18:17 +00:00
Brett Cannon
abb34fe9f3
UserString.MutableString has been removed in Python 3.0.
...
Works on issue #2877 . Thanks Quentin Gallet-Gilles for the patch.
2008-05-29 05:08:50 +00:00
Georg Brandl
5ec330cb2f
#2990 : prevent inconsistent state while updating method cache.
2008-05-28 15:41:36 +00:00
Benjamin Peterson
dee01d8af8
fix spelling
2008-05-28 11:51:41 +00:00
Georg Brandl
74a1deaab3
#2989 : add PyType_Modified().
2008-05-28 11:21:39 +00:00
Mark Hammond
88eeef35d7
bdist_wininst now works correctly when both --skip-build and --plat-name are specified.
2008-05-28 01:54:55 +00:00
Benjamin Peterson
a436878419
update tutorial function with more appropiate one from Eric Smith
2008-05-28 01:12:35 +00:00
Jesus Cea
dbd2f6d8a9
Better integration between Python testing and bsddb3
2008-05-27 13:26:02 +00:00
Lars Gustäbel
b1a54a3530
Do not close external file objects passed to tarfile.open(mode='w:bz2')
...
when the TarFile is closed.
2008-05-27 12:39:23 +00:00
Gregory P. Smith
0902cac4b3
Disable the use of BerkeleyDB 4.6 on platforms that appear to have
...
issues with it.
2008-05-27 08:40:09 +00:00
Benjamin Peterson
1d31023b31
Improvements for test_py3kwarn
...
- Always show warnings so they are always catchable
- Make test_os_path_walk faster by walking a less populous directory
2008-05-27 01:42:29 +00:00
Benjamin Peterson
838c7b3619
remove some __getslice__
2008-05-27 01:18:39 +00:00
Gregory P. Smith
933d3731de
Fix issue2588: Do not execute str[size-1] = '\0' when a 0 size is
...
passed in. (The assert won't prevent this in non-debug builds).
2008-05-26 22:07:28 +00:00
Benjamin Peterson
c1c83bb0de
remove duplication in test module
2008-05-26 21:44:26 +00:00
Gregory P. Smith
23921f00e8
Fix issue2589: there was a potential integer overflow leading to
...
memory corruption on esoteric platforms and incorrect behavior on
normal platforms.
2008-05-26 21:16:34 +00:00
Benjamin Peterson
06abba3558
fix minor grammar typo
2008-05-26 20:43:24 +00:00