q icon indicating copy to clipboard operation
q copied to clipboard

Question on new 3.7 feature

Open jleclanche opened this issue 6 years ago • 15 comments

Sorry to file an issue here but I can't find a better point of contact.

https://docs.python.org/3.7/whatsnew/3.7.html#pep-562-customization-of-access-to-module-attributes

Does this solve the long-standing issue mentioned in the initial presentation about q, regarding __call__ on modules?

jleclanche avatar Jun 28 '18 18:06 jleclanche

Oh, interesting.

zestyping avatar Jun 28 '18 19:06 zestyping

This seems unmaintained, I just tried to open an issue just to find out that I had opened it a year ago with no response. @jleclanche I have half a mind to just fork it and release my own, maintained version of it.

Or maybe the author could move it into Jazzband?

skorokithakis avatar Oct 28 '18 11:10 skorokithakis

This project is mostly unmaintained. I had hoped to have the time to be able to do the maintenance from @zestyping but was never able to beyond some very minor things.

If someone had the time to take up the work, I would be more than happy to hand over the reigns. As the original author, @zestyping, would you be okay with that too?

mithro avatar Oct 29 '18 00:10 mithro

BTW What is Jazzband?

mithro avatar Oct 29 '18 00:10 mithro

Jazzband is a Django-oriented maintainership community. I don't think they'd take a non-Django project.

Would be lovely to have @skorokithakis help maintain this :)

jleclanche avatar Oct 29 '18 00:10 jleclanche

Hi, everyone. Thank you so much for using and caring about the future of q!

I'm sorry I've been so slow to respond to these requests. I can commit to giving them a serious look this coming week. I hope to do better in the future as well, though I understand if you (reasonably) don't have much confidence in that yet, given this project's track record. Nonetheless, I'll try.

zestyping avatar Nov 17 '18 03:11 zestyping

@zestyping could I convince you to add the project to the code shelter?

skorokithakis avatar Nov 17 '18 09:11 skorokithakis

Module-level __dir__ and __getattr__ are nice to create attributes on the fly or lie about stuff, but I think they don’t help with magic methods (double-underscore) as these are looked up on types, not instances.

merwok avatar Jan 25 '19 01:01 merwok

@zestyping Going to second @skorokithakis' suggestion of adding the project to the Code Shelter :) I really like its approach and I think q is an exceptionally useful Python package. Would you consider it?

jleclanche avatar Jan 25 '19 11:01 jleclanche

@zestyping Paging again on the code shelter, this is such a ridiculously useful library it'd be good to have other people be able to contribute to it :)

jleclanche avatar Oct 01 '19 01:10 jleclanche

@jleclanche Thanks for the reminder. Obviously my ability to estimate when I'll get around to doing maintenance on this project is severely inaccurate! I'll have a look at the Code Shelter today.

zestyping avatar Oct 01 '19 08:10 zestyping

Thank you, @zestyping!

skorokithakis avatar Oct 01 '19 09:10 skorokithakis

I've added it!

zestyping avatar Oct 01 '19 10:10 zestyping

Sweet! Thank you!

jleclanche avatar Oct 01 '19 11:10 jleclanche

Jazzband is a Django-oriented maintainership community. I don't think they'd take a non-Django project.

Would be lovely to have @skorokithakis help maintain this :)

jazzband member here! that's not true. (we maintain pip-tools) We accept python packages only! so @zestyping you can submit to the community following the rules.

zodman avatar Jan 13 '21 15:01 zodman