Skip to content

Commit

Permalink
update Python versioning table
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhmiller committed May 17, 2024
1 parent cfe54b6 commit 28332da
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 18 deletions.
7 changes: 4 additions & 3 deletions content/00_about_the_course.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,10 @@
"source": [
"| Branch | Schedule | Status | First release | End of life | Release manager |\n",
"| ------ | ---------------------------------------------- | ------------- | ------------- | ------------ | --------------------- |\n",
"| main | [PEP 719](https://peps.python.org/pep-0719/) | feature | _2024-10-01_ | _2029-10_ | Thomas Wouters |\n",
"| 3.12 | [PEP 693](https://peps.python.org/pep-0693/) | prerelease | _2023-10-02_ | _2028-10_ | Thomas Wouters |\n",
"| 3.11 | [PEP 664](https://peps.python.org/pep-0664/) | bugfix | 2022-10-24 | _2027-10_ | Pablo Galindo Salgado |\n",
"| main | [PEP 745](https://peps.python.org/pep-0745/) | feature | _2025-10-01_ | _2030-10_ | Hugo van Kemenade |\n",
"| 3.13 | [PEP 719](https://peps.python.org/pep-0719/) | prerelease | _2024-10-01_ | _2029-10_ | Thomas Wouters |\n",
"| 3.12 | [PEP 693](https://peps.python.org/pep-0693/) | bugfix | 2023-10-02 | _2028-10_ | Thomas Wouters |\n",
"| 3.11 | [PEP 664](https://peps.python.org/pep-0664/) | security | 2022-10-24 | _2027-10_ | Pablo Galindo Salgado |\n",
"| 3.10 | [PEP 619](https://peps.python.org/pep-0619/) | security | 2021-10-04 | _2026-10_ | Pablo Galindo Salgado |\n",
"| 3.9 | [PEP 596](https://peps.python.org/pep-0596/) | security | 2020-10-05 | _2025-10_ | Łukasz Langa |\n",
"| 3.8 | [PEP 569](https://peps.python.org/pep-0569/) | security | 2019-10-14 | _2024-10_ | Łukasz Langa |\n",
Expand Down
26 changes: 11 additions & 15 deletions content/01_python_basic_overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
"id": "f9271fdf-38aa-410f-b258-fc325e23b8c7",
"metadata": {},
"source": [
"❗**Gotcha**: `isidentifier` is a bit misleading as it returns `True` for keywords which cannot be used as identifier. There is already [an issue for that](https://bugs.python.org/issue33014)."
"❗**Gotcha**: `isidentifier` is a bit misleading as it returns `True` for keywords, which cannot be used as identifiers. There is already [an issue for that](https://bugs.python.org/issue33014)."
]
},
{
Expand Down Expand Up @@ -286,11 +286,7 @@
"cell_type": "code",
"execution_count": null,
"id": "45159ce4-1757-4379-9e66-baf4082a62b7",
"metadata": {
"tags": [
"raises-exception"
]
},
"metadata": {},
"outputs": [],
"source": [
"with = 1"
Expand Down Expand Up @@ -519,14 +515,14 @@
"\n",
"🐍 [Offical Docs](https://peps.python.org/pep-0008/)\n",
"\n",
"| Topic | PEP8 Naming Convention | Examples | Underscore Preference |\n",
"|-------------|-------------------------|--------------------------|---------------------------------|\n",
"| Packages | All lowercase | `my_package` | No underscores |\n",
"| Modules | Short, lowercase | `my_module` | No underscores |\n",
"| Classes | PascalCase | `MyClass` | No underscores |\n",
"| Functions | Lowercase with underscores | `my_function` | Yes, for multiple words |\n",
"| Variables | Lowercase with underscores | `my_variable` | Yes, for multiple words |\n",
"| Constants | Uppercase with underscores | `MY_CONSTANT` | Yes, for multiple words |"
"| Topic | PEP8 Naming Convention | Examples | Underscore Preference |\n",
"|-------------|----------------------------|------------------------|---------------------------------|\n",
"| Packages | All lowercase | `packagename` | No underscores |\n",
"| Modules | Short, lowercase | `modulename` | No underscores |\n",
"| Classes | PascalCase | `ClassName` | No underscores |\n",
"| Functions | Lowercase with underscores | `function_name` | Yes, for multiple words |\n",
"| Variables | Lowercase with underscores | `variable_name` | Yes, for multiple words |\n",
"| Constants | Uppercase with underscores | `CONSTANT_NAME` | Yes, for multiple words |"
]
},
{
Expand Down Expand Up @@ -2919,7 +2915,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.6"
"version": "3.11.9"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 28332da

Please sign in to comment.