[Python-ideas] New Web Interface Library For Python?

2022-02-08 Thread Abdur-Rahmaan Janhangeer
Greetings list, Here is a nobody proposing something to be picked up by more skilled people. The urllib deprecation thread is scary for many reasons. I cannot just ignore it as it affects me as a noob user. The security issues makes one think if we continue shipping something that always has know

[Python-ideas] Re: Generics alternative syntax

2022-02-08 Thread Abdur-Rahmaan Janhangeer
sigh, what's happening. Else OP is a Typing-SIG regular. Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-RahmaanJ> Mauritius

[Python-ideas] Re: Adding sortedconatiners to Python or merge the ideas?

2022-02-03 Thread Abdur-Rahmaan Janhangeer
Oh hoping over to read. I glanced but have not yet read it in details ... Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-Rahm

[Python-ideas] Re: Adding sortedconatiners to Python or merge the ideas?

2022-02-03 Thread Abdur-Rahmaan Janhangeer
FFFHHJ/#YB2JD477TKPB2HTXDW6ZXUBD6NFFFHHJ > > Damian (he/him) > > On Thu, Feb 3, 2022 at 11:51 AM Abdur-Rahmaan Janhangeer < > arj.pyt...@gmail.com> wrote: > >> Greetings, >> >> This library* seems to be used by many people for some treemap operations. >> Woul

[Python-ideas] Adding sortedconatiners to Python or merge the ideas?

2022-02-03 Thread Abdur-Rahmaan Janhangeer
. * http://www.grantjenks.com/docs/sortedcontainers/ Thanks. Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-RahmaanJ> Mauritius __

[Python-ideas] Re: Take two -- PEP 671 proof-of-concept implementation

2021-10-30 Thread Abdur-Rahmaan Janhangeer
> Still interested in coauthors who know CPython internals. That hasn't changed. Should have been included since first mail. But this peaked my interest to dive into the C source Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/>

[Python-ideas] Re: PEP 671: Syntax for late-bound function argument defaults

2021-10-26 Thread Abdur-Rahmaan Janhangeer
anywhere in between! > Did you find a co-author yet? If not i apply. Yours, Abdur-Rahmaan Janhangeer > ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.

[Python-ideas] Re: Making imports callable

2021-10-21 Thread Abdur-Rahmaan Janhangeer
Just amazing!!! Noted it down https://www.pythonkitchen.com/python-making-imports-callable/ Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-Rahm

[Python-ideas] Re: Making imports callable

2021-10-21 Thread Abdur-Rahmaan Janhangeer
Sorry not if name == main, basically if module is being imported: __file__.callable = True Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-Rahm

[Python-ideas] Making imports callable

2021-10-21 Thread Abdur-Rahmaan Janhangeer
Greetings list, Let's say i import module1 import module1 can we do module1() straight out of the box? If not i propose something like if __name__ == '__main__': __file__.callable = True Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.

[Python-ideas] Re: Implementing additional string operators

2021-10-13 Thread Abdur-Rahmaan Janhangeer
some really weird results, instead of errors. Well, i think that since everything in Python is an object, this example can apply to anything. Like you need to put it in context. It's not a problem per se. Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/&g

[Python-ideas] Re: Syntax Sugar for __name__ == "__main__" boilerplate?

2021-10-04 Thread Abdur-Rahmaan Janhangeer
/scaling_flask_apis_for_highthrougput_scenarios/ Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-RahmaanJ> Mauritius ___ Python-ideas mailing list -- python-i

[Python-ideas] Re: Syntax Sugar for __name__ == "__main__" boilerplate?

2021-10-03 Thread Abdur-Rahmaan Janhangeer
entrypoint to Python scripts is not main(), it is the top of the module. eidt: forgot to reply all Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-RahmaanJ> Mauritius

[Python-ideas] Re: Syntax Sugar for __name__ == "__main__" boilerplate?

2021-10-02 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-RahmaanJ> Mauritius ___ Python-ideas mailing list -- python-ideas@python.org To unsub

[Python-ideas] Re: Introduce constants in Python (constant name binding)

2021-05-25 Thread Abdur-Rahmaan Janhangeer
eyword? Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-RahmaanJ> Mauritius ___ Python-ideas mailing list -- python-ideas@pyt

[Python-ideas] Re: Add support for private variables, methods and functions in Python

2021-05-25 Thread Abdur-Rahmaan Janhangeer
tory, they take their responsibility! Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-RahmaanJ> Mauritius ___ Python-ideas mailing list --

[Python-ideas] Re: Introduce constant variables in Python

2021-05-24 Thread Abdur-Rahmaan Janhangeer
Greetings, Just a light-hearted note, if ever the idea is taken seriously, variable: constant = 10 seems more pythonic to me. constant variable = 10 opens the doors for int x = 5 etc Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog

[Python-ideas] Re: Add support for private variables, methods and functions in Python

2021-05-23 Thread Abdur-Rahmaan Janhangeer
secrets. The whole thread echoes sentiments in the same direction. Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-RahmaanJ> Mauritius

[Python-ideas] Re: Changing The Theme of Python Docs Site

2021-05-08 Thread Abdur-Rahmaan Janhangeer
Greetings list, Created thread + summary: https://discuss.python.org/t/changing-the-theme-of-the-python-docs-styling/8621 Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com

[Python-ideas] Re: Changing The Theme of Python Docs Site

2021-05-03 Thread Abdur-Rahmaan Janhangeer
ocs.djangoproject.com/en/3.2/, they contacted someone who has some design taste. Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-RahmaanJ> Mauritius >

[Python-ideas] Re: Changing The Theme of Python Docs Site

2021-05-03 Thread Abdur-Rahmaan Janhangeer
Time from someone clever with CSS in Sphinx may be all it takes. Yes, agree 👍, i am not suggesting other docs systems but just reconsidering the style. @Marc indeed raised the question of overall consistency which i guess will be addressed one day or the other. As for the wiki besides, look there

[Python-ideas] Re: Changing The Theme of Python Docs Site

2021-05-03 Thread Abdur-Rahmaan Janhangeer
I can well imagine someone turning away from a language because the docs felt old or badly styled. One practical effect of it is people preferring to read articles on other sites rather than consult the docs first. One piece of docs that is greatly explained is the sockets section. The part i am

[Python-ideas] Re: Changing The Theme of Python Docs Site

2021-05-03 Thread Abdur-Rahmaan Janhangeer
Found the link i was referring to: https://psg.com/r.clue.html quote: <> @Rob Cliffe I was saying that if you don't know the flashy terms it's an indication that you come from a great time. Me myself i find myself no longer wanting to go deep into networking or the Linux kernel maybe because i

[Python-ideas] Re: Changing The Theme of Python Docs Site

2021-05-03 Thread Abdur-Rahmaan Janhangeer
Woops i present my excuses list, it seems english jokes in my country don't play well overall. I never intend to insult people nor insinuate insults. @Rob Cliffe normally when i have old friends, i like to joke about how ancient they are. A dinosaur in tech deserves respect. Like i was reading th

[Python-ideas] Re: Changing The Theme of Python Docs Site

2021-05-02 Thread Abdur-Rahmaan Janhangeer
Greetings, I guess the difference is in a 'clean' look. I kind of find the docs as a reminder of some legacy software. The docs looks 'old' I know it's vague and subjective but maybe this rings with some more people. Kind Regards, Abdur-Rahmaa

[Python-ideas] Re: Changing The Theme of Python Docs Site

2021-05-02 Thread Abdur-Rahmaan Janhangeer
e you are a dinosaur needing some carbon dating. Many people are interested in launching SaaS nowadays. I'd say that you come from a different time as nowadays (at least some times back, there was a SaaS craze) ^^. I guess you are not much on LinkedIn or some similar platforms Kind Regards, Abdur

[Python-ideas] Re: Changing The Theme of Python Docs Site

2021-04-30 Thread Abdur-Rahmaan Janhangeer
to d...@python.org and waiting for mod approval, Will raise it over there. Thanks for input. Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur

[Python-ideas] Re: Changing The Theme of Python Docs Site

2021-04-29 Thread Abdur-Rahmaan Janhangeer
cleaner look. I find docs such as Masonite really enjoyable to read: https://docs.masoniteproject.com/ I do hope we can advance something along these lines. Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> gi

[Python-ideas] Changing The Theme of Python Docs Site

2021-04-29 Thread Abdur-Rahmaan Janhangeer
https://docs.masoniteproject.com/ Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-RahmaanJ> Mauritius ___ Python-ideas mailing list -- pyt

[Python-ideas] Re: Add venv activate command to the venv modules

2021-01-04 Thread Abdur-Rahmaan Janhangeer
ready generates the files. On windows it has an activate.bat Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-RahmaanJ> Mauritius On Mon, Jan 4, 2021 at 9:03 PM Christopher B

[Python-ideas] Re: Add venv activate command to the venv modules

2021-01-04 Thread Abdur-Rahmaan Janhangeer
You just execute the appropriate shell commands via Python Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-RahmaanJ> Mauritius On Mon, Jan 4, 2021 at 7:34 PM Chris Ange

[Python-ideas] Re: Add venv activate command to the venv modules

2021-01-04 Thread Abdur-Rahmaan Janhangeer
Errata: subprocess(['os', 'stuff', ...]) Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-RahmaanJ> Mauritius ___

[Python-ideas] Re: Add venv activate command to the venv modules

2021-01-04 Thread Abdur-Rahmaan Janhangeer
subprocess([sys.executable, ...]) def activate_on_solaris(): sys.subprocess([sys.executable, ...]) if sys.platform == linux: activate_on_linux() etc I believe this is used somewhere else in CPython. Recently sys.executable replaced python Kind Regards, Abdur-Rahmaan Janhangeer ab

[Python-ideas] Add venv activate command to the venv modules

2021-01-04 Thread Abdur-Rahmaan Janhangeer
Greetings list, put simply, be able to use $ python -m venv venv_name activate To activate an env instead of having each platform have a way of handling it Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> g

[Python-ideas] Re: Make for/while loops nameable.

2020-12-03 Thread Abdur-Rahmaan Janhangeer
Greetings list, I wonder if the issue should be named as: introduce absolute break in Python as if you have 5 nested loops (which you probably should not), breaking loop_i won't do anything Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <

[Python-ideas] Packaging Apps (Was Adding PyInstaller to the stdlib)

2020-11-24 Thread Abdur-Rahmaan Janhangeer
cts into independent executables This solves the issue of Gui etc etc etc etc etc etc Mr Moore's mail of Nov 24, 2020 has ton of ideas and a lot of potential Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.git

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-23 Thread Abdur-Rahmaan Janhangeer
ncrete hint that Zipapps need more works Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.github.io/> github <https://github.com/Abdur-RahmaanJ> Mauritius ___ Python-ideas mailin

[Python-ideas] Re: PyInstaller funding

2020-11-23 Thread Abdur-Rahmaan Janhangeer
Greetings, I suggest: -- To setup PyInstaller funding via the PSF like the pallets does can be a first step to something more concrete -- To let the PSF take over the lib (requires the PSF and your approval) Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-22 Thread Abdur-Rahmaan Janhangeer
cluding C-extensions use the tool for native executables. Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.github.io/> github <https://github.com/Abdur-RahmaanJ> Mauritius __

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-22 Thread Abdur-Rahmaan Janhangeer
Greetings, Finally đź’Ż What about native executables (without PyInstaller)? Kind Regards, Abdur-Rahmaan Janhangeer https://www.github.com/Abdur-RahmaanJ Mauritius sent from gmail client on Android, that's why the signature is so ugly. On Sun, 22 Nov 2020, 15:30 Hartmut Goebel,

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-20 Thread Abdur-Rahmaan Janhangeer
ople and not as the preferred, standard and de facto way. Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.github.io/> github <https://github.com/Abdur-RahmaanJ> Mauritius ___

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-20 Thread Abdur-Rahmaan Janhangeer
eact components. Though I'm not sure Python 'applets' would have React components. Point is on these two points i don't really find a difference between web and desktop apps. Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-20 Thread Abdur-Rahmaan Janhangeer
://www.scylladb.com/2019/02/14/the-complex-path-for-a-simple-portable-python-interpreter-or-snakes-on-a-data-plane/ is an interesting read Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.github.io/> github <https://g

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-20 Thread Abdur-Rahmaan Janhangeer
es of turning python projects into executables, doing so via zipapps is an option i haven't considered. And it does not seem like it's for tomorrow. Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.github.io/&g

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-19 Thread Abdur-Rahmaan Janhangeer
maintainer of PyInstaller speaking and i did not see any elaborattion Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.github.io/> github <https://github.com/Abdur-RahmaanJ> Mauritius ___

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-19 Thread Abdur-Rahmaan Janhangeer
y the thread for it. Well i think i'll try to contact the PyInstaller team to see what they say Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.github.io/> github <https://github.com/Abdur-RahmaanJ> Mauritius On

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-19 Thread Abdur-Rahmaan Janhangeer
e target environment to be, considering that he has the ability to tune. Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.github.io/> github <https://github.com/Abdur-RahmaanJ> Mauritius _

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-19 Thread Abdur-Rahmaan Janhangeer
> > Before asking *us*, you ought to ask what the PyInstaller developers > think of the idea of: > > - relinquishing copyright to the PSF; > - operating under the control of the Python core developers and steering > council, under their terms; > - releasing versions under the schedule of the Pyth

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-18 Thread Abdur-Rahmaan Janhangeer
hon distributions. Not program executables Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.github.io/> github <https://github.com/Abdur-RahmaanJ> Mauritius ___ Python-ideas m

[Python-ideas] Re: Adding PyInstaller to the standard library

2020-11-18 Thread Abdur-Rahmaan Janhangeer
es and functionality to an already-released Python version. Same as all other integrated libs, though i do agree that with executable generators you have to be more careful Kind Regards, Abdur-Rahmaan Janhangeer about | blog github Mauritius ___ Python-id

[Python-ideas] Adding PyInstaller to the standard library

2020-11-18 Thread Abdur-Rahmaan Janhangeer
y as you just ship a final product. I don't exactly know how executables will interact with the WSGI protocol but these concerns are for after and is an issue which does not concern integrating a library per se. Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.githu

[Python-ideas] Re: A new suggestion for Python

2020-09-30 Thread Abdur-Rahmaan Janhangeer
tes over anything that is *iterable* (anything that has an iterator() function that provides an Iterator object), or anything that is itself an iterator: The for in loop influenced quite some langs which makes me think that the spirit of Python as well as it's community is curiously awesome.

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
eing, like the present thread is doing. Kind regards, Abdur-Rahmaan Janhangeer > ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ide

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
r does it explain what it intends to convey. Kind regards, Abdur-Rahmaan Janhangeer > ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.github.io/> github <https://github.com/Abdur-RahmaanJ> Mauritius On Mon, Sep 21, 2020 at 10:52 PM David Lowry-Duda wrote: > > This is very well said. And I&

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
On Mon, Sep 21, 2020 at 10:47 PM Chris Angelico wrote: > > > (This signature at the TOP of every post is just getting in the way, > is there any way to move it to the bottom where it belongs?) I use Gmail and the signature always floats. I don't remember putting it in that irritating place. Will

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.github.io/> github <https://github.com/Abdur-RahmaanJ> Mauritius On Mon, Sep 21, 2020 at 10:19 PM Chris Angelico wrote: > PEPs don't get updated as

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.github.io/> github <https://github.com/Abdur-RahmaanJ> Mauritius On Mon, Sep 21, 2020 at 10:00 PM Chris Angelico wrote: > > Can you explain to us wh

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.github.io/> github <https://github.com/Abdur-RahmaanJ> Mauritius On Mon, Sep 21, 2020 at 9:55 PM Barry Scott wrote: > No they are saying that PEP and RFC are t

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.github.io/> github <https://github.com/Abdur-RahmaanJ> Mauritius On Mon, Sep 21, 2020 at 9:23 PM Barry Scott wrote: > > This is like RFC that can be dra

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.github.io/> github <https://github.com/Abdur-RahmaanJ> Mauritius On Mon, Sep 21, 2020 at 8:41 PM David Lowry-Duda wrote: > I see no reason why we should thin

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about | blog github Mauritius On Mon, Sep 21, 2020 at 12:20 PM Paul Moore wrote: > > On Mon, 21 Sep 2020 at 08:29, Abdur-Rahmaan Janhangeer > wrote: > >> I know that PEPs have different status as enumerated here > > I'm

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about | blog github Mauritius On Mon, Sep 21, 2020 at 11:46 AM Steven D'Aprano wrote: > > On Mon, Sep 21, 2020 at 11:25:52AM +0400, Abdur-Rahmaan Janhangeer wrote: > > > > How would this work in practice? After a PEP is accepted, a

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
On Mon, Sep 21, 2020 at 11:13 AM Greg Ewing wrote: > > > There's precedent for *not* doing that kind of thing. > "RFC" stands for "Request For Comment", and it stays that > way long after it has become adopted as a standard! Maybe they have not thought of doing it and also, request for comments

[Python-ideas] Re: Naming Accepted PEPs as PAPs

2020-09-21 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.github.io/> github <https://github.com/Abdur-RahmaanJ> Mauritius On Mon, Sep 21, 2020 at 11:01 AM Steven D'Aprano wrote: > On Mon, Sep 21, 2020 at 10:26

[Python-ideas] Naming Accepted PEPs as PAPs

2020-09-20 Thread Abdur-Rahmaan Janhangeer
w it has not been accepted and when you hear of PAP 561 you know it is an accepted PEP I know that PEPs have different status as enumerated here <https://www.python.org/dev/peps/> but at least such a naming would make a clear distinction. Curious to hear your thoughts ^^ Kind Regards, A

[Python-ideas] Re: [Python-Dev] Re: Re: Amend PEP-8 to require clear, understandable comments instead of Strunk & White Standard English comments

2020-06-29 Thread Abdur-Rahmaan Janhangeer
be useful. Kind Regards, Abdur-Rahmaan Janhangeer compileralchemy <https://compileralchemy.github.io/> | blog <https://abdur-rahmaanj.github.io/> github <https://github.com/Abdur-RahmaanJ> Mauritius On Mon, Jun 29, 2020 at 8:11 PM David Mertz wrote: > The commit message is si

[Python-ideas] Re: Changing Package Representation On Shell

2020-04-02 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer compileralchemy.com <https://www.compileralchemy.com> | github <https://github.com/Abdur-rahmaanJ/> Mauritius On Fri, Apr 3, 2020 at 4:04 AM Steven D'Aprano wrote: > ... > Personally, I might make and use a display hood to sho

[Python-ideas] Re: Changing Package Representation On Shell

2020-04-02 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer compileralchemy.com <https://www.compileralchemy.com> | github <https://github.com/Abdur-rahmaanJ/> Mauritius On Fri, Apr 3, 2020 at 3:55 AM Steven D'Aprano wrote: > On Thu, Apr 02, 2020 at 07:18:47PM +0400, Abdur-Rahmaan Janhangeer

[Python-ideas] Re: Changing Package Representation On Shell

2020-04-02 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer compileralchemy.com <https://www.compileralchemy.com> | github <https://github.com/Abdur-rahmaanJ/> Mauritius On Fri, Apr 3, 2020 at 2:21 AM Andrew Barnert wrote: > On Apr 2, 2020, at 13:35, Abdur-Rahmaan Janhangeer > wrote: > B

[Python-ideas] Re: Changing Package Representation On Shell

2020-04-02 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer compileralchemy.com <https://www.compileralchemy.com> | github <https://github.com/Abdur-rahmaanJ/> Mauritius On Fri, Apr 3, 2020 at 12:34 AM Chris Angelico wrote: > > You can mess with anything on a module if you subclass ModuleType an

[Python-ideas] Re: Changing Package Representation On Shell

2020-04-02 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer compileralchemy.com <https://www.compileralchemy.com> | github <https://github.com/Abdur-rahmaanJ/> Mauritius On Thu, Apr 2, 2020 at 8:15 PM Andrew Barnert wrote: > > Why should modules break all of that, and be different from

[Python-ideas] Re: Changing Package Representation On Shell

2020-04-02 Thread Abdur-Rahmaan Janhangeer
Kind Regards, Abdur-Rahmaan Janhangeer compileralchemy.com <https://www.compileralchemy.com> | github <https://github.com/Abdur-rahmaanJ/> Mauritius On Thu, Apr 2, 2020 at 9:52 PM Brett Cannon wrote: > > That's what help() is for. The __repr__ is meant to help during

[Python-ideas] Re: Changing Package Representation On Shell

2020-04-02 Thread Abdur-Rahmaan Janhangeer
Thanks for the snippet, Was wondering if given as a package option, we might display the module's help info. Out of curiosity how did you learn about sys.displayhook? Thanks. Kind Regards, Abdur-Rahmaan Janhangeer compileralchemy.com <https://www.compileralchemy.com> | gi

[Python-ideas] Changing Package Representation On Shell

2020-04-01 Thread Abdur-Rahmaan Janhangeer
After a question i asked on python-list, Let's say i have a package. >>> import package >>> package '> would it be nice to be able to change the repr of the package to >>> package package something some message ? Thanks!

[Python-ideas] Re: Enhancing Zipapp

2020-01-13 Thread Abdur-Rahmaan Janhangeer
Yours, Abdur-Rahmaan Janhangeer pythonmembers.club <http://www.pythonmembers.club/> | github <https://github.com/Abdur-rahmaanJ> Mauritius On Wed, Jan 8, 2020 at 8:08 PM Christopher Barker wrote: > > >> Maybe we can have a PYZ directory where the >> packages f

[Python-ideas] Re: Enhancing Zipapp

2020-01-09 Thread Abdur-Rahmaan Janhangeer
Yours, Abdur-Rahmaan Janhangeer pythonmembers.club <http://www.pythonmembers.club/> | github <https://github.com/Abdur-rahmaanJ> Mauritius On Thu, Jan 9, 2020 at 10:53 PM Paul Moore wrote: > On Thu, 9 Jan 2020 at 18:15, Abdur-Rahmaan Janhangeer < > arj.pyt...@gmail.co

[Python-ideas] Re: Enhancing Zipapp

2020-01-09 Thread Abdur-Rahmaan Janhangeer
On Thu, Jan 9, 2020 at 3:29 PM Paul Moore wrote: > Thanks Mr. Paul Moore, co-author of PEP441 for contributing to the discussion. Enchanté, as you say in French 🎉 > But you haven't explained what problem adding metadata would solve. Writing here at the same time for more points below asking fo

[Python-ideas] Re: Enhancing Zipapp

2020-01-09 Thread Abdur-Rahmaan Janhangeer
On Thu, 9 Jan 2020, 12:38 Chris Angelico, wrote: > > So you're offering no real benefits (since you have to be online to > verify the app), and you pay the price of bundling everything. Great. > If you've read the thread, i'm saying i did not propose a concrete signing solution since i'm still l

[Python-ideas] Re: Enhancing Zipapp

2020-01-09 Thread Abdur-Rahmaan Janhangeer
Yours, Abdur-Rahmaan Janhangeer pythonmembers.club | github Mauritius On Thu, Jan 9, 2020 at 9:10 AM Andrew Barnert wrote: > > On Jan 8, 2020, at 12:04, Abdur-Rahmaan Janhangeer > wrote: > > OK, but I don’t see how any scheme that looks like any of the usual ones > could

[Python-ideas] [python-ideas] Enhancing Zipapp

2020-01-08 Thread Abdur-Rahmaan Janhangeer
On Thu, 9 Jan 2020, 01:26 Barry Scott, wrote: > > > Also can we stop cross posting to 2 lists please. > > Pick one and keep the thread on it please. > > Barry > Since @James proposed it some mails back, we've been on python-ideas! > ___ Python-ideas

[Python-ideas] Re: Enhancing Zipapp

2020-01-08 Thread Abdur-Rahmaan Janhangeer
On Wed, 8 Jan 2020, 22:08 Andrew Barnert, wrote: > > But that generated zip B doesn’t have a trustable hash on it, so how can > you execute it? > The issue of trust is solved by keys, i did not propose something concrete as i'm still looking into a viable scheme If you keep this all hidden insi

[Python-ideas] Re: Enhancing Zipapp

2020-01-08 Thread Abdur-Rahmaan Janhangeer
On Wed, 8 Jan 2020, 22:14 Rhodri James, wrote: > On 08/01/2020 18:08, many people wrote lots of stuff... > > Folks, could we pick one list and have the discussion there, rather than > on both python-list and python-ideas? Getting *four* copies of Andrew's > emails is a tad distracting :-) > Cho

[Python-ideas] Re: Enhancing Zipapp

2020-01-08 Thread Abdur-Rahmaan Janhangeer
On Wed, 8 Jan 2020, 23:04 Brett Cannon, wrote: > > > > That's under-specified. What hash algorithm was used? How are you going to > specify it? > That was a sha256 demo. But then I can modify the signatures of any of these files by regenerating > them. Please trust me, this isn't simple to get

[Python-ideas] Re: Enhancing Zipapp

2020-01-08 Thread Abdur-Rahmaan Janhangeer
On Wed, 8 Jan 2020, 21:29 Andrew Barnert, wrote: > > How does this solve the problem? A malicious program that could modify the > hash inside the info file could even more easily modify the hash at the end > of the zip. > > Existing systems deal with this by recognizing that you can’t prevent > a

[Python-ideas] Re: Enhancing Zipapp

2020-01-08 Thread Abdur-Rahmaan Janhangeer
On Wed, 8 Jan 2020, 02:15 Barry, wrote: > > Have a look at this write up about the horror that is zip file name > handling. > > https://marcosc.com/2008/12/zip-files-and-encoding-i-hate-you/ > > This has been a pain point at work. > Since zipapp did not touch the subject, i won't either unless w

[Python-ideas] Re: Enhancing Zipapp

2020-01-08 Thread Abdur-Rahmaan Janhangeer
On Wed, 8 Jan 2020, 11:09 Christopher Barker, wrote: > > But a thought on that -- you may be able to accomplish something similar > with conda, "conda constructor", and "conda run". -- or a new tool built > from those. The idea is that the first time you ran your "app", it would > install its dep

[Python-ideas] Re: Enhancing Zipapp

2020-01-08 Thread Abdur-Rahmaan Janhangeer
Yours, Abdur-Rahmaan Janhangeer pythonmembers.club | github Mauritius On Wed, Jan 8, 2020 at 1:32 AM Brett Cannon wrote: > > > This would be a packaging detail so not something to be specified in the stdlib. Yes, the module opening the zip will look for it >> - [ ] Si

[Python-ideas] Re: Enhancing Zipapp

2020-01-07 Thread Abdur-Rahmaan Janhangeer
Yours, Abdur-Rahmaan Janhangeer pythonmembers.club <http://www.pythonmembers.club/> | github <https://github.com/Abdur-rahmaanJ> Mauritius On Wed, Jan 8, 2020 at 2:20 AM Barry wrote: > > You are offing up a competitor against python wheels > This proposal proposes to inl

[Python-ideas] Re: Enhancing Zipapp

2020-01-06 Thread Abdur-Rahmaan Janhangeer
Yours, Abdur-Rahmaan Janhangeer pythonmembers.club <http://www.pythonmembers.club/> | github <https://github.com/Abdur-rahmaanJ> Mauritius On Tue, Jan 7, 2020 at 6:40 AM Christopher Barker wrote: > I’m a bit unclear on how far this goes: is it just a bit more specific > w

[Python-ideas] Re: Enhancing Zipapp

2020-01-06 Thread Abdur-Rahmaan Janhangeer
On Tue, 7 Jan 2020, 01:57 Barry Scott, wrote: > > > Please cover the pro's and con's of the alernatives that have been raised > as comments > on this idea, as is usually done for a PEP style document. > Thanks, i don't have much experience writing peps and if i don't bug you may i ask what "alte

[Python-ideas] Enhancing Zipapp

2020-01-06 Thread Abdur-Rahmaan Janhangeer
-0441/ [4] https://docs.oracle.com/javase/tutorial/deployment/jar/basicsindex.html [5] https://docs.python.org/3/library/zipapp.html [6] https://gist.github.com/lukassup/cf289fdd39124d5394513a169206631c [7] https://source.android.com/security/apksigning [8] https://pythonwheels.com Your

[Python-ideas] Re: The "When" Keyword

2019-12-29 Thread Abdur-Rahmaan Janhangeer
Yours, Abdur-Rahmaan Janhangeer pythonmembers.club <http://www.pythonmembers.club/> | github <https://github.com/Abdur-rahmaanJ> Mauritius On Sun, Dec 29, 2019 at 10:45 PM Antoine Rozo wrote: > If I see a "when" keyword in a code, I will think that > the body will

[Python-ideas] Re: The "When" Keyword

2019-12-29 Thread Abdur-Rahmaan Janhangeer
Adding a new keyword automatically assumes breaking code. Yours, Abdur-Rahmaan Janhangeer pythonmembers.club <http://www.pythonmembers.club/> | github <https://github.com/Abdur-rahmaanJ> Mauritius On Sun, Dec 29, 2019 at 10:43 PM Nathan wrote: > This would break any code that

[Python-ideas] The "When" Keyword

2019-12-29 Thread Abdur-Rahmaan Janhangeer
ne me. When you pass this avenue, turn right etc. Using it in programming might convey the intent of the programmer. when x == 5: ... else: ... which still sells the idea of maybe if but hints away the expectation of the author. Yours, Abdur-Rahmaan Janhangeer pythonmembers.club

[Python-ideas] Re: Archiving Threads / Closing Threads

2019-12-04 Thread Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer http://www.pythonmembers.club | https://github.com/Abdur-rahmaanJ Mauritius On Wed, 4 Dec 2019, 15:16 Rhodri James, wrote: > > Which is a problem because...? > > -- > Rhodri James *-* Kynesim Ltd > An advantage. If the topic goes round several times

[Python-ideas] Re: Archiving Threads / Closing Threads

2019-12-03 Thread Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer http://www.pythonmembers.club | https://github.com/Abdur-rahmaanJ Mauritius On Wed, 4 Dec 2019, 07:38 Steven D'Aprano, wrote: > What problem are you trying to solve? Are we suffering under a burden of > pople resurrecting old threads from ten years ago, or

[Python-ideas] Re: Archiving Threads / Closing Threads

2019-12-03 Thread Abdur-Rahmaan Janhangeer
Ok posted it with the idea than mailman operated on python and the mods were hackers enough to add functionalities. Abdur-Rahmaan Janhangeer http://www.pythonmembers.club | https://github.com/Abdur-rahmaanJ Mauritius ___ Python-ideas mailing list

[Python-ideas] Archiving Threads / Closing Threads

2019-12-03 Thread Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer http://www.pythonmembers.club | https://github.com/Abdur-rahmaanJ Mauritius ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/p

[Python-ideas] Re: Moving PEP 584 forward (dict + and += operators)

2019-12-03 Thread Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer http://www.pythonmembers.club | https://github.com/Abdur-rahmaanJ Mauritius On Mon, 2 Dec 2019, 23:55 Guido van Rossum, wrote: > > Also, + is already overloaded enough (numbers, strings, sequences) and we > don't need yet another, different meaning.

  1   2   >