This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients niconoe, vstinner, xtreak, yselivanov
Date 2018-07-16.08:53:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Python 3.7 is affected as well:

vstinner@apu$ ./python -Werror -m test test_docxmlrpc
Exception happened during processing of request from ('', 46636)
Traceback (most recent call last):
  File "/home/vstinner/prog/python/3.7/Lib/xmlrpc/", line 828, in docserver
    contents.append(self.docroutine(value, key, funcs=fdict))
  File "/home/vstinner/prog/python/3.7/Lib/xmlrpc/", line 791, in docroutine
  File "/home/vstinner/prog/python/3.7/Lib/", line 1225, in formatargspec
DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
Warning -- threading._dangling was modified by test_docxmlrpc
  Before: <_weakrefset.WeakSet object at 0x7fc84da8f810>
  After:  <_weakrefset.WeakSet object at 0x7fc84da8f538> 
test test_docxmlrpc failed -- multiple errors occurred; run in verbose mode for details
test_docxmlrpc failed

I generated PR 8294 backport to fix Python 3.7 as well. Since the HTML output is unchanged, IMHO it's safe to backport the change.

In the documentation, inspect.formatargspec() is also deprecated in Python 3.6, but the code doesn't emit a DeprecationWarning. I don't think that it's worth it to backport the change to Python 3.6.
Date User Action Args
2018-07-16 08:53:32vstinnersetrecipients: + vstinner, yselivanov, xtreak, niconoe
2018-07-16 08:53:32vstinnersetmessageid: <>
2018-07-16 08:53:32vstinnerlinkissue33911 messages
2018-07-16 08:53:32vstinnercreate