Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: backlib vs aiostdlib #1

Open
2 tasks done
syubogdanov opened this issue Jan 5, 2025 · 0 comments
Open
2 tasks done

[BUG]: backlib vs aiostdlib #1

syubogdanov opened this issue Jan 5, 2025 · 0 comments

Comments

@syubogdanov
Copy link
Owner

syubogdanov commented Jan 5, 2025

Terms

  • I agree to follow this project's code of conduct.
  • I confirm that the same issue has not been submitted yet.

What happened?

When overriding `__module__` in `aiostdlib.*`, the `backlib.py313.*.__module__` is also overrided

How to Reproduce?

>>> from backlib.py313.json import JSONDecodeError
>>> from aiostdlib import json
>>> raise JSONDecodeError(msg="msg", doc="doc", pos=0)
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "...", line 6, in <module>
    raise JSONDecodeError(msg="msg", doc="doc", pos=0)
aiostdlib.json.JSONDecodeError: msg: line 1 column 1 (char 0)

Library Version

Other (Use the Comments)

Python Version

Other (Use the Comments)

Operating System

Cross-platform

Comments

Library Version: `aiostdlib-0.2.0-rc`
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

No branches or pull requests

1 participant