Artwork

المحتوى المقدم من Real Python. يتم تحميل جميع محتويات البودكاست بما في ذلك الحلقات والرسومات وأوصاف البودكاست وتقديمها مباشرةً بواسطة Real Python أو شريك منصة البودكاست الخاص بهم. إذا كنت تعتقد أن شخصًا ما يستخدم عملك المحمي بحقوق الطبع والنشر دون إذنك، فيمكنك اتباع العملية الموضحة هنا https://ar.player.fm/legal.
Player FM - تطبيق بودكاست
انتقل إلى وضع عدم الاتصال باستخدام تطبيق Player FM !

Creating Better Error Messages for Python 3.10 & 3.11

1:21:32
 
مشاركة
 

Manage episode 324949160 series 2637014
المحتوى المقدم من Real Python. يتم تحميل جميع محتويات البودكاست بما في ذلك الحلقات والرسومات وأوصاف البودكاست وتقديمها مباشرةً بواسطة Real Python أو شريك منصة البودكاست الخاص بهم. إذا كنت تعتقد أن شخصًا ما يستخدم عملك المحمي بحقوق الطبع والنشر دون إذنك، فيمكنك اتباع العملية الموضحة هنا https://ar.player.fm/legal.

What goes into creating those enhanced error messages in the latest versions of Python? How does the new PEG parser help to pinpoint where errors have occurred? This week on the show, Pablo Galindo Salgado talks about the work that goes into creating these improvements.

Pablo is a core CPython developer and is the release manager for Python versions 3.10 and 3.11. He is also serving his second term on the Python Steering Council.

Pablo is pleasantly surprised by the positive feedback for the new error messages in Python 3.10. He shares some of the upcoming enhancements for 3.11. We talk about how the new PEG parser allows for greater context when defining errors and pinpointing where they occur.

We talk about how he started contributing to CPython. He also shares some of the programming experiences he had while studying physics at university.

Course Spotlight: Starting With Linear Regression in Python

In this video course, you’ll get started with linear regression in Python. Linear regression is one of the fundamental statistical and machine learning techniques, and Python is a popular choice for machine learning.

Topics:

  • 00:00:00 – Introduction
  • 00:01:56 – Member of the Python Steering Council
  • 00:02:40 – Physics background and research use of Python
  • 00:08:43 – How did you get involved in core development?
  • 00:10:27 – Why did you take on the role of release manager?
  • 00:13:38 – What challenges have you found along the way?
  • 00:19:08 – Sponsor: LinearB
  • 00:19:48 – What motivated you to add enhanced error messages?
  • 00:29:33 – How does the PEG parser help in these situations?
  • 00:37:04 – PEG parser and infinite lookahead
  • 00:40:58 – Identifying where the syntax is wrong
  • 00:43:28 – Finding where a comma is missing
  • 00:48:49 – Is this a dictionary missing a colon, or is it a set?
  • 00:50:19 – Identifying missing portions of a tryexcept block
  • 00:51:44 – Video Course Spotlight
  • 00:53:00 – Informing library maintainers and not slowing performance
  • 00:56:18 – Enhanced error messages coming in 3.11
  • 01:06:38 – Real Python preview of Python 3.11
  • 01:07:28 – What are you excited about in the world of Python?
  • 01:13:00 – What do you want to learn next?
  • 01:15:43 – How to contribute to the project?
  • 01:20:24 – Thanks and goodbye

Show Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

  continue reading

198 حلقات

Artwork
iconمشاركة
 
Manage episode 324949160 series 2637014
المحتوى المقدم من Real Python. يتم تحميل جميع محتويات البودكاست بما في ذلك الحلقات والرسومات وأوصاف البودكاست وتقديمها مباشرةً بواسطة Real Python أو شريك منصة البودكاست الخاص بهم. إذا كنت تعتقد أن شخصًا ما يستخدم عملك المحمي بحقوق الطبع والنشر دون إذنك، فيمكنك اتباع العملية الموضحة هنا https://ar.player.fm/legal.

What goes into creating those enhanced error messages in the latest versions of Python? How does the new PEG parser help to pinpoint where errors have occurred? This week on the show, Pablo Galindo Salgado talks about the work that goes into creating these improvements.

Pablo is a core CPython developer and is the release manager for Python versions 3.10 and 3.11. He is also serving his second term on the Python Steering Council.

Pablo is pleasantly surprised by the positive feedback for the new error messages in Python 3.10. He shares some of the upcoming enhancements for 3.11. We talk about how the new PEG parser allows for greater context when defining errors and pinpointing where they occur.

We talk about how he started contributing to CPython. He also shares some of the programming experiences he had while studying physics at university.

Course Spotlight: Starting With Linear Regression in Python

In this video course, you’ll get started with linear regression in Python. Linear regression is one of the fundamental statistical and machine learning techniques, and Python is a popular choice for machine learning.

Topics:

  • 00:00:00 – Introduction
  • 00:01:56 – Member of the Python Steering Council
  • 00:02:40 – Physics background and research use of Python
  • 00:08:43 – How did you get involved in core development?
  • 00:10:27 – Why did you take on the role of release manager?
  • 00:13:38 – What challenges have you found along the way?
  • 00:19:08 – Sponsor: LinearB
  • 00:19:48 – What motivated you to add enhanced error messages?
  • 00:29:33 – How does the PEG parser help in these situations?
  • 00:37:04 – PEG parser and infinite lookahead
  • 00:40:58 – Identifying where the syntax is wrong
  • 00:43:28 – Finding where a comma is missing
  • 00:48:49 – Is this a dictionary missing a colon, or is it a set?
  • 00:50:19 – Identifying missing portions of a tryexcept block
  • 00:51:44 – Video Course Spotlight
  • 00:53:00 – Informing library maintainers and not slowing performance
  • 00:56:18 – Enhanced error messages coming in 3.11
  • 01:06:38 – Real Python preview of Python 3.11
  • 01:07:28 – What are you excited about in the world of Python?
  • 01:13:00 – What do you want to learn next?
  • 01:15:43 – How to contribute to the project?
  • 01:20:24 – Thanks and goodbye

Show Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

  continue reading

198 حلقات

كل الحلقات

×
 
Loading …

مرحبًا بك في مشغل أف ام!

يقوم برنامج مشغل أف أم بمسح الويب للحصول على بودكاست عالية الجودة لتستمتع بها الآن. إنه أفضل تطبيق بودكاست ويعمل على أجهزة اندرويد والأيفون والويب. قم بالتسجيل لمزامنة الاشتراكات عبر الأجهزة.

 

دليل مرجعي سريع