[issue38592] Add pt-br to the language switcher at the Python docs website

2019-11-02 Thread Marco Rougeth
Change by Marco Rougeth : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue38592] Add pt-br to the language switcher at the Python docs website

2019-10-25 Thread Marco Rougeth
Change by Marco Rougeth : -- keywords: +patch pull_requests: +16454 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16924 ___ Python tracker <https://bugs.python.org/issu

[issue38592] Add pt-br to the language switcher at the Python docs website

2019-10-25 Thread Marco Rougeth
New submission from Marco Rougeth : The translation of the Python docs for Brazilian Portuguese is at around 20%. The Brazilian community have been working hard on it for the past 2 years, and as discussed with Julien, we believe this is a good moment to add the pt-br language switcher

[issue36232] Improve error message on dbm.open

2019-09-25 Thread Marco Rougeth
Change by Marco Rougeth : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue36232> ___ ___ Python-bugs-list

[issue36322] Argument typo in dbm.ndbm.open

2019-03-23 Thread Marco Rougeth
Marco Rougeth added the comment: Hi Terry, thanks for reviewing this and sorry for not being clear enough. About dbm.gnu.open: The docs indeed uses “flag”, in singular form, but it’s wrong because 1) the argument accepts, for some cases, 2 flags and, 2) the source code uses “flags

[issue36322] Argument typo in dbm.ndbm.open

2019-03-22 Thread Marco Rougeth
Change by Marco Rougeth : -- keywords: +patch pull_requests: +12453 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36322> ___ ___ Py

[issue36322] Argument typo in dbm.ndbm.open

2019-03-16 Thread Marco Rougeth
Change by Marco Rougeth : -- title: Argument typo in dam.ndbm.open -> Argument typo in dbm.ndbm.open ___ Python tracker <https://bugs.python.org/issu

[issue36322] Argument typo in dam.ndbm.open

2019-03-16 Thread Marco Rougeth
New submission from Marco Rougeth : Reading the documentation for `dbm.gnu.open` I noticed that there were a typo in the `flags` argument, it was documented as `flag`, in plural form. The same typo was present for `dbm.ndbm.open`, but in this case, `flag` makes more sense than `flags`, since

[issue36232] Improve error message on dbm.open

2019-03-08 Thread Marco Rougeth
New submission from Marco Rougeth : If dbm.open is used with the flags 'r' or 'w' (read-only) to open a file that doesn't exist, it raises an exception with the message "need 'c' or 'n' flag to open new db". It'd be better to have a more explicit error message like "db fil

[issue33194] Path-file objects does not have method to delete itself if its a file

2018-04-01 Thread Marco Rougeth
Marco Rougeth <ma...@rougeth.com> added the comment: Wow, I never saw unlink term related to removing files (obviously I'm not an old-school Unix greybeard). @nsj could you point me the thread you talked about? or help me find it? I looked in the archive in the last three months and co

[issue33194] Path-file objects does not have method to delete itself if its a file

2018-03-31 Thread Marco Rougeth
New submission from Marco Rougeth <ma...@rougeth.com>: Path has the method `.rmdir()` for removing the directory, but it doesn't have anything if it correspond to a file. The `os.remove` could be used here, but I think it should have a more appropriate/explicit name like `.

[issue30235] Validate shutil supports path-like objects, update docs accordingly

2018-03-06 Thread Marco Rougeth
Change by Marco Rougeth <ma...@rougeth.com>: -- keywords: +patch pull_requests: +5774 stage: test needed -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue33004] Shutil module functions could accept Path-like objects

2018-03-05 Thread Marco Rougeth
Marco Rougeth <ma...@rougeth.com> added the comment: You're right @josh.r! Thank you! -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker <rep...@bugs.python.org> <https://bu

[issue33004] Shutil module functions could accept Path-like objects

2018-03-05 Thread Marco Rougeth
New submission from Marco Rougeth <ma...@rougeth.com>: This is issue is to suggest an enhancement to the shutil module, I believe it's quiet similar to the issue32642. I was using shutil.copytree to copy some files around and I tried to pass Path-like objects as input but got the exc