Skip to content

os.environ.setdefault does not work #583

@Real-Gecko

Description

@Real-Gecko

Creating test file

# test.py
import os

os.environ.setdefault("lala", "tralala")

Running with codon

$ codon run test.py
test.py:3:1-41: error: 'EnvMap' object has no attribute 'setdefault'
$ codon build -release -exe test.py
test.py:3:1-41: error: 'EnvMap' object has no attribute 'setdefault'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions