This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author TheBiggerGuy
Recipients TheBiggerGuy, docs@python, georg.brandl, pitrou, r.david.murray
Date 2012-04-17.09:40:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
@Brandl truncate() was the issue I ran into, no other reason. I have started on the rest of the IO module tho. I know the patch is not working but I ran into problems with getting cpython to change functions from positional to keyword.

cpython                | Python                        | Status
iobase_readlines       | readline(limit=-1)            | patch v2
iobase_readline        | readlines(hint=-1)            | patch v2
iobase_seek            | seek(offset, whence=SEEK_SET) | patch v2
iobase_truncate        | truncate(size=None)           | patch v2
fileio_seek            | seek(offset, whence=SEEK_SET) | patch v2
fileio_read            | read(n=-1)                    | patch v2
textiowrapper_read     | read(n=-1)                    | ToDo
textiowrapper_readline | readline(limit=-1)            | ToDo
textiowrapper_seek     | seek(offset, whence=SEEK_SET) | ToDo
textiowrapper_truncate | truncate(size=None)           | ToDo
textiobase_read        | read(n=-1)                    | ToDo
textiobase_readline    | readline(limit=-1)            | ToDo
{bufferedio.c}         |                               | ToDo
{bytesio.c}            |                               | ToDo
{stringio.c}           |                               | ToDo

I am using code from within other C files and to base my patch on but I still get "x()" takes no keyword arguments". What have I missed/Are the docs correct?
Date User Action Args
2012-04-17 09:40:31TheBiggerGuysetrecipients: + TheBiggerGuy, georg.brandl, pitrou, r.david.murray, docs@python
2012-04-17 09:40:31TheBiggerGuysetmessageid: <>
2012-04-17 09:40:30TheBiggerGuylinkissue14586 messages
2012-04-17 09:40:30TheBiggerGuycreate