Skip to content

Requesting A true Access Control Mechanism access modifiers feature enhancement #103601

Closed as not planned
@RobFosterNYC

Description

@RobFosterNYC

Feature or enhancement

These are just feature request, so please don't chop my head off. Thank you.

Anyways, I would love to see,
A true Access Control Mechanism access modifiers such as public, protected, and private in Python
As well as important! that protects statements within code.

Pitch

Why this feature or enhancement should be implemented and how it would be used.
It would allow developers to protect sections of their code from being manipulated from outside sources.
It would also prevent outside sources from injecting code within the environment , application or whatever the developer has created.

Rust is known for its secure measures it has, and its a new language in the industry.
Why can't python secure itself this way as well?

Also classes and functions should be made private by default, unless specifically changed to public or protected.
Again for security reasons that would protect the code from all kinds of securities and vulnerabilities from
injections & other outside sources such as cyber crimes.

Also would be nice to be able to implement a modifier called - important!
Which constantly checks that particular or statement and makes sure it is the last to execute,
within that statement so it prevents from being injected or changed with malicious code from outside sources including api's.

With the amount of cyber crimes happening across the world and businesses being dependent on python
for many aspects of their company. From software's to network automation.
It is pretty obvious that python seriously needs to be more secured by implementing some security standards within its language
so developers can take important steps to secure company products from cyber criminals.

I am actually shocked that python has yet to implement a true Access Control Mechanism access modifiers within the language.

Maybe there is a really good reason for having such an open unsecured language like this that I don't know about.
Who knows.
But I would really like to see a true Access Control Mechanism access modifiers in python really soon.

Anyways, thank you for your time and for reading.
🥰

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions