nodejs / nodejs/node-gyp

Mutable default arguments in Python code

Open
#3,005 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Waiting For Input
Dominant language
Python
Stars
10.7k
Forks
1.9k
Avg merge
1d 4h
Merged PRs (30d)
5

Description

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with gyp/pylib/gyp/common.py at line 456 and review the linked Python Guide explanation of mutable default arguments. Confirm how the function is called and identify the intended non-shared default behavior. Done means the default no longer persists mutable state between calls while the existing behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.