74 Commits
Author SHA1 Message Date
David Beazley a55856bf89 Merge pull request #91 from mz0/PEP-667
fix ValueError in f_locals.pop('self') Python 3.13+
2025-12-22 12:14:42 -06:00
David Beazley b63b7f6da1 Merge pull request #92 from mz0/typo6.4
typo: name way -> same way
2025-12-22 12:06:17 -06:00
David Beazley 510182cb39 Merge pull request #87 from pathcl/fix/reference-soln1-1
add reference for solution 1-1
2025-12-22 12:05:38 -06:00
David Beazley 7c771bd014 Fixed Issue #93 2025-12-22 12:02:43 -06:00
Mark Zhitomirski 2d7dfa6718 typo: name way -> same way 2025-11-02 13:25:08 +04:00
Mark Zhitomirski 0cfde115ff fix ValueError in f_locals.pop('self') Python 3.13+
The error
ValueError: cannot remove local variables from FrameLocalsProxy

is caused by PEP 667 – Consistent views of namespaces
peps.python.org/pep-0667
implemented in Python 3.13
2025-10-31 00:13:49 +04:00
David Beazley bc3b595cc3 Merge pull request #90 from mz0/fix-import-abc
fix AttributeError: module 'collections' has no attribute 'abc'
2025-10-22 14:48:39 -05:00
Mark Zhitomirski 1dd925e5b3 fix AttributeError: module 'collections' has no attribute 'abc' 2025-10-20 13:11:02 +04:00
Luis San Martin 9e290fd1a8 add reference for solution 2024-08-10 17:48:10 +00:00
David Beazley dcf5e16d1f Minor edits 2024-08-02 08:10:00 -05:00
David Beazley 97794ae225 Added note about modernization 2024-07-31 14:43:12 -05:00
David Beazley 8471cb3a2f Added note about compatibility 2024-07-31 14:28:16 -05:00
David Beazley 3986af80de Updated slides with bugfixes 2024-07-31 11:27:48 -05:00
David Beazley 75763875df Merge branch 'main' of https://github.com/dabeaz-course/python-mastery into main 2024-07-31 11:11:16 -05:00
David Beazley aab6f17470 Added links 2024-07-31 11:11:08 -05:00
David Beazley 8990494ab4 Merge pull request #41 from juliomorero/fix-ex5
Fix 5_1 and 5_3
2024-07-31 10:43:11 -05:00
David Beazley 1f6f5566eb Merge pull request #47 from darshandzend/main-2
Fix broken link
2024-07-31 10:40:59 -05:00
David Beazley f2aebe0398 Merge pull request #54 from liangpeili/main
keep it consistent with solution in 1_4
2024-07-31 10:40:26 -05:00
David Beazley 1c5c97df36 Merge pull request #63 from Poor4ever/main
Fix duplicate input in ex2_5.md
2024-07-31 10:39:26 -05:00
David Beazley a8e0892301 Merge pull request #66 from jarlethorsen/patch-1
Update ex5_6.md to fix NameError in example code
2024-07-31 10:37:12 -05:00
David Beazley 110101705e Merge pull request #71 from Curiosit/patch-3
Update formatter.py
2024-07-31 10:36:32 -05:00
David Beazley 6c742ccf84 Merge pull request #72 from jarlethorsen/patch-2
Update ex6_2.md to fix variable mismatch
2024-07-31 10:36:09 -05:00
David Beazley 7a8f6dec0e Merge pull request #82 from Se3ek/typo-correction
typo in ex2_2
2024-07-31 10:35:08 -05:00
David Beazley 2637086c55 Merge pull request #85 from galleon/patch-1
Update ex3_1.md
2024-07-31 10:34:22 -05:00
David Beazley a053fa120a Added solutions for ex2.2 2024-07-31 10:31:35 -05:00
David Beazley b865f86b33 Fixed typo in function name 2024-07-31 10:26:21 -05:00
David Beazley 94e9fdbf52 Added missing reading reference 2024-07-31 10:23:25 -05:00
David Beazley fffcb971e6 Merge pull request #65 from Curiosit/main
Update ex7_1.md
2024-07-31 10:20:39 -05:00
David Beazley 85c03ffd79 added links to earlier exercises 2024-07-31 10:11:16 -05:00
Guillaume Alleon 48afeb56b5 Update ex3_1.md
fix a small typo
2024-06-15 15:26:05 +02:00
Seb 271ed03ff2 typo in ex2_5 2024-02-16 23:35:02 +01:00
Seb 0eedffd429 typo in ex2_2 2023-11-19 12:40:15 +01:00
Jarle Thorsen 92d7dc0f93 Update ex6_2.md to fix variable mismatch
The sell() method takes the nshares argument, however inside the method the variable shares is used instead.

This patch changes the name of the argument according to the variable used within the method.
2023-10-30 14:30:21 +01:00
MateuszMazurek 8111013443 Update formatter.py 2023-10-29 12:09:09 +01:00
Jarle Thorsen 1d20aaeca8 Update ex5_6.md to fix NameError in example code
Calling Stock() directly without providing the name of the module will result in the following error:

NameError: name 'Stock' is not defined

This fixes the bug in the example code.
2023-10-23 12:27:05 +02:00
Curiosit 3375d28b4d Update ex7_1.md
Fixed a typo: 6.6 -> 6.5
2023-10-22 23:06:47 +02:00
Poor4ever 73023e88a1 Fix duplicate input in ex2_5.md 2023-09-28 18:43:10 +08:00
Peili Liang 374965dbfb fix typo in ex2_2.md 2023-09-11 10:17:26 +08:00
Peili Liang a6dd2238a2 keep it consistent with solution in 1_4 2023-09-08 09:24:52 +08:00
Darshan Zend e414b66f4f Fix broken link
I think it's meant to be 6_5, unless there's a 6_6 that is missing altogether.
2023-08-18 18:29:56 +01:00
David Beazley afec76dd94 Merge pull request #44 from darshandzend/main-1
typo
2023-08-14 10:02:06 -05:00
Darshan Zend 1e2916e64f typo 2023-08-14 15:47:31 +01:00
Julio Morero 56dfd08cd6 Fix 5_1 and 5_3 2023-08-07 14:14:43 -03:00
David Beazley 3ac425a715 Merge pull request #39 from Aymane11/main-1
Fix missing bracket in ex3_6.   Good catch!
2023-08-06 19:46:06 -05:00
Aymane Boumaaza ccfcd4cb9f Fix missing bracket in ex3_6 2023-08-06 22:45:17 +01:00
David Beazley d540e77118 Merge pull request #33 from darshandzend/patch-1
Fix typo
2023-07-28 19:58:50 -05:00
Darshan Zend 397b736762 Fix typo 2023-07-28 15:44:27 +01:00
David Beazley 9bb142586b Added question 2023-07-27 05:10:23 -05:00
David Beazley 558ece5cf5 Merge pull request #31 from davidlowryduda/patch-1
Update ex7_1.md
2023-07-26 19:52:09 -05:00
David Lowry-Duda b82efeca2a Update ex7_1.md
This **tiny** commit corrects two typos.
2023-07-26 14:44:31 -04:00