Repository navigation
Derby #6: Convert 50 sites to Argument Clinic across 8 files #64374
Description
Activity
This issue is part of the Great Argument Clinic Conversion Derby,
where we're trying to convert as much of Python 3.4 to use
Argument Clinic as we can before Release Candidate 1 on January 19.This issue asks you to change the following bundle of files:
Modules/_io/bufferedio.c: 13 sites
Modules/_io/bytesio.c: 6 sites
Modules/_io/fileio.c: 6 sites
Modules/_io/iobase.c: 4 sites
Modules/_io/stringio.c: 5 sites
Modules/_io/textio.c: 8 sites
Modules/_multiprocessing/multiprocessing.c: 3 sites
Modules/_multiprocessing/semaphore.c: 5 sitesTalk to me (larry) if you only want to attack part of a bundle.
For instructions on how to convert a function to work with Argument
Clinic, read the "howto":
http://docs.python.org/dev/howto/clinic.html- addedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or errorextension-modulesC modules in the Modules dirC modules in the Modules dirtype-featureA feature request or enhancementA feature request or enhancementand removedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
on Jan 7, 2014 I'll gladly take this bundle.
Go for it!
That's weird. Why can't I assign it to you? Have you not signed and submitted a Python contributor agreement?
Oops, sorry kbk.
All the Derby patches should only go into trunk at this point.
Proposed patch converts the _io module to Argument Clinic. Total 86 methods are converted.
Updated to the tip.
New changeset 49007ed1a1a5 by Serhiy Storchaka in branch 'default':
Issue bpo-20175: Converted the _io module to Argument Clinic.
https://hg.python.org/cpython/rev/49007ed1a1a5New changeset 2d8e4047c270 by Serhiy Storchaka in branch '3.4':
Backported tests from issue bpo-20175.
https://hg.python.org/cpython/rev/2d8e4047c270New changeset 867c509c8c5e by Serhiy Storchaka in branch '2.7':
Backported tests from issue bpo-20175.
https://hg.python.org/cpython/rev/867c509c8c5eThank you for your review Larry.
The smallest of typo fixes.
Thanks Peter for the fix. Applied by Christian in 743c54a2830f.
New changeset 545b54d by Zackery Spytz in branch 'master':
bpo-20175: Convert Modules/_multiprocessing to the Argument Clinic (GH-14245)
545b54d
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields: