bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name#7195
bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name#7195JulienPalard merged 3 commits intopython:masterfrom
Conversation
|
LGTM, it make sense, but can probably only be merged before 3.7.0, as changing it after would mean breaking compatibility. |
vstinner
left a comment
There was a problem hiding this comment.
LGTM if and only if the change is merged into 3.7 before 3.7 final.
The change doesn't break the backward compatibility because the renamed class has been introduced in Python 3.7 which is not released yet (beta versions have been released, but not the 3.7.0 final).
|
Thanks @maggyero for the PR, and @JulienPalard for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7. |
|
Sorry, @maggyero and @JulienPalard, I could not cleanly backport this to |
|
You forgot to update the entry in What's New. |
…ss name (pythonGH-7195). (cherry picked from commit 1cee216)
|
GH-7219 is a backport of this pull request to the 3.7 branch. |
|
@elprans Hey thanks for noticing, I'm fixing it and will backport both in the same PR in 3.7. |
|
@JulienPalard Thanks for the merge. |
Changes the class name
http.server.ThreadedHTTPServertohttp.server.ThreadingHTTPServerintroduced by @JulienPalard on 23 March 2018 for Python 3.7, in order to be consistent with the already existing classes:socketserver.ForkingTCPServer;socketserver.ForkingUDPServer;socketserver.ThreadingTCPServer;socketserver.ThreadingUDPServer.https://bugs.python.org/issue31639