example-code-2e icon indicating copy to clipboard operation
example-code-2e copied to clipboard

Example code for Fluent Python, 2nd edition (O'Reilly 2022)

Results 35 example-code-2e issues
Sort by recently updated
recently updated
newest added

Fixed ending index for slice SKU and starting index for slice DESCRIPTION to produce correct output.

Hello, I run the code in https://github.com/fluentpython/example-code-2e/tree/master/24-class-metaprog/checked/metaclass/checked_demo.py ``` #!/usr/bin/env python3 # tag::MOVIE_DEMO[] from checkedlib import Checked class Movie(Checked): title: str year: int box_office: float if __name__ == '__main__': movie =...

In the `asyncio` example in ` flags2_asyncio.py` there is a bug when a call to a coroutine in the loop fails and the next one has success, the `error` variable...

Bumps [starlette](https://github.com/encode/starlette) from 0.13.6 to 0.25.0. Release notes Sourced from starlette's releases. Version 0.25.0 Fixed Limit the number of fields and files when parsing multipart/form-data on the MultipartParser 8c74c2c and...

dependencies

First, let me thank you very much for this great book! Fluent Python is very pedagogical, informative and quite a pleasure to read. So, I have been quite surprised to...

Bumps [certifi](https://github.com/certifi/python-certifi) from 2021.5.30 to 2022.12.7. Commits 9e9e840 2022.12.07 b81bdb2 2022.09.24 939a28f 2022.09.14 aca828a 2022.06.15.2 de0eae1 Only use importlib.resources's new files() / Traversable API on Python ≥3.11 ... b8eb5e9 2022.06.15.1...

dependencies

Hi @ramalho I wanted to know at which stage the book is. Is it finished and revised? Cause the early access badge is gone on the book's page on O'Rielly's...

change from 'reminder' to 'remainder' to match intent

Dear Ramalho, I hope you are well. I'm writing to suggest an improvement for the “Type Hinting Asynchronous Objects” section in Chapter 21 for the next edition. **Enhancing Clarity with...