summaryrefslogtreecommitdiffstats
path: root/Doc/includes
Commit message (Collapse)AuthorAgeFilesLines
* gh-95273: Move sqlite3 executemany examples from reference to tutorial (#95351)Erlend Egeberg Aasland2022-07-292-43/+0
|
* gh-95273: Condense sqlite3 executescript example (#95383)Erlend Egeberg Aasland2022-07-291-25/+0
|
* gh-90016: Deprecate default sqlite3 adapters and converters (#94276)Erlend Egeberg Aasland2022-07-201-22/+0
| | | Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-90016: Reword sqlite3 adapter/converter docs (#93095)Erlend Egeberg Aasland2022-06-252-31/+7
| | | | | | Also add adapters and converter recipes. Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com
* gh-84623: Remove unused imports (#94132)Victor Stinner2022-06-221-1/+2
|
* gh-92019: Make sqlite3.Blob indexing conform with the norm (#92020)Erlend Egeberg Aasland2022-04-301-2/+2
| | | | | | - get index now returns an int - set index now requires an int in range(0, 256) Resolves #92019
* gh-69093: Add indexing and slicing support to sqlite3.Blob (#91599)Erlend Egeberg Aasland2022-04-221-4/+7
| | | | Authored-by: Aviv Palivoda <palaviv@gmail.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no>
* gh-91118: Fix docstrings that do not honor --without-doc-strings (#31769)Oleg Iarygin2022-04-185-5/+5
| | | | Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-69093: Add context manager support to sqlite3.Blob (GH-91562)Erlend Egeberg Aasland2022-04-161-6/+10
|
* gh-91520: Rewrite imghdr inlining for clarity and completeness (#91521)Barry Warsaw2022-04-151-5/+5
| | | | | | | | | | | | | | | | | | | | * Rewrite imghdr inlining for clarity and completeness * Move MIMEImage class back closer to the top of the file since it's the important thing. * Use a decorate to mark a given rule function and simplify the rule function names for clarity. * Copy over all the imghdr test data files into the email package's test data directory. This way when imghdr is actually removed, it won't affect the MIMEImage guessing tests. * Rewrite and extend the MIMEImage tests to test for all supported auto-detected MIME image subtypes. * Remove the now redundant PyBanner048.gif data file. * See https://github.com/python/cpython/pull/91461#discussion_r850313336 Co-authored-by: Oleg Iarygin <dralife@yandex.ru> Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
* gh-69093: Support basic incremental I/O to blobs in `sqlite3` (GH-30680)Erlend Egeberg Aasland2022-04-151-0/+12
| | | | | | | Authored-by: Aviv Palivoda <palaviv@gmail.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no> Co-authored-by: palaviv <palaviv@gmail.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-91217: deprecate imghdr (#91461)Brett Cannon2022-04-131-4/+1
| | | | | | | | | | | | | | * Deprecate imghdr Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Update Doc/whatsnew/3.11.rst Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Inline `imghdr` into `email.mime.image` Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Barry Warsaw <barry@python.org>
* gh-79097: Add support for aggregate window functions in sqlite3 (GH-20903)Erlend Egeberg Aasland2022-04-121-0/+46
|
* Update old-style strings to f-strings (GH-30384)David Gilbertson2022-01-041-4/+4
| | | Let me know if this sort of change is unwanted...
* sqlite3: Modernize documentation around unicode and bytes. (GH-28652)Julien Palard2021-10-011-2/+2
|
* bpo-16379: expose SQLite error codes and error names in `sqlite3` (GH-27786)Erlend Egeberg Aasland2021-08-301-1/+4
|
* bpo-44106: Purge unused sqlite3 doc includes (GH-26234)Erlend Egeberg Aasland2021-05-198-138/+0
|
* bpo-44106: Improve sqlite3 example database contents (GH-26027)Erlend Egeberg Aasland2021-05-198-40/+36
|
* bpo-43908: Document Static Types in the C API (GH-25710)Victor Stinner2021-04-291-1/+4
| | | Update also PyTypeObject structure definition in the doc.
* bpo-20364: Improve sqlite3 placeholder docs (GH-25003)Erlend Egeberg Aasland2021-04-141-8/+13
|
* Minor C API documentation improvements. (GH-17696)William Ayd2019-12-251-1/+1
| | | | | | | The added parentheses around the PyIter_Next assignment suppress the following warning which gcc throws without: ``` warning: using the result of an assignment as a condition without parentheses [-Wparentheses] ``` The other change is a typo fix
* bpo-38351: Modernize email examples from %-formatting to f-strings (GH-17162)Andrey Doroschenko2019-11-153-3/+3
|
* bpo-26868: Fix example usage of PyModule_AddObject. (#15725)Brandt Bucher2019-09-125-5/+30
| | | | | | | | | | | | | | | | * Add a note to the PyModule_AddObject docs. * Correct example usages of PyModule_AddObject. * Whitespace. * Clean up wording. * 📜🤖 Added by blurb_it. * First code review. * Add < 0 in the tests with PyModule_AddObject
* bpo-36261: Improve example of the preamble field in email docs (GH-14751)Carl Bordum Hansen2019-07-141-1/+1
|
* bpo-36974: document PEP 590 (GH-13450)Jeroen Demeyer2019-06-021-1/+1
|
* bpo-34580: Update sqlite3 examples to call close() explicitly (GH-9079)Xtreak2019-05-1925-18/+47
| | | | | The sqlit3.Connection object doesn't call its close() method when it's used as a context manager.
* Doc: define PY_SSIZE_T_CLEAN always (GH-12794)Inada Naoki2019-04-136-0/+6
|
* bpo-24937: Replace the extension module porting HOWTO by links to external ↵Petr Viktorin2018-09-241-134/+0
| | | | projects (GH-9317)
* Removed unused import from tzinfo_examples.py. (GH-7994)Sergey Fedoseev2018-07-051-1/+1
|
* bpo-33958: Doc: Remove unused variable in example (GH-7927)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2018-06-281-1/+1
|
* bpo-33201: Modernize "Extension types" doc (GH-6337)Antoine Pitrou2018-04-0711-892/+716
| | | | | | | | | * bpo-33201: Modernize "Extension types" doc * Split tutorial and other topics * Some small fixes * Address some review comments * Rename noddy* to custom* and shoddy to sublist * Fix markup
* bpo-32297: Few misspellings found in Python source code comments. (#4803)Mike2017-12-141-1/+1
| | | | | | | | * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py
* bpo-32150: Expand tabs to spaces in C files. (#4583)Serhiy Storchaka2017-11-281-1/+1
|
* bpo-31923: Fix spelling in sqlite3 docs (GH-4227)davy wybiral2017-11-041-1/+1
|
* Update Email library documentation example (GH-3720)Henk-Jaap Wagenaar2017-09-241-1/+1
| | | A `"` was missing from an `<a href>` tag.
* bpo-31443: Update included code. (#3697)Stefan Krah2017-09-221-1/+17
|
* bpo-31095: fix potential crash during GC (GH-2974)INADA Naoki2017-08-241-0/+1
|
* bpo-27200: Fix doctests in programming.rst and datetime.rst (#401)Marco Buttu2017-03-181-0/+0
|
* doc: fix compile error on "shoddy" example extension (GH-215)INADA Naoki2017-02-212-1/+2
|
* #24277: Fix some incorrect backslashes in email example.R David Murray2016-09-081-2/+2
|
* #24277: The new email API is no longer provisional.R David Murray2016-09-088-160/+94
| | | | | | | This is a wholesale reorganization and editing of the email documentation to make the new API the standard one, and the old API the 'legacy' one. The default is still the compat32 policy, for backward compatibility. We will change that eventually.
* Closes #27595: Document PEP 495 (Local Time Disambiguation) features.Alexander Belopolsky2016-08-241-62/+68
|
* Merge: #26176: fix usage of Address constructor in email examples.R David Murray2016-07-101-3/+3
|\
| * #26176: fix usage of Address constructor in email examples.R David Murray2016-07-101-3/+3
| | | | | | | | Patch by Nathan Harold.
* | Issue #25985: sys.version_info is now used instead of sys.versionSerhiy Storchaka2016-02-111-1/+1
| | | | | | | | to format short Python version.
* | Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failureMartin Panter2015-11-301-1/+3
|/
* docs: Better comment for tp_as_async slotYury Selivanov2015-08-261-1/+2
|
* Issue #24808: Merge 3.4 into 3.5; adjust new tp_as_async fieldMartin Panter2015-08-251-8/+7
|\
| * Issue #24808: Update the documentation of some PyTypeObject fieldsMartin Panter2015-08-251-8/+7
| | | | | | | | Patch by Joseph Weston.
* | PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov2015-05-121-1/+1
| |