Skip to content

fix: Implement repr hooks, refactor cycle breaking#247

Merged
untitaker merged 13 commits into
masterfrom
fix/repr-hooks
Feb 3, 2019
Merged

fix: Implement repr hooks, refactor cycle breaking#247
untitaker merged 13 commits into
masterfrom
fix/repr-hooks

Conversation

@untitaker

@untitaker untitaker commented Jan 30, 2019

Copy link
Copy Markdown
Member
  • write tests for django

@untitaker
untitaker requested review from HazAT and mitsuhiko January 30, 2019 10:29
@codecov-io

codecov-io commented Jan 30, 2019

Copy link
Copy Markdown

Codecov Report

Merging #247 into master will increase coverage by 0.08%.
The diff coverage is 97.36%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #247      +/-   ##
==========================================
+ Coverage   81.62%   81.71%   +0.08%     
==========================================
  Files          32       32              
  Lines        2732     2745      +13     
  Branches      443      443              
==========================================
+ Hits         2230     2243      +13     
  Misses        340      340              
  Partials      162      162
Impacted Files Coverage Δ
sentry_sdk/client.py 83.47% <ø> (-0.14%) ⬇️
sentry_sdk/integrations/django/__init__.py 83.24% <100%> (+0.52%) ⬆️
sentry_sdk/scope.py 84.12% <100%> (ø) ⬆️
sentry_sdk/utils.py 84% <96.66%> (+0.26%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e252a20...5b260f1. Read the comment docs.

Comment thread sentry_sdk/utils.py
@mitsuhiko

Copy link
Copy Markdown
Contributor

This will mean tons of tls accesses though. That seems suboptimal.

@untitaker

Copy link
Copy Markdown
Member Author

@mitsuhiko I think the most recent commit fixes things. I don't think we need to figure out a general solution for avoiding too many TLS accesses. I assume external users will just unconditionally run their logic anyway

@untitaker untitaker changed the title [WIP] fix: Implement repr hooks, refactor cycle breaking fix: Implement repr hooks, refactor cycle breaking Feb 3, 2019
@untitaker
untitaker merged commit 30eddcf into master Feb 3, 2019
@untitaker
untitaker deleted the fix/repr-hooks branch February 3, 2019 17:43
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.

4 participants