Skip to content

Remove pylab star import in labscript.labscript #104

@dihm

Description

@dihm

As discussed in #102, it would be good to remove any and all star imports, especially pylab which is largely deprecated and brings in a ton of junk to the labscript namespace.

A hurdle to this is that users are likely accidentally relying on some of these imports in their scripts. If we wanted to avoid a breaking change, we could just go through and manually import the useful stuff that pylab brings (even if we aren't specifically using it within labscript). Though it is probably better to just pull the bandaid and even update the docs to discourage the from labscript import * idiom.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy