Skip to content

Conversation

aisk
Copy link
Member

@aisk aisk commented May 14, 2024

Fix #266

@aisk
Copy link
Member Author

aisk commented May 14, 2024

Since the error that this change is intended to fix is a critical issue, it will affect all users who tried to load the thrift files in a sub-thread, I will merge it without any code review.

cc @ethe

@aisk aisk merged commit 9db168d into Thriftpy:master May 14, 2024
@aisk aisk deleted the thread-initialize branch May 14, 2024 13:12
aisk added a commit to aisk/thriftpy2 that referenced this pull request Apr 16, 2025
…y#267)

* Initialize the thread local in parser module in every thread

* Remove redundant codes
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.

AttributeError: '_thread._local' obiect has no attribute 'thrift_stack'
1 participant