0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
Commit Graph

49975 Commits

Author SHA1 Message Date
Hynek Schlawack
979f37afd2 Restore [] where default arguments are not keywords
Reverts some changes of d13fdd97cc8e.
2012-05-22 16:12:18 +02:00
Ezio Melotti
898d51da4d #14875: Use float('inf') instead of float('1e66666') in the json module. 2012-05-21 17:49:06 -06:00
Hynek Schlawack
dfa465243c #14804: Remove [] around optional arguments with default values 2012-05-21 11:01:54 +02:00
Hynek Schlawack
f54c0604c8 Fix versionchanged tags for json.load
`versionchanged` tags about 2.7 are useless in 3.x branches.
2012-05-20 18:32:53 +02:00
Vinay Sajip
69d8493899 Fixes #14864: Added documentation on how to undo the effects of a logging.disable() call. 2012-05-20 15:36:17 +01:00
Hynek Schlawack
1203e83d28 Document when json.load's parse_constant behaviour changed
It doesn't get called on 'null', 'true', 'false' since f686aced02a3.
2012-05-20 12:03:17 +02:00
Senthil Kumaran
aeeba2629a Fix for issue14426 - buildbots here I come 2012-05-20 16:58:30 +08:00
Senthil Kumaran
6e8ba0aba6 news for Issue14426 2012-05-20 12:06:24 +08:00
Senthil Kumaran
00c2ec282e Issue #14426: Correct the Date format in Expires attribute of Set-Cookie. Patch by Federico Reghenzani and Müte Invert 2012-05-20 12:05:16 +08:00
Petri Lehtinen
079bfc962d #14494: Document that absolute imports became default in 3.0 instead of 2.7. 2012-05-19 18:36:33 +03:00
Ezio Melotti
6709b7d5d1 #14072: Fix parsing of tel URIs in urlparse by making the check for ports stricter. 2012-05-19 17:15:19 +03:00
Senthil Kumaran
5fa4a89601 Fix Issue14721: Send Content-length: 0 for empty body () in the http.client requests 2012-05-19 16:58:09 +08:00
Senthil Kumaran
1be320ebdd Issue9374 - Generic parsing of query and fragment portion of urls for any scheme 2012-05-19 08:12:00 +08:00
Petri Lehtinen
8d88604682 #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:56:36 +03:00
Petri Lehtinen
1033b310a3 Fix time.time() references in the time module docs
Closes #14842.
2012-05-18 21:22:47 +03:00
Martin v. Löwis
b15d1a7981 Drop double quoting again. I'm at a loss when to quote and when not. 2012-05-18 15:28:43 +02:00
Martin v. Löwis
3407dfbaf9 Upgrade OpenSSL to 1.0.0j 2012-05-18 15:28:01 +02:00
Martin v. Löwis
0d635aef92 merge heads 2012-05-18 14:24:09 +02:00
Martin v. Löwis
e9dfb0f822 Add another set of quotes to make cmd.exe happy. 2012-05-18 14:17:43 +02:00
Martin v. Löwis
71f3f92262 Fetch openssl directory from pyproject.vsprops. 2012-05-18 14:16:53 +02:00
R David Murray
f7a6615719 #14823: Simplify threading.Lock.acquire argument discussion. 2012-05-17 09:13:30 -04:00
Hynek Schlawack
9729fd4427 #14692 Fix json docs to reflect changes in json.load
The behaviour of the parse_constant callback changed insofar that 'null',
'true', 'false' don't trigger its call anymore.

Patch by Serhiy Storchaka
2012-05-16 19:01:04 +02:00
Antoine Pitrou
fb5b954ee0 Forward port additional tests from 2.7 (issue #14829). 2012-05-16 15:01:40 +02:00
Antoine Pitrou
a103b96a80 Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows. 2012-05-16 14:37:54 +02:00
Eric V. Smith
5cdc6308b6 Cleanup so subsequent tests won't fail. Needs to be moved into a support routine (see 14715). 2012-05-16 04:48:04 -04:00
R David Murray
28e68ea6ea #1440472: reflow 2012-05-15 22:13:29 -04:00
R David Murray
ea1badbfef #1440472: Explain that email parser/generator isn't *quite* "idempotent" 2012-05-15 22:07:52 -04:00
Ned Deily
4d377d98a1 Issue #14777: In an X11 windowing environment, tkinter may return
undecoded UTF-8 bytes as a string when accessing the Tk clipboard.
Modify clipboad_get() to first request type UTF8_STRING when no
specific type is requested in an X11 windowing environment, falling
back to the current default type STRING if that fails.
Original patch by Thomas Kluyver.
2012-05-15 18:08:11 -07:00
Eric V. Smith
a790c9b6d6 Issue #14817: Add rudimentary tests for pkgutil.extend_path. 2012-05-15 20:44:06 -04:00
Senthil Kumaran
0ea91cb5c6 Issue12541 - Add UserWarning for unquoted realms 2012-05-15 23:59:42 +08:00
Senthil Kumaran
34f3fcc269 Issue #12541: Be lenient with quotes around Realm field of HTTP Basic Authentation in urllib2.
G: changed Misc/NEWS
2012-05-15 22:30:25 +08:00
R David Murray
539f239e88 #14766: Reflow the altered paragraphs. 2012-05-14 22:17:23 -04:00
R David Murray
9075d8b771 #14766: Add correct algorithm for when a 'time' object is naive.
This patch also clarifies the definition of Naive and Aware.

Original patch by Greg Weller, I modified the first hunk
somewhat to make the exposition even clearer (I hope).
2012-05-14 22:14:46 -04:00
Brian Curtin
1f24548e1f bsddb never existed in 3.x, no need to keep downloading sleepycat 2012-05-14 19:42:36 -05:00
Antoine Pitrou
072e4a3fc7 Followup to issue #14157: respect the relative ordering of values produced by time.strptime().
Patch by Hynek.
2012-05-14 19:44:59 +02:00
Martin v. Löwis
2d82d049f6 Stop deleting non-existing bytecode files. 2012-05-14 18:18:07 +02:00
Antoine Pitrou
a1433fed8e Remove tab characters 2012-05-14 14:43:25 +02:00
Antoine Pitrou
682d94c11a Use size_t, not ssize_t (issue #14801). 2012-05-14 14:43:03 +02:00
Martin v. Löwis
87960da3e3 Upgrade bzip2 to 1.0.6. 2012-05-14 14:13:48 +02:00
Ezio Melotti
e768b06f16 #14405: remove outdated/broken/duplicate links. 2012-05-14 13:26:45 +03:00
Mark Dickinson
ba3b0d84bd Issue #14245: Improve floating-point entry in FAQ. Thanks Zbyszek Jędrzejewski-Szmek for some of the wording. 2012-05-13 21:00:35 +01:00
Ezio Melotti
b35480e1d2 #14770: improve the library FAQ. 2012-05-13 20:14:04 +03:00
Sandro Tosi
3918b1ebfb Issue #14793: fix grammar in bytes object paragraph; patch by Tshepang Lekhonkhobe 2012-05-13 11:01:20 +02:00
Sandro Tosi
38b86b4cf5 correctly define what 'fill' could be; thanks to Leland Hulbert from docs@ 2012-05-12 23:29:32 +02:00
Ned Deily
5fddf866d8 Issue #14662: Prevent shutil failures on OS X when destination does not
support chflag operations.  (Patch by Hynek Schlawack)
2012-05-10 17:21:23 -07:00
Antoine Pitrou
1682e5d740 Issue #14157: Fix time.strptime failing without a year on February 29th.
Patch by Hynek Schlawack.
2012-05-10 20:17:46 +02:00
Antoine Pitrou
a9494f6c53 Some nits in the pickle docs. 2012-05-10 15:38:30 +02:00
Antoine Pitrou
cc6c673a69 Removed outdated statement about pickle's and marshal's relative performance. 2012-05-10 15:18:20 +02:00
Ezio Melotti
bf3165b971 #14763: document default maxsplit value for str.split. 2012-05-10 15:30:42 +03:00
Jesus Cea
7f0d88860f Closes #14768: os.path.expanduser('~/a') doesn't works correctly when HOME is '/' 2012-05-10 05:10:50 +02:00