Code Monkey home page Code Monkey logo

Comments (4)

ionelmc avatar ionelmc commented on May 26, 2024

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.

nickhutchinson avatar nickhutchinson commented on May 26, 2024

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.

ionelmc avatar ionelmc commented on May 26, 2024

Alright. I've made a 1.2.2 release. Let me know if you have further issues.

from python-aspectlib.

nickhutchinson avatar nickhutchinson commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.