Stefan Krah
45009778aa
Issue #20306 : Android is the only system that returns NULL for the pw_passwd
...
field. Rather than cluttering the tests, translate the arguably more correct
"None" to an empty string.
2016-04-26 11:43:21 +02:00
Raymond Hettinger
c5c43b8374
merge
2016-04-26 01:11:28 -07:00
Raymond Hettinger
b9531bcdcc
Issue #24715 : Improve sort stability example
2016-04-26 01:11:10 -07:00
Raymond Hettinger
ab425aa9d3
Issue #16394 : Note the tee() pure python equivalent is only a rough approximation.
2016-04-26 00:10:00 -07:00
Serhiy Storchaka
cd9b5c2f40
Issue #26634 : recursive_repr() now sets __qualname__ of wrapper.
...
Patch by Xiang Zhang.
2016-04-26 09:31:11 +03:00
Serhiy Storchaka
b3b366d803
Issue #26634 : recursive_repr() now sets __qualname__ of wrapper.
...
Patch by Xiang Zhang.
2016-04-26 09:30:44 +03:00
Stefan Krah
144da4ec85
Issue #22747 : Workaround for systems without langinfo.h.
2016-04-26 01:56:50 +02:00
Stefan Krah
267b639a26
Issue #20306 : The pw_gecos and pw_passwd fields are not required by POSIX.
...
If they aren't present, set them to an empty string.
2016-04-26 01:09:18 +02:00
Stefan Krah
8e1da5823b
Issue #26846 : Workaround for non-standard stdlib.h on Android.
2016-04-25 22:48:42 +02:00
Stefan Krah
1845d144bc
Issue #17905 : Do not guard locale include with HAVE_LANGINFO_H.
2016-04-25 21:38:53 +02:00
Senthil Kumaran
0996fa3bd8
merge 3.5
...
Issue #26804 : urllib.request will prefer lower_case proxy environment variables
over UPPER_CASE or Mixed_Case ones.
Patch contributed by Hans-Peter Jansen. Reviewed by Martin Panter and Senthil Kumaran.
2016-04-25 08:18:07 -07:00
Senthil Kumaran
a7c0ff2f0b
Issue #26804 : urllib.request will prefer lower_case proxy environment variables
...
over UPPER_CASE or Mixed_Case ones.
Patch contributed by Hans-Peter Jansen. Reviewed by Martin Panter and Senthil Kumaran.
2016-04-25 08:16:23 -07:00
Zachary Ware
3211595bef
Merge with 3.5
2016-04-25 09:27:49 -05:00
Zachary Ware
d3304e3e20
FileExistsError is raised by mkdir when dir exists
...
Reported by Saul Spatz on docs@
2016-04-25 09:27:27 -05:00
Berker Peksag
42d9b02c04
Issue #23662 : Document default value of RFC 2109 attributes
2016-04-25 14:32:41 +03:00
Berker Peksag
8724a2adf2
Issue #23662 : Document default value of RFC 2109 attributes
2016-04-25 14:32:19 +03:00
Serhiy Storchaka
159e5359d9
Remove outdated TkVersion checks.
...
Minimal supported Tcl/Tk version is 8.4, and this is checked in _tkinter.c.
2016-04-25 13:49:11 +03:00
Serhiy Storchaka
81e7f94076
Merge 3.5
2016-04-25 08:58:59 +03:00
Serhiy Storchaka
685fbed7f9
Issue #26837 : assertSequenceEqual() now correctly outputs non-stringified
...
differing items (like bytes in the -b mode). This affects assertListEqual()
and assertTupleEqual().
2016-04-25 08:58:25 +03:00
Serhiy Storchaka
ccd047ea4b
Removed unused imports.
2016-04-25 00:12:32 +03:00
Serhiy Storchaka
a6f26c1d34
Remove more unused imports in tests.
2016-04-25 00:05:30 +03:00
Serhiy Storchaka
fd2839e1de
Merge 3.5
2016-04-24 23:53:16 +03:00
Serhiy Storchaka
5b6f0aa71c
Remove duplicated tests.
...
There were duplicated methods with the same name and body.
2016-04-24 23:50:18 +03:00
Serhiy Storchaka
e4fbb0206d
Remove unused support.run_unittest imports.
...
It is not needed since tests use unittest.main().
2016-04-24 23:42:49 +03:00
Victor Stinner
8153ac8f00
Issue #26249 : Mention PyMem_Malloc() change in What's New in Python 3.6 in the
...
Optimizations section.
2016-04-24 22:33:26 +02:00
Serhiy Storchaka
e437a10d15
Issue #23277 : Remove unused imports in tests.
2016-04-24 21:41:02 +03:00
Serhiy Storchaka
597d15afe4
Issue #23277 : Remove unused support.run_unittest import.
2016-04-24 13:45:58 +03:00
Serhiy Storchaka
c7f44aa99a
Issue #23277 : Remove more unused sys and os imports.
2016-04-24 13:25:01 +03:00
Serhiy Storchaka
18a8affc8e
Issue #26801 : shutil.get_terminal_size() now handles the case of stdout is
...
reopened on Windows. Added tests for fallbacks.
2016-04-24 09:59:17 +03:00
Serhiy Storchaka
d30829def2
Issue #26801 : shutil.get_terminal_size() now handles the case of stdout is
...
reopened on Windows. Added tests for fallbacks.
2016-04-24 09:58:43 +03:00
Martin Panter
a497774b71
Issue #24911 : Merge socket context manager doc from 3.5
2016-04-24 04:55:00 +00:00
Berker Peksag
1e8ee9b380
Issue #23277 : Remove unused sys and os imports
...
Patch by Jon Dufresne.
2016-04-24 07:31:42 +03:00
Martin Panter
e37fc18b3c
Issue #24911 : All socket objects are context managers; update examples
2016-04-24 04:24:36 +00:00
Martin Panter
37917369d5
Issue #23806 : Merge susp-ignored.csv from 3.5
2016-04-24 04:07:58 +00:00
Martin Panter
887bc96e2e
Issue #23806 : Update susp-ignored.csv
2016-04-24 04:06:15 +00:00
Berker Peksag
e50d8465ab
Issue #26041 : Remove "will be removed in Python 3.7" from description messages
...
We will keep platform.dist() and platform.linux_distribution() to make porting
from Python 2 easier.
Patch by Kumaripaba Miyurusara Athukorala.
2016-04-24 03:32:50 +03:00
Berker Peksag
8d8221f0d6
Issue #26041 : Remove "will be removed in Python 3.7" from description messages
...
We will keep platform.dist() and platform.linux_distribution() to make porting
from Python 2 easier.
Patch by Kumaripaba Miyurusara Athukorala.
2016-04-24 03:32:24 +03:00
Berker Peksag
8d9594df66
Issue #19731 : Update copyright year in docs.p.o footer
...
See https://mail.python.org/pipermail/python-legal-sig/2013-November/000059.html
for details.
Patch by Antoine Pitrou.
2016-04-24 03:21:32 +03:00
Berker Peksag
2ec1bee1b3
Issue #19731 : Update copyright year in docs.p.o footer
...
See https://mail.python.org/pipermail/python-legal-sig/2013-November/000059.html
for details.
Patch by Antoine Pitrou.
2016-04-24 03:21:13 +03:00
Berker Peksag
c61d80cc83
Issue #18572 : Remove redundant note about surrogates in string escape doc
2016-04-24 03:14:01 +03:00
Berker Peksag
4f35d79d65
Issue #18572 : Remove redundant note about surrogates in string escape doc
2016-04-24 03:13:40 +03:00
Berker Peksag
78de0b1047
Issue #18353 : Remove PyUnicode_WRITE_CHAR macro link from c-api/unicode.rst
...
Patch by Corey Brune.
2016-04-24 03:07:03 +03:00
Berker Peksag
544ae59b8e
Issue #18353 : Remove PyUnicode_WRITE_CHAR macro link from c-api/unicode.rst
...
Patch by Corey Brune.
2016-04-24 03:06:44 +03:00
Berker Peksag
ae7e8c44ac
Issue #21382 : Clarify signal.signal() documentation on Windows
...
All signal.SIG* constants may not be defined on Windows so a call like
signal.signal(signal.SIGPIPE, lambda signum, frame: sys.exit(1))
will raise an AttributeError.
2016-04-24 02:59:43 +03:00
Berker Peksag
77e543c6cd
Issue #21382 : Clarify signal.signal() documentation on Windows
...
All signal.SIG* constants may not be defined on Windows so a call like
signal.signal(signal.SIGPIPE, lambda signum, frame: sys.exit(1))
will raise an AttributeError.
2016-04-24 02:59:16 +03:00
Berker Peksag
ce18d8c2f4
Issue #26089 : Remove duplicate field 'license' from DistributionMetadata
...
It was renamed to 'license' in 178d19cff163.
Patch by Augustin Laville.
2016-04-24 01:55:09 +03:00
Berker Peksag
557326eed3
Issue #20112 : Improve BaseHTTPRequestHandler.error_message_format documentation
...
* Explain how 'error_message_format' is used by 'send_error' method
* Mention that 'responses' is used by 'send_response_only' and 'send_error' methods
* Replace 'class variables' with 'attributes'
Initial patch by Anastasia Filatova.
2016-04-24 01:51:31 +03:00
Berker Peksag
0269828320
Issue #20112 : Improve BaseHTTPRequestHandler.error_message_format documentation
...
* Explain how 'error_message_format' is used by 'send_error' method
* Mention that 'responses' is used by 'send_response_only' and 'send_error' methods
* Replace 'class variables' with 'attributes'
Initial patch by Anastasia Filatova.
2016-04-24 01:51:02 +03:00
Serhiy Storchaka
745145a7da
Issue #26822 : itemgetter, attrgetter and methodcaller objects no longer
...
silently ignore keyword arguments.
2016-04-23 10:53:43 +03:00
Serhiy Storchaka
c2a2a751cf
Issue #26822 : itemgetter, attrgetter and methodcaller objects no longer
...
silently ignore keyword arguments.
2016-04-23 10:51:39 +03:00