Giter Club home page Giter Club logo

autoslot's Introduction

Welcome!

Featured repositories

Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card

Machine Learning

Readme Card

English language tools

Readme Card Readme Card Readme Card

Smaller tools

Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card

Logging tools

In past roles I needed to examine server logs extensively, and that experience was good inspiration for a bunch of ideas around making logs a little easier to produce and work with.

Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card Readme Card

Links

Mastodon

My GitHub Stats

autoslot's People

Contributors

cjrh avatar dependabot-preview[bot] avatar takluyver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

autoslot's Issues

Tentative Support for Mixins

Hello!
     I'm assuming that any problems occurring with mixins may not be solved by this, correct? Including the "instance lay-out" error?
     Thank you kindly for the help!

Can you tell me how to adjust to support python2 for autoslot ?

I have a lot of python2 object initialization, resulting in a large memory, file modification and upgrading python3 is a big move for me, so I am looking for automatic generation of slots, but I did not find a suitable method. Can you tell me how autoslot supports python2? Because the dis library is too different

Properties with opname "LOAD_DEREF"

Hi
I'm using autoslot in a project. But I don't understand why your librairy don't work on some of my class. I tried to debug in your module, and I found that the the opname is equal to LOAD_DEREF instead of LOAD_FAST. Do you know why it do that? And how can I fix it?

Autoslot does not work with type hints

Hi,

I really like the idea of autoslot.
However, I have lot's of type hints in my code which are currently not picked up properly.
It would be really nice if you could make this work, too.

import autoslot
class test_hint(autoslot.Slots):
    def __init__(self):
        self.a = 0
        self.b : int

test = test_hint()
test.a = 1 # ok
test.b = 1 # <-- this fails!

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.