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 — allow async as name, add asyncio, selectors, concurrent, and multipro… · jython/jython3@6355491

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • CPythonLib.includes
  • grammar
    • Python.g
  • src/org/python/core
    • Py.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎CPythonLib.includes‎

Copy file name to clipboardExpand all lines: CPythonLib.includes
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22
# used as fileset in build.xml (target copy-full)
33

44
# Lib directories, in alphabetical order:
5+
asyncio/*
56
collections/**
67
compiler/**
8+
concurrent/*
79
distutils/**
810
email/**
911
encodings/**
1012
ensurepip/**
1113
http/**
1214
importlib/*
1315
logging/*
16+
multiprocessing/*
1417
test/**
1518
unittest/**
1619
xml/etree/**
@@ -143,6 +146,7 @@ robotparser.py
143146
runpy.py
144147
sched.py
145148
sha.py
149+
selectors.py
146150
sets.py
147151
sgmllib.py
148152
shelve.py
Collapse file

‎grammar/Python.g‎

Copy file name to clipboardExpand all lines: grammar/Python.g
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,9 @@ name_or_print
418418
: NAME {
419419
$tok = $name_or_print.start;
420420
}
421+
| ASYNC {
422+
$tok = $name_or_print.start;
423+
}
421424
| {printFunction}? => PRINT {
422425
$tok = $name_or_print.start;
423426
}
@@ -432,6 +435,8 @@ attr
432435
| AND
433436
| AS
434437
| ASSERT
438+
| ASYNC
439+
| AWAIT
435440
| BREAK
436441
| CLASS
437442
| CONTINUE
Collapse file

‎src/org/python/core/Py.java‎

Copy file name to clipboardExpand all lines: src/org/python/core/Py.java
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,11 +1043,6 @@ public static PyObject yieldFrom(PyFrame frame) {
10431043
} catch (PyException e) {
10441044
if (e.match(Py.StopIteration)) {
10451045
retval = e.value;
1046-
if (retval instanceof PyBaseException) {
1047-
if (((PyBaseException) retval).TYPE == Py.GeneratorExit) {
1048-
throw e;
1049-
}
1050-
}
10511046
// if subgenerator exit, continue for next subgenerator
10521047
frame.f_stacktop = retval;
10531048
return null;

0 commit comments

Comments
0 (0)
You are visitor 01402520 — 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.