GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — builtins id dir function not found · Issue #234 · go-python/gpython

builtins id dir function not found #234

New issue
Copy link
New issue
Copy link
Open
Open
builtins id dir function not found#234
Copy link

Description

@QGB
QGB
opened on Apr 19, 2024
Issue body actions

>>> import builtins
>>> builtins.id
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: "'module' has no attribute 'id'"
>>> 
>>> builtins.dir
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: "'module' has no attribute 'dir'"

vars

Activity

  1. QGB commented on Apr 19, 2024

    @QGB
    QGB
    on Apr 19, 2024
    Author
    More actions

    sys.modules also not support

  2. QGB commented on Apr 19, 2024

    @QGB
    QGB
    on Apr 19, 2024
    Author
    More actions
    
    >>> exec('print(locals())',{1:2},{})
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
        FIXME line of source goes here
    KeyError: 'FIXME can only have string keys!: 1'
    
    >>> exec('print(locals())',{'1':2},{'3':3})
    {'3': 3}
    
    >>> eval('print(locals())',{'1':2},{'3':3})
    {'3': 3}
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.