Ville Skyttä
49b2734bf1
Spelling fixes ( #2902 )
2017-08-03 09:00:59 +03:00
Preston Landers
6ea56d2ebc
bpo-31080: Allowed logging.config.fileConfig() to accept both args and kwargs. (GH-2979)
2017-08-02 21:44:28 +01:00
Łukasz Langa
47320a652e
Document Path.is_mount(), update Misc/ACKS and Misc/NEWS ( #2980 )
2017-08-01 16:47:50 -07:00
Alexander Belopolsky
018d353c1c
Closes issue bpo-5288: Allow tzinfo objects with sub-minute offsets. ( #2896 )
...
* Closes issue bpo-5288: Allow tzinfo objects with sub-minute offsets.
* bpo-5288: Implemented %z formatting of sub-minute offsets.
* bpo-5288: Removed mentions of the whole minute limitation on TZ offsets.
* bpo-5288: Removed one more mention of the whole minute limitation.
Thanks @csabella!
* Fix a formatting error in the docs
* Addressed review comments.
Thanks, @haypo.
2017-07-31 10:26:50 -04:00
Vinay Sajip
2543f50033
bpo-30522: Implemented a method to allow setting a logging.StreamHander's stream. (GH-2921)
2017-07-30 10:41:45 +01:00
Peter Thomassen
caa1280d1e
bpo-30803: clarify truth value testing documentation ( #2508 )
...
Initial patch by Peter Thomassen.
2017-07-29 15:18:13 -04:00
Yuval Langer
6fcb69dad5
Fix trivial typo in multiprocessing documentation (GH-2930)
2017-07-28 10:39:35 -07:00
Utkarsh Upadhyay
8e45318b0d
bpo-30302: Update WhatsNew and documentation. ( #2929 )
...
* Update 'Porting to .37' section.
* Fix a minor example in the doc.
2017-07-28 14:42:56 +02:00
lf
627d2c8e8d
Add the link to asyncio source code in the docs (GH-2373)
2017-07-25 16:03:51 -07:00
Utkarsh Upadhyay
cc5a65cd90
bpo-30302 Make timedelta.__repr__ more informative. ( #1493 )
2017-07-25 23:51:33 +02:00
Eli Boyarski
26248ef58d
bpo-30456: Clarify example for duplicates in second argument of isinstance (GH-1699)
2017-07-24 03:39:07 +03:00
靳阳
fff2a21057
Fix typo in Turtle Docs: yingyang -> yinyang (GH-2770)
2017-07-20 06:58:40 -07:00
Vitor Pereira
ba75af7130
bpo-30794: added kill() method to multiprocessing.Process ( #2528 )
...
* bpo-30794: added kill() method to multiprocessing.Process
* Added entries to documentation and NEWS
* Refactored test_terminate and test_kill
* Fix SIGTERM and SIGKILL being used on Windows for the tests
* Added "versionadded" marker to the documentation
* Fix trailing whitespace in doc
2017-07-18 17:34:23 +02:00
Łukasz Rogalski
be37beb05f
Doc that 'sorted' args are keyword-only, fix 'reverse' default ( #2706 )
2017-07-14 15:23:39 -04:00
Manvisha Kodali
67ba4fa467
bpo-26506: hex() documentation: mention %x % int (GH-2525)
2017-07-06 12:30:58 -07:00
Vinay Sajip
0653fba51c
bpo-30862: Updated Logger.setLevel documentation. (GH-2604)
2017-07-06 17:51:28 +01:00
csabella
246ff3bd00
bpo-6691: Pyclbr now reports nested classes and functions. ( #2503 )
...
Original patch by Guilherme Polo. Revisions by Cheryl Sabella.
2017-07-03 21:31:25 -04:00
Antoine Pitrou
13e96cc596
Fix bpo-30596: Add close() method to multiprocessing.Process ( #2010 )
...
* Fix bpo-30596: Add close() method to multiprocessing.Process
* Raise ValueError if close() is called before the Process is finished running
* Add docs
* Add NEWS blurb
2017-06-24 19:22:23 +02:00
Victor Stinner
f87b85f808
bpo-21071: struct.Struct.format type is now str ( #845 )
2017-06-23 15:11:12 +02:00
Benjamin Peterson
279a96206f
bpo-30736: upgrade to Unicode 10.0 ( #2344 )
...
Straightforward. While we're at it, though, strip trailing whitespace from generated tables.
2017-06-22 22:31:08 -07:00
khyox
6580c19bbb
bpo-30619: Clarify typing.Union documentation (GH-2326)
...
When a class and its subclass are present, the latter is skipped.
2017-06-22 06:14:57 -07:00
Kojo Idrissa
5200a7c7f9
bpo-29933: Improve set_write_buffer_limits description (GH-2262)
...
Improve the description of the high and low parameters for set_write_buffer_limits.
Also fixed a small grammatical issue.
2017-06-20 12:32:00 -07:00
Victor Stinner
5ea4c06773
bpo-30054: Expose tracemalloc C API ( #1236 )
...
* Make PyTraceMalloc_Track() and PyTraceMalloc_Untrack() functions
public (remove the "_" prefix)
* Remove the _PyTraceMalloc_domain_t type: use directly unsigned
int.
* Document methods
Note: methods are already tested in test_tracemalloc.
2017-06-20 17:46:36 +02:00
Serhiy Storchaka
26cb4657bc
bpo-29755: Fixed the lgettext() family of functions in the gettext module. ( #2266 )
...
They now always return bytes.
Updated the gettext documentation.
2017-06-20 17:13:29 +03:00
Xiang Zhang
116dd5eba6
bpo-30176: Add missing curses cell attributes constants (GH-1302)
2017-06-15 20:20:07 -07:00
Milan Oberkirch
8c3f05e9f0
bpo-30436: Raise ModuleNotFoundError for importlib.util.find_spec() when parent isn't a package (GH-1899)
...
Previously AttributeError was raised, but that's not very reflective of the fact that the requested module can't be found since the specified parent isn't actually a package.
2017-06-14 14:34:50 -07:00
terryjreedy
188aedf8bb
bpo-25514: Improve IDLE's connection refused message ( #2177 )
...
When IDLE fail to start because the socket connection fails, direct people to a new subsection of the IDLE doc listing various causes and remedies.
2017-06-13 21:32:16 -04:00
Ben Hoyt
184bd82ba8
bpo-30659 : Use ** for kwargs in namedtuple._replace() signature (GH-2173)
2017-06-13 12:20:51 -07:00
Antoine Pitrou
d79c1d4a94
Mention how to disable signal fd wakeup ( #2140 )
2017-06-13 10:14:09 +02:00
Serhiy Storchaka
1efbf92e90
bpo-11822: Improve disassembly to show embedded code objects. ( #1844 )
...
The depth argument limits recursion.
2017-06-11 14:09:39 +03:00
Benjamin Peterson
fdfca5f0ff
remove extra word ( #2101 )
2017-06-11 00:24:38 -07:00
Benjamin Peterson
dc1da9adc3
clarify recv() and send() on SSLObject ( #2100 )
...
SSLObject has recv() and send(), but they don't do any network io.
2017-06-11 00:15:14 -07:00
csabella
e5f6e86c48
bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535)
...
Mention that fnmatchcase does not call normcase, and fnmatch does.
2017-06-09 21:42:11 -07:00
Jim Fasarakis-Hilliard
74921ed894
bpo-30335: Add deprecation alias entry for assertNotRegexpMatches (GH-1536)
...
Document that assertNotRegexpMatches is a deprecated alias for assertNotRegex.
2017-06-09 13:27:20 -07:00
Marco Buttu
5eb7075915
bpo-30217: Add the operators ~ and | to the index ( #1502 )
2017-06-09 17:28:27 +03:00
Chandan Kumar
63c2c8ac17
bpo-19180: Updated references for RFC 1750, RFC 3280 & RFC 4366 (GH-148)
...
* RFC 1750 has been been obsoleted by RFC 4086.
* RFC 3280 has been obsoleted by RFC 5280.
* RFC 4366 has been obsoleted by RFC 6066.
2017-06-09 19:43:58 +10:00
adisbladis
824f687912
bpo-24755: Document asyncio.wrap_future (GH-603)
2017-06-08 23:28:59 -07:00
wim glenn
53f2af1655
bpo-30583: Fix typo in datetime dateutil documentation (GH-1972)
...
Replace `datetuil` into `dateutil`
2017-06-06 10:54:41 -07:00
Serhiy Storchaka
5cefb6cfdd
bpo-25324: Move the description of tokenize tokens to token.rst. ( #1911 )
2017-06-06 18:43:35 +03:00
Vinay Sajip
6260d9f203
bpo-30520: Implemented pickling for loggers. ( #1956 )
...
Implemented pickling for loggers.
2017-06-06 16:34:29 +01:00
Oz N Tiram
8b7a4cc40e
bpo-30095: Make CSS classes used by calendar.HTMLCalendar customizable (GH-1439)
...
Several class attributes have been added to calendar.HTMLCalendar that allow customization of the CSS classes used in the resulting HTML. This can be done by subclasses HTMLCalendar and overwriting those class attributes (Patch by Oz Tiram).
2017-06-06 11:35:59 +02:00
Antoine Pitrou
3c2817b688
Fix bpo-30526: Add TextIOWrapper.reconfigure() and a TextIOWrapper.write_through attribute ( #1922 )
...
* Fix bpo-30526: Add TextIOWrapper.reconfigure()
* Apply Nick's improved wording
* Update Misc/NEWS
2017-06-03 12:32:28 +02:00
Jamiel Almeida
ae8750bca8
bpo-24899: Add comparison table for os.path -> pathlib (GH-1753)
2017-06-02 11:36:02 -07:00
Matthias Bussonnier
cdb89cd72c
bpo-29660: traceback: Document that etype is ignored in some places. (GH-344)
2017-06-01 14:54:01 -07:00
Julien
0737ee2067
bpo-30499: Remove a deprecated note about sets. (GH-1848)
2017-06-01 07:02:21 -07:00
csabella
56ddfd2eea
bpo-27618: Clarify that threading.Lock is a factory function (GH-1307)
2017-05-31 17:14:19 -07:00
Albert-Jan Nijburg
fc354f0785
bpo-25324: copy tok_name before changing it ( #1608 )
...
* add test to check if were modifying token
* copy list so import tokenize doesnt have side effects on token
* shorten line
* add tokenize tokens to token.h to get them to show up in token
* move ERRORTOKEN back to its previous location, and fix nitpick
* copy comments from token.h automatically
* fix whitespace and make more pythonic
* change to fix comments from @haypo
* update token.rst and Misc/NEWS
* change wording
* some more wording changes
2017-05-31 16:00:21 +02:00
Gregory P. Smith
163468a766
bpo-16500: Don't use string constants for os.register_at_fork() behavior ( #1834 )
...
Instead use keyword only arguments to os.register_at_fork for each of the scenarios.
Updates the documentation for clarity.
2017-05-29 10:03:41 -07:00
Antoine Pitrou
346cbd351e
bpo-16500: Allow registering at-fork handlers ( #1715 )
...
* bpo-16500: Allow registering at-fork handlers
* Address Serhiy's comments
* Add doc for new C API
* Add doc for new Python-facing function
* Add NEWS entry + doc nit
2017-05-27 17:50:54 +02:00
Mariatta
f931fd1c2a
bpo-30470: Deprecate invalid ctypes call protection on Windows. (GH-1810)
...
Calling Ctypes functions is deprecated in 3.6.2 and will be removed in 3.7
2017-05-27 07:23:26 -07:00