On 6/27/2019 3:09 PM, Brett Cannon wrote:
My guess is that without Guido to just ask this will have to go to a PEP as it
changes a built-in.
How does adding two new methods change a built-in?
Now if an extra parameter were added to modify lstrip, rstrip, and strip
to make them do something di
Le ven. 28 juin 2019 à 01:03, Yonatan Zunger a écrit :
> Although while I have you hear, I do have a further question about how
> tracemalloc works: If I'm reading the code correctly, traces get removed by
> tracemalloc when objects are free, which means that at equilibrium (e.g. at
> the end o
Well, then. I think I'm going to have some fun with this. :)
Thank you!
On Thu, Jun 27, 2019 at 4:17 PM Victor Stinner wrote:
> Le ven. 28 juin 2019 à 01:03, Yonatan Zunger a écrit :
> > Although while I have you hear, I do have a further question about how
> tracemalloc works: If I'm reading
On Jun 27, 2019, at 15:27, Jelle Zijlstra wrote:
> El jue., 27 jun. 2019 a las 11:51, escribió:
>> excellent and extraordinarily obvious
>>
>> Thanks for the pointer.
>>
>> a bit unfortunate that old docs for a module that doesn't seem to exist in
>> py3 with less clear but still correct words
It's similar, but not quite the same -- I was just trying to see if I could
build a neatly Pythonic library to do the conversion. The CPU profilers are
basically building a dict from (filename, lineno, funcname) to a tuple
(from a comment in profile.py):
[0] = The number of times this function
Discussing whether the PSF should accept cryptocurrency is a bit off-topic for
python-dev. ;)
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-d
My guess is that without Guido to just ask this will have to go to a PEP as it
changes a built-in.
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/pyt
Hi,
I designed tracemalloc with Charles-François Natali in PEP 454. The
API is a lightweight abstraction on top of the internal C structures
used by the C _tracemalloc module which is designed to minimize the
memory footprint.
I'm not aware of the pstats format. Adding a new
tracemalloc.dump_psta
El jue., 27 jun. 2019 a las 11:51, escribió:
> excellent and extraordinarily obvious
>
> Thanks for the pointer.
>
> a bit unfortunate that old docs for a module that doesn't seem to exist in
> py3 with less clear but still correct words is still the top google result
> for python string strip.
>
On Thu, Jun 27, 2019 at 2:17 PM Hobson Lane wrote:
> I wholeheartedly support accepting Bitcoin and Etherium and other popular
> cryptos at PSF. Bitpay is an alternative, but they can be more complicated
> to work with than Coinbase. Of course you can always chose to manage your
> own crypto wall
I wholeheartedly support accepting Bitcoin and Etherium and other popular
cryptos at PSF. Bitpay is an alternative, but they can be more complicated
to work with than Coinbase. Of course you can always chose to manage your
own crypto wallet independent of any go-between business, but that has
risks
"PSF Prospectus 2018-2019.pdf"
https://www.dropbox.com/s/a479lb6jz4yhr4x/PSF%20Prospectus%202018-2019.pdf
On Thu, Jun 27, 2019 at 2:12 PM Wes Turner wrote:
>
>
> On Thu, Jun 27, 2019 at 1:27 PM Wes Turner wrote:
>
>> Is there a way for third party organizations to say, "yeah, we sponsored
>> th
On Thu, Jun 27, 2019 at 1:27 PM Wes Turner wrote:
> Is there a way for third party organizations to say, "yeah, we sponsored
> this or that".
>
> When I go to the donation page, can I see all of the ways to contribute
> time, trained resources, and money? Maybe I'm looking for a shirt, maybe
> I'
Hi everyone,
Something occurred to me while trying to analyze code today: profiler and
cProfiler emit their data in pstats format, which various tools and
libraries consume. tracemalloc, on the other hand, uses a completely
separate format which nonetheless contains similar data. In fact, in many
excellent and extraordinarily obvious
Thanks for the pointer.
a bit unfortunate that old docs for a module that doesn't seem to exist in py3
with less clear but still correct words is still the top google result for
python string strip.
https://docs.python.org/2/library/string.html#string.ls
On 06/27/2019 07:34 AM, dan@bauman.space wrote:
Anyone experienced anything like this?
This list is for the development /of/ Python, not development /with/ Python.
In the future, please take such questions to, for example, Python List*.
--
~Ethan~
* https://mail.python.org/mailman/listinf
On Fri, Jun 28, 2019 at 01:08:45AM +1000, Chris Angelico wrote:
> Help on built-in function lstrip:
[...]
> This does NOT remove a leading substring. It removes a set of characters.
This is a re-occurring painpoint and gotcha. I've fallen for it myself.
I really think it's long past time we bite
"Earmarked" funding is an additional funding model for the Python ecosystem
that PSF is a big part of.
For example, the new 2FA and limited use package upload token support for
PyPI (PyPA/warehouse) is sponsored by a specific grant.
Is there a way for third party organizations to say, "yeah, we s
On Thursday, June 27, 2019, Ewa Jodlowska wrote:
>
>
> On Thu, Jun 27, 2019 at 11:16 AM Wes Turner wrote:
>
>>
>> From GuideStar (which, like Charity Navigator, also has nonprofit
>> evaluation criteria)
>> https://trust.guidestar.org/bitcoin-what-nonprofits-need-
>> to-know-and-how-it-might-giv
On Thu, Jun 27, 2019 at 11:16 AM Wes Turner wrote:
>
> From GuideStar (which, like Charity Navigator, also has nonprofit
> evaluation criteria)
>
> https://trust.guidestar.org/bitcoin-what-nonprofits-need-to-know-and-how-it-might-give-your-fundraising-a-competitive-advantage
> :
>
> > Accepting d
Indeed,
When I donate to PSF, how does that work, what do I sponsoring?
AFAIU:
- Payment processing
- Prioritization and allocation
- Project Management
with plans as RST documents on GitHub,
issues on Roundup (bug and feature triage)
discussions on mailing lists,
discussions on discourse
On Thursday, June 27, 2019, Ewa Jodlowska wrote:
>
>
>
> On Wed, Jun 26, 2019 at 8:28 PM Wes Turner wrote:
>
>> When companies donate as PyCon sponsors (and get brand recognition) do
>> those donations also go to PSF?
>
>
> Yes, the PSF produces PyCon. PyCon sponsorships are used to help offset
String strip methods take a set of characters to strip, not a specific
string / character sequence. They remove ALL the characters in that set
from the left or right until the first character which is not in the set.
This can be simply demonstrated here:
>>> "foobar".strip("f")
'oobar'
>>> "fooba
On Fri, Jun 28, 2019 at 1:02 AM wrote:
>
> Anyone experienced anything like this?
>
> The behavior seems consistent but unexpected.
>
> python 3.6 on both windows (10) and linux (ubuntu 18.04) seem to exhibit the
> same odd behavior.
>
> something about a docker-image looking string seems to trig
Anyone experienced anything like this?
The behavior seems consistent but unexpected.
python 3.6 on both windows (10) and linux (ubuntu 18.04) seem to exhibit the
same odd behavior.
something about a docker-image looking string seems to trigger this behavior.
The behavior seems as expected
On Wed, Jun 26, 2019 at 8:28 PM Wes Turner wrote:
> When companies donate as PyCon sponsors (and get brand recognition) do
> those donations also go to PSF?
Yes, the PSF produces PyCon. PyCon sponsorships are used to help offset
PyCon expenses. If PyCon has a surplus, it is the PSF's revenue. P
26 matches
Mail list logo