Comments (4)
The __logged__
is missing the __weakref__
slot. I can humour your request and add it but it doesn't look very useful overall. Methods are most always new objects - if you don't hold other references to them they are going to be garbage collected immediately. Eg, in your example your set is always going to be empty on py2.7. Py3 seems to have some sort of caching for methods accessed via the class. Why do you need weakrefs for methods anyway?
from python-aspectlib.
I have no use for it, but apparently the original author of the code I'm
trying to debug likes to keep weakrefs to callables for reasons I don't
understand.
On 25 November 2014 at 10:34, Ionel Cristian Mărieș <
[email protected]> wrote:
Closed #1 #1 via
5a32568
5a32568
.—
Reply to this email directly or view it on GitHub
#1 (comment).
from python-aspectlib.
Alright. I've made a 1.2.2 release. Let me know if you have further issues.
from python-aspectlib.
Fantastic, thanks for that.
On 25 Nov 2014, at 13:44, Ionel Cristian Mărieș [email protected] wrote:
Alright. I've make a 1.2.2 release. Let me know if you have further issues.
—
Reply to this email directly or view it on GitHub.
from python-aspectlib.
Related Issues (20)
- Test failures under Python 3.7 HOT 3
- Tests failed with Tornado 6 HOT 7
- Pass many objects HOT 1
- Pass many objects as target argument in aspectlib.weave method HOT 1
- Failing behavior with async methods HOT 3
- 1.5.2: man page generation warnings HOT 1
- Can intercept os.popen and os.system method?
- Invocation location info from Aspect?
- Python 3.10 has new error messages HOT 1
- Weaving flask's render_template function
- Tests fail: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated
- QUESTION: is it designed to wrap methods, funtions only? Can classes be wrapped? HOT 2
- RFE: please start making github releases
- Profiling Example HOT 5
- Stack trace includes aspectlib itself HOT 1
- weave does not work with object in submodules under Py34 HOT 4
- weave does not work with "generated" functions HOT 3
- [Q] Is it still alive? HOT 4
- Weave "AttributeError" on AWS Lambda HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-aspectlib.