Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Assign generated init funcs unique names #227

Merged
merged 1 commit into from
Aug 18, 2016
Merged

Conversation

jparise
Copy link
Contributor

@jparise jparise commented Aug 17, 2016

Previously, all generated init funcs would receive the same name, which made
them impossible to differentiate in traces and profiling output. We now assign
each function a unique name based on its associated class.

Further, we can now add "fake" linecache entries for our generated functions
so that debuggers (like PDB) and the traceback module can better understand
the generated code.

Previously, all generated init funcs would receive the same name, which made
them impossible to differentiate in traces and profiling output. We now assign
each function a unique name based on its associated class.

Further, we can now add "fake" linecache entries for our generated functions
so that debuggers (like PDB) and the traceback module can better understand
the generated code.
@jparise jparise changed the title Assign generated init funcs unique names Assign generate init funcs unique names Aug 17, 2016
@jparise jparise changed the title Assign generate init funcs unique names Assign generated init funcs unique names Aug 17, 2016
@lxyu lxyu merged commit b89b04b into Thriftpy:develop Aug 18, 2016
@lxyu
Copy link
Contributor

lxyu commented Aug 18, 2016

👍 Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants