Thanks to visit codestin.com
Credit goes to github.com

Skip to content

"array" module should be "uarray" instead #4370

Closed
@pfalcon

Description

@pfalcon

This is one of the older inconsistencies. The original idea was that array module is pretty focuses and thing, so it would be possible to implement it almost completely under the original name. Well "almost completely" is not completely, CPython's "array" has some historical baggage which absolutely makes no sense to add to uPy's "array" (because it's superseded by CPython's own buffer protocol for example), and yet some 3rd-party software may use it. So, following the uPy best practices of ensuring extensibility would be really helpful.

So, better late than never. Propose course of action: make "uarray" the official name, while keep "array" alias for the time being. Update docs to mention only "uarray", make announcement that software targeted for MicroPython should use uarray.

Metadata

Metadata

Assignees

No one assigned

    Labels

    py-coreRelates to py/ directory in source

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions