New submission from Jason R. Coombs <jar...@jaraco.com>:

In [pytest-dev/pytest#9174](https://github.com/pytest-dev/pytest/issues/9174), 
it became clear that the DegenerateFiles object has a couple of interface 
mismatches to Traversable:

- name is a property
- open accepts a 'mode' and arbitrary args and kwargs.

Because DegenerateFiles is an intentionally broken handle (when a resource 
provider is unavailable), there's little harm in the interface being broken, 
and the interface is already gone in Python 3.11, so the urgency of fixing this 
is small.

----------
messages: 403564
nosy: jaraco
priority: low
severity: normal
status: open
title: DegenerateFiles.Path mismatch to Traversable interface
versions: Python 3.10

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45419>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to