| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Some updates to ancient text about comparisons; fixes bp-34552.
|
| |
|
|
|
|
|
|
|
|
| |
tests (GH-9086)
<!-- issue-number: [bpo-28617](https://www.bugs.python.org/issue28617) -->
https://bugs.python.org/issue28617
<!-- /issue-number -->
|
|
|
|
| |
Emit warning when None passed explicitly, list Python version since
deprecation in warning message and docs.
|
|
|
|
|
| |
Remove ellipsis that look like continuation prompts,
has a side benefit of putting rest of error message in proper text color.
|
| |
|
| |
|
|
|
| |
The existing doc had a number of info gaps and was a little hard to use. This patch provides several quick-reference tables as well as examples.
|
|
|
|
|
|
|
|
|
| |
The documentation for CERT_NONE, CERT_OPTIONAL, and CERT_REQUIRED were
misleading and partly wrong. It fails to explain that OpenSSL behaves
differently in client and server mode. Also OpenSSL does validate the
cert chain everytime. With SSL_VERIFY_NONE a validation error is not
fatal in client mode and does not request a client cert in server mode.
Also discourage people from using CERT_OPTIONAL in client mode.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While locale coercion and UTF-8 mode turned out to
be complementary ideas rather than competing ones,
it isn't immediately obvious why it's useful to
have both, or how they interact at runtime.
This updates both the Python 3.7 What's New doc
and the PYTHONCOERCECLOCALE and PYTHONUTF8
documentation in an attempt to clarify that
relationship:
- in the respective What's New sections, add a closing paragraph
explaining which problem each one solves, and pointing to the
other PEP's section for the specific aspects it relies on the other
PEP to solve
- use "locale-aware mode" as a more descriptive term for the
default non-UTF-8 mode
- improve wording conistenccy between the PYTHONCOERCECLOCALE
and PYTHONUTF8 docs when they cover the same thing (mostly
related to legacy locale detection and setting the standard
stream error handler)
- improve the description of the locale coercion trigger conditions
(including pointing out that setting LC_ALL turns off locale coercion)
- port the full description of the UTF-8 mode behaviour changes
from PEP 540 into the PYTHONUTF8 documentation
- be explicit that PYTHONIOENCODING still overrides the settings
for the standard streams
- mention concrete examples of things that do and don't get their
text encoding assumptions adjusted by the two text encoding
assumption override techniques
|
| |
|
| |
|
|
|
|
| |
Unlike `asyncio.wait_for()`, `asyncio.wait()` does not cancel the passed
futures when a timeout accurs.
|
| |
|
|
|
| |
bpo-33604: Bump removal notice from 3.6 to 3.8 and change PendingDeprecationWarning to DeprecationWarning as we had intended to do earlier...
|
|
|
|
| |
(GH-6814)
|
| |
|
|
|
|
|
|
|
|
| |
(GH-5469)
Remove the paragraph where we explain that os.utime() does not support a
directory as path under Windows. Patch by Jan-Philip Gehrcke
Co-authored-by: Jan-Philip Gehrcke <jgehrcke@gmail.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* bpo-33201: Modernize "Extension types" doc
* Split tutorial and other topics
* Some small fixes
* Address some review comments
* Rename noddy* to custom* and shoddy to sublist
* Fix markup
|
| |
|
|
|
|
| |
Py_UNICODE is deprecated since Python 3.3.
But the deprecation is missed in the c-api/arg document.
|
| |
|
| |
|
|
|
|
| |
(GH-6195)
|
|
|
|
|
|
| |
(GH-6061)
|
|
|
|
| |
Original patch by Jon Foster and Berker Peksag.
|
| |
|
| |
|
|
|
|
|
|
|
| |
The ssl module function ssl.wrap_socket() has been de-emphasized
and deprecated in favor of the more secure and efficient
SSLContext.wrap_socket() method.
Signed-off-by: Christian Heimes <christian@python.org>
|
|
|
| |
The 'optimization' is for space in the executable file, not for run time.
|
| |
|
| |
|
| |
|
|
|
| |
The new link is given in a red box on the old page.
|
|
|
|
|
|
|
| |
(GH-4754)
When `__getattr__` is implemented, attribute lookup will always fall back to that,
even if the initial failure comes from `__getattribute__` or a descriptor's `__get__`
method (including property methods).
|
|
|
|
| |
Modify RE examples in documentation to use raw strings to prevent DeprecationWarning.
Add text to REGEX HOWTO to highlight the deprecation. Approved by Serhiy Storchaka.
|
|
|
|
|
| |
In the tutorial about the Generator expression, there is an example with
a dict comprehension and not with a generator expression, just removed
the code.
|
| |
|
|
|
|
|
| |
Some commands are specified in the documentation, but there is no direct
references.
|
|
|
|
| |
Updating the C API docs was missed when the per-opcode
tracing & profiling support was initially added.
|
| |
|
| |
|
|
|
|
|
|
| |
* Add abstract get_loop() method to Server, AbstractServer classes.
* Add test cases for get_loop() method in Server, AbstractServer classes
* Add documentation for get_loop() method
|
| |
|
|
|
|
| |
documentation. (#4491)
|
| |
|
|
|
| |
Change the code example from using `get_history_length` to `get_current_history_length`.
|
|
|
|
|
| |
The dunderless functions are preferred; dunder are retained for back compatilibity.
Patch by Sanket Dasgupta.
|