2 ms·
Pretty sure the async/await support in C# predates Python. C# introduced it in 5.0, which came out in August 2012. The Python proposal (PEP 3156) for an async
by atombender 7y ago
Pretty sure the async/await support in C# predates Python.
C# introduced it in 5.0, which came out in August 2012. The Python proposal (PEP 3156) for an async library was posted in 2012, the proposal (PEP 492) for async/await syntax in 2015, and implemented in Python 3.4 and 3.5 respectively, I believe. So C# predates Python by about 3 years.
From what I can gather, Python was influenced by C#. But C# doesn't have a global lock, and that's not why it has async/await.
Edit: Added PEP reference.