[issue32216] Document PEP 557 Data Classes (dataclasses module)

2018-02-03 Thread Christopher Barker
Christopher Barker <chris.bar...@noaa.gov> added the comment: Thanks Raymond. Can a draft be put in a gitHub repo so we can all help out? -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32216] Document PEP 557 Data Classes

2017-12-18 Thread Christopher Barker
Christopher Barker <chris.bar...@noaa.gov> added the comment: It was suggested that I could contirbute to the docs of dataclasses in this issue. Which confuses me, as there doesn't appear to be any content here to comment on. But what the heck: As I've been annoyingly persistent

[issue28612] str.translate needs a mapping example

2016-12-30 Thread Christopher Barker
Christopher Barker added the comment: This all came out of a thread on python-ideas, starting here: https://mail.python.org/pipermail/python-ideas/2016-October/043284.html the thread kind of petered out, but it seems there was a kinda-sorta consensus that we didn't need any new string methods

[issue24270] PEP 485 (math.isclose) implementation

2015-05-31 Thread Christopher Barker
Christopher Barker added the comment: I wrote: I will update the PEP to indicate that it is float-only, or complex for the cmath implementation (thanks, Tal!). Done: https://github.com/PythonCHB/close_pep/blob/master/pep-0485.txt Hopefully pushed to the official PEP repo soon

[issue24270] PEP 485 (math.isclose) implementation

2015-05-29 Thread Christopher Barker
Christopher Barker added the comment: Sorry for the confusion: when I wrote the PEP, I was thinking in terms of a Python, duck-typed implementation. Now that it's in C, that doesn't work so well. I will update the PEP to indicate that it is float-only, or complex for the cmath

[issue16256] permissions wrong on Mac doc dir

2013-02-01 Thread Christopher Barker
Christopher Barker added the comment: On Fri, Feb 1, 2013 at 2:08 PM, Ned Deily rep...@bugs.python.org wrote: Thanks for the report and the patch. Committed for 2.7.4, 3.2.4, and 3.3.1. Did I actually submit a patch? but thanks to you for getting it done -- and all else you do for pythonmac

[issue16256] permissions wrong on Mac doc dir

2012-10-16 Thread Christopher Barker
New submission from Christopher Barker: I just tried to pip install ipython and got: error: could not create '/Library/Frameworks/Python.framework/Versions/2.7/share/doc/ipython': Permission denied indeed: $ ls -l /Library/Frameworks/Python.framework/Versions/2.7/share/ total 0 drwxr-xr-x 3

[issue5148] gzip.open breaks with 'U' flag

2009-02-03 Thread Christopher Barker
New submission from Christopher Barker chris.bar...@noaa.gov: If you pass the 'U' (Universal newlines) flag into gzip.open(), the flag gets passed into the file open command used to open the gzip file itself. As the 'U' flag can cause changes in teh data (Lineffed translation), when it is used