[Python-ideas] Re: built in to clear terminal

2020-12-20 Thread Felipe Rodrigues
well, my two cents here is that I do clear my screen - a lot. In the same use case as Guido's mentioned - exploratory programming. But when I do it, I do in a manner that was discussed in the original thread - by using CTRL+L, which is of course terminal-specific but clears everything both in Pytho

[Python-ideas] Re: Add support for private variables, methods and functions in Python

2021-05-05 Thread Felipe Rodrigues
Hey Shreyan, >From what I understand, Python's design focuses on enabling the developer to do whatever she feels right. Having a class attribute or something marked as "private" is more of a warning to people _using_ that class that they shouldn't tinker with that field. If I'm using a class that

[Python-ideas] Re: Pre PEP: Python Literals (was custom strings before)

2021-06-10 Thread Felipe Rodrigues
#x27;m terrible at naming things but I do think this would be a nice modification. Best, [image: --] *Felipe* Bidu *(Felipe Rodrigues)* [image: https://]*https://felipevr.com* <https://felipevr.com> On Thu, Jun 10, 2021 at 10:18 AM Thomas Güttler wrote: > > > Am Do., 10. J

[Python-ideas] Re: Advanced RGB Coloring

2021-07-14 Thread Felipe Rodrigues
I think you'll find rich (https://github.com/willmcgugan/rich) quite useful [image: --] *Felipe* Bidu *(Felipe Rodrigues)* [image: https://]*https://felipevr.com* <https://felipevr.com> On Wed, Jul 14, 2021 at 9:58 AM Chris Angelico wrote: > On Wed, Jul 14, 2021 at 1

[Python-ideas] Re: Create a @deprecated decorator (annotation)

2021-07-31 Thread Felipe Rodrigues
`new_function` should be used in the place of `old_function` [image: --] *Felipe* Bidu *(Felipe Rodrigues)* [image: https://]*https://felipevr.com* <https://felipevr.com> On Fri, Jul 30, 2021 at 9:22 AM Jack DeVries wrote: > > Perhaps another approach would be to make a more general purpo

[Python-ideas] Re: raise TypeError when giving wrong type of argument in functions

2020-08-22 Thread Felipe Rodrigues
Hi Rawmin, Have you considered using MyPy (http://mypy-lang.org/)? Best, [image: --] Felipe V. Rodrigues [image: https://]about.me/fvr On Sat, Aug 22, 2020 at 9:58 AM wrote: > I wanted to know if there could be TypeError when giving wrong type for > ar

[Python-ideas] Re: [RFC] "Strict execution mode" (TL;DR version)

2020-12-01 Thread Felipe Rodrigues
> I never think *only* of CPython when reading PEPs. Unless the PEP is > clearly and obviously about an implementation detail of CPython, I > always read them as proposing a *Python* language change. Doesn't > everyone? CPython Extension Proposals should be called CEPs [image: --] Felipe V. Rodr