[issue35563] Doc: warnings.rst - add links to references

2019-05-20 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue35563] Doc: warnings.rst - add links to references

2019-05-20 Thread Cheryl Sabella
Cheryl Sabella added the comment: New changeset 6220c02e09e9f3a7458d32ad774ada0ba1571cb8 by Cheryl Sabella in branch 'master': bpo-35563: Add reference links to warnings.rst (GH-11289) https://github.com/python/cpython/commit/6220c02e09e9f3a7458d32ad774ada0ba1571cb8 --

[issue36511] Add Windows ARM32 buildbot

2019-05-20 Thread Paul Monson
Change by Paul Monson : -- pull_requests: +13363 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue22865] Document how to make pty.spawn not copy data

2019-05-20 Thread Geoff Shannon
Change by Geoff Shannon : -- pull_requests: +13364 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue36906] Compile time textwrap.dedent() equivalent for str or bytes literals

2019-05-20 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: I've tried a bit PR 13455, I find this way nicer than textwrap.dedent(...), though I wonder if f-string readability (and expected behavior?) might suffer a tiny bit with the order of formatting the f-string vs dedenting. In the following it is clear th

[issue36792] [Windows] time: crash on formatting time with de_DE locale

2019-05-20 Thread Jeremy Kloth
Jeremy Kloth added the comment: > * the experimental UTF-8 support was enabled because "de_DE" is not a > known Windows locale name - try with "de-DE" > > Perhaps it would be easy to do the replacement of underscores with hyphens > on Windows in this function? I think that's safe enough, yes? >

[issue36980] pass-by-reference clues

2019-05-20 Thread stefan
New submission from stefan : I often get unexpected results when a called function results in a change in a variable because the function gets a pass by reference. For example, consider this snippet of code that manipulates the first column of a 3x3 matrix that it gets. ~

[issue36906] Compile time textwrap.dedent() equivalent for str or bytes literals

2019-05-20 Thread Steven D'Aprano
Steven D'Aprano added the comment: > It might be unclear for the following especially if `.dedent()` get > sold as zero-overhead at compile time. Oh, please, please, please PLEASE let's not over-sell this! There is no promise that dedent will be zero-overhead: it is a method, like any other

[issue36980] pass-by-reference clues

2019-05-20 Thread Steven D'Aprano
Steven D'Aprano added the comment: Hi Stefan, and welcome. This is not a help desk, you really should ask elsewhere for explanations of how Python works. There are no bugs here: what you are seeing is standard pass-by-object behaviour. You are misinterpreting what you are seeing. Python is

[issue31163] Return destination path in Path.rename and Path.replace

2019-05-20 Thread Cheryl Sabella
Cheryl Sabella added the comment: I've closed the original pull request as the Github user account that created it no longer exists. -- keywords: +easy -patch nosy: +berker.peksag, cheryl.sabella stage: patch review -> needs patch versions: +Python 3.8 -Python 3.6 ___

[issue36980] pass-by-reference clues

2019-05-20 Thread Josh Rosenberg
Josh Rosenberg added the comment: 1. This is a bug tracker for bugs in the Python language spec and the CPython interpreter, not a general problem solving site. 2. The ids will differ for changeValue2 if you actually call it (kernel = kernel + 2 requires the the old id of kernel differ from

[issue36906] Compile time textwrap.dedent() equivalent for str or bytes literals

2019-05-20 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: > Oh, please, please, please PLEASE let's not over-sell this! Sorry didn't wanted to give you a heart attack. The optimisation has been mentioned, and you never know what people get excited on. > Such constant-folding ... Well, in here we might get th

[issue36952] fileinput input's and Fileinput's bufsize=0 marked for removal in 3.8

2019-05-20 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue36981] asyncio transport.write() memory out

2019-05-20 Thread viocal
New submission from viocal : in asyncio when filedata than free memory(hardware) will be memory out Or killed by OS for buf in filedata: transport.write(buf) #to client I try it todo: abort transporting to protect application be killed by OS modified selector_events.py def _write_

[issue36982] Add support for extended color functions in ncurses 6.1

2019-05-20 Thread Jeffrey Kintscher
New submission from Jeffrey Kintscher : ncurses 6.1 adds extended color functions to support terminals with 256 colors (e.g. xterm-256color). The extended functions take color pair values that are signed integers because the existing functions only take signed 16-bit values. My goal with this

[issue36983] typing.__all__ has drifted from actual contents

2019-05-20 Thread Anthony Sottile
New submission from Anthony Sottile : notably it is missing ForwardRef, OrderedDict, ChainMap in python3.8 it is missing others in other versions I'm going to attempt to write a test which should classify things that should belong there -- components: Library (Lib) messages: 342975 n

[issue36983] typing.__all__ has drifted from actual contents

2019-05-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue36983] typing.__all__ has drifted from actual contents

2019-05-20 Thread Anthony Sottile
Change by Anthony Sottile : -- keywords: +patch pull_requests: +13365 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue36983] typing.__all__ has drifted from actual contents

2019-05-20 Thread Anthony Sottile
Anthony Sottile added the comment: using the same heuristic as the test uses, here's what's been missing from __all__ historically (note: I _manually_ skipped `Final` for 3.5.0-3) ===(3, 5, 0)=== +FrozenSet +SupportsBytes +Suppo

[issue36965] use of STATUS_CONTROL_C_EXIT in Modules/main.c breaks compilation with non MSC compilers

2019-05-20 Thread Eryk Sun
Eryk Sun added the comment: "crtdbg.h" doesn't provide STATUS_CONTROL_C_EXIT, but it should be fine to remove it anyway. I think it was left behind by accident in 2007. It was added to support a PYTHONNOERRORWINDOW environment variable, but then this idea was dropped in favor of extending th

[issue36984] typing docs "versionadded" is inaccurate for many attributes

2019-05-20 Thread Anthony Sottile
New submission from Anthony Sottile : expanding on https://bugs.python.org/issue36983 the docs are also a bit out of date in places I'm not sure how to document something that appeared in two versions, but I'll leave that part to review. Using data generated / collected in https://github.co

[issue36984] typing docs "versionadded" is inaccurate for many attributes

2019-05-20 Thread Anthony Sottile
Change by Anthony Sottile : -- keywords: +patch pull_requests: +13366 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue36985] typing.ForwardRef is undocumented

2019-05-20 Thread Anthony Sottile
New submission from Anthony Sottile : - New since 3.7.0 - is exposed by some public apis: - the `__doc__` attribute of `typing` mentions `ForwardRef` - `get_type_hints` can expose an instance of it: https://bugs.python.org/issue35834 Should this be documented? including in __all__? --

[issue36978] `python3 -m pip install` has no `--requirement` option on Windows

2019-05-20 Thread Eric V. Smith
Eric V. Smith added the comment: Please show us what command you are running when you try to specify --requirement, and what the result is. -- nosy: +eric.smith ___ Python tracker __

[issue36932] asyncio-task.rst could use proper deprecated-removed directive

2019-05-20 Thread miss-islington
miss-islington added the comment: New changeset d0ebf13e50dd736cdb355fa42c23837abbb88127 by Miss Islington (bot) (Matthias Bussonnier) in branch 'master': bpo-36932: use proper deprecation-removed directive (GH-13349) https://github.com/python/cpython/commit/d0ebf13e50dd736cdb355fa42c23837abb

[issue36932] asyncio-task.rst could use proper deprecated-removed directive

2019-05-20 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue36981] asyncio transport.write() memory out

2019-05-20 Thread Andrew Svetlov
Andrew Svetlov added the comment: The correct approach is using Protocol.pause_writing() / Protocol.resume_writing() callbacks. No trivial, though. See `StreamWriter.drain()` for example of implementation. -- ___ Python tracker

<    1   2