Skip to content

Conversation

mrbean-bremen
Copy link
Member

@mrbean-bremen mrbean-bremen commented Nov 18, 2018

  • in Python 2, builtin open is now handled by FakeBuiltinModule
  • in Python 3, builtin open is handled via io.open
  • adapted pytest plugin to ensure that open is not patched
    for linecache and dependent tokenize modules
  • importing builtin open as other name does not work with PyPy2
  • see tarfile add method bombs because lstat returns a uid of None #449

- in Python 2, builtin open is now handled by FakeBuiltinModule
- in Python 3, builtin open is handled via io.open
- adapted pytest plugin to ensure that open is not patched
  for linecache and dependent tokenize modules
- importing builtin open as other name does not work with PyPy2
@mrbean-bremen mrbean-bremen merged commit cb6009c into pytest-dev:master Nov 18, 2018
@mrbean-bremen mrbean-bremen deleted the import-open-as branch November 18, 2018 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant