If no indexURL is provided, we throw and catch an error and
then use ErrorStackParser to calculate where pyodide.js has
been loaded from. Resolves #2290.
ENH Calculate indexURL from error stack trace. If no indexURL is provided, we throw and catch an error and
then use ErrorStackParser to calculate where pyodide.js has
been loaded from. Resolves #2290.
---
name: Code improvement
about: Suggest a code improvement, i.e. refactoring, deprecation, etc.
title: ""
labels:
assignees: ""
---

## Proposed refactoring or deprecation

<!-- A clear and concise description of the code improvement -->

### Motivation

<!-- Please outline the motivation for the proposal. If this is related to another GitHub issue, please link here too -->

### Pitch

<!-- A clear and concise description of what you want to happen. -->

### Additional context

<!-- Add any other context or screenshots here. -->

---
name: Code improvement
about: Suggest a code improvement, i.e. refactoring, deprecation, etc.
title: ""
labels:
assignees: ""
---

## Proposed refactoring or deprecation

<!-- A clear and concise description of the code improvement -->

### Motivation

<!-- Please outline the motivation for the proposal. If this is related to another GitHub issue, please link here too -->

### Pitch

<!-- A clear and concise description of what you want to happen. -->

### Additional context

<!-- Add any other context or screenshots here. -->
