You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the current behavior is a bug, please provide the steps to reproduce and if possible a screenshots and logs of the problem. If you can, show us your code.
Running tests under Python 3.11
What is the expected behavior?
No Deprecation Warning
What is the motivation / use case for changing the behavior?
Upstream Deprecation Warning
Please tell us about your environment:
Cheroot version: X.X.X
CherryPy version: 18.6.1
Python version: 3.11
OS: Fedora 37
Browser: all
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, e.g. stackoverflow, gitter, etc.)
The text was updated successfully, but these errors were encountered:
I'm submitting a ...
What is the current behavior?
cherrypy/_cpconfig.py:157: in update
super(Config, self).update(config)
class = <class 'cherrypy._cpconfig.Config'>
config = <_io.StringIO object at 0x7fde106cb5b0>
self = {'tools.log_tracebacks.on': True, 'tools.log_headers.on': False, 'tools.trailing_slash.on': True, 'tools.encode.on': T...lse, 'checker.on': False, 'request.show_tracebacks': True, 'request.show_mismatched_params': True, 'log.screen': False}
cherrypy/lib/reprconf.py:130: in update
self._apply(Parser.load(config))
config = <_io.StringIO object at 0x7fde106cb5b0>
self = {'tools.log_tracebacks.on': True, 'tools.log_headers.on': False, 'tools.trailing_slash.on': True, 'tools.encode.on': T...lse, 'checker.on': False, 'request.show_tracebacks': True, 'request.show_mismatched_params': True, 'log.screen': False}
cherrypy/lib/reprconf.py:208: in load
return Parser().dict_from_file(input) if is_file else input.copy()
input = <_io.StringIO object at 0x7fde106cb5b0>
is_file = True
self = <class 'cherrypy.lib.reprconf.Parser'>
cherrypy/lib/reprconf.py:194: in dict_from_file
self.readfp(file)
file = <_io.StringIO object at 0x7fde106cb5b0>
self = <cherrypy.lib.reprconf.Parser object at 0x7fde140a5360>
self = <cherrypy.lib.reprconf.Parser object at 0x7fde140a5360>
fp = <_io.StringIO object at 0x7fde106cb5b0>, filename = None
E DeprecationWarning: This method will be removed in Python 3.12. Use 'parser.read_file()' instead.
filename = None
fp = <_io.StringIO object at 0x7fde106cb5b0>
self = <cherrypy.lib.reprconf.Parser object at 0x7fde140a5360>
/usr/lib64/python3.10/configparser.py:759: DeprecationWarning
If the current behavior is a bug, please provide the steps to reproduce and if possible a screenshots and logs of the problem. If you can, show us your code.
Running tests under Python 3.11
What is the expected behavior?
No Deprecation Warning
What is the motivation / use case for changing the behavior?
Upstream Deprecation Warning
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, e.g. stackoverflow, gitter, etc.)
The text was updated successfully, but these errors were encountered: