[subinterpreters] _xxsubinterpreters: Can't unpickle objects defined in __main__
Open
Nobody has claimed this yet.
3.8 (EOL)
3.9 (EOL)
topic-subinterpreters
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 37292 |
|---|---|
| Nosy | @ncoghlan, @ericsnowcurrently, @soltysh, @crusaderky, @LewisGaul |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2019-06-15.13:06:31.523>
labels = ['expert-subinterpreters', 'type-bug', '3.8', '3.9']
title = "[subinterpreters] _xxsubinterpreters: Can't unpickle objects defined in __main__"
updated_at = <Date 2020-05-15.00:40:23.299>
user = 'https://github.com/crusaderky'
bugs.python.org fields:
activity = <Date 2020-05-15.00:40:23.299>
actor = 'vstinner'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Subinterpreters']
creation = <Date 2019-06-15.13:06:31.523>
creator = 'crusaderky'
dependencies = []
files = []
hgrepos = []
issue_num = 37292
keywords = []
message_count = 6.0
messages = ['345680', '357396', '357413', '357447', '357448', '358423']
nosy_count = 5.0
nosy_names = ['ncoghlan', 'eric.snow', 'maciej.szulik', 'crusaderky', 'LewisGaul']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue37292'
versions = ['Python 3.8', 'Python 3.9']
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with _xxsubinterpreters and an object defined in main, then inspect the subinterpreter and pickle handling involved. Done means objects defined in main can be unpickled correctly across the affected subinterpreter use case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100