GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — stdlib: data race importing a CodeSrc module from several contexts · Issue #266 · go-python/gpython Open DescriptionA Reproducer, run with func TestConcurrentCodeSrc(t *testing.T) { py.RegisterModule(&py.ModuleImpl{ Info: py.ModuleInfo{Name: "codesrc_test", FileDesc: "<codesrc_test>"}, CodeSrc: "X = 42\n", }) var wg sync.WaitGroup for i := 0; i < 8; i++ { wg.Add(1) go func() { defer wg.Done() ctx := py.NewContext(py.DefaultContextOpts()) defer ctx.Close() if err := py.Import(ctx, "codesrc_test"); err != nil { t.Error(err) } }() } wg.Wait() } On main (444ae5e) each run reports Go 1.27.1, darwin/arm64. ActivityMetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue 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. |