[Python-Dev] Re: PEP 632: Deprecate distutils module

2020-09-07 Thread Stefan Krah
vs (this includes, of course, the MSVC patches from you). Will they submit patches to setuptools from now on? Stefan Krah ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.p

[Python-Dev] Re: PEP 632: Deprecate distutils module

2020-09-07 Thread Stefan Krah
et. Air-gapped systems were just an illustration of the problem. I did not anticipate that people would take it as the centerpiece of my arguments. Stefan Krah ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to pyth

[Python-Dev] Re: PEP 632: Deprecate distutils module

2020-09-04 Thread Stefan Krah
AM Stefan Krah wrote: > > > > > All the time, especially when I'm writing them. I imagine that there's > > a huge amount of internal company code that discourages use of pip > > installed packages as well. Or has an air-gapped network in the first > > plac

[Python-Dev] Re: PEP 632: Deprecate distutils module

2020-09-04 Thread Stefan Krah
On Fri, Sep 04, 2020 at 01:10:37PM -0400, Paul Ganssle wrote: > On 9/4/20 12:45 PM, Stefan Krah wrote: > > Since distutils does not change, why remove it? It is a lot of work > > for people with little gain. > > If we don't remove it, we should at least freeze the bug compo

[Python-Dev] Re: PEP 632: Deprecate distutils module

2020-09-04 Thread Stefan Krah
stdout=subprocess.PIPE).communicate()[0] One of the many things that just work out of the box. -10 on removing distutils from the stdlib. Freezing it is fine. Stefan Krah ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an

[Python-Dev] Re: PEP 622 (match statement) playground

2020-07-08 Thread Stefan Krah
r" | w -> "Correct answer" | _ -> "Unreachable";; Warning 26: unused variable w. Warning 11: this match case is unused. val whereis : int -> string = # whereis 42;; - : string = "Correct answer" # Stefan Krah __

[Python-Dev] [RELEASE] mpdecimal-2.5.0

2020-06-29 Thread Stefan Krah
. libmpdec++ passes both the Python test suite and deccheck.py. For a short libmpdec++ introduction, see: http://www.bytereef.org/mpdecimal/quickstart.html Stefan Krah ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send

[Python-Dev] Making PyInterpreterState an opaque type

2019-02-21 Thread Stefan Krah
vs. public API. As for PyPy, if I understood correctly, Armin Rigo was skeptical of the proposed plan and favored publishing an API as a third party package. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/

[Python-Dev] C API changes

2018-11-30 Thread Stefan Krah
he breakage between each version is going to be. But for the scientific ecosystem this sounds a bit like a potential Python-4.0 breakage, which was universally rejected (so far). In the extreme case I can imagine people staying on 3.7. But it really depends on

[Python-Dev] C API changes

2018-11-23 Thread Stefan Krah
t such an API might be faster than CFFI on PyPy? Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Experiment an opt-in new C API for Python? (leave current API unchanged)

2018-11-20 Thread Stefan Krah
On Mon, Nov 19, 2018 at 04:08:07PM +0100, Victor Stinner wrote: > Le lun. 19 nov. 2018 à 13:18, Stefan Krah a écrit : > > In practice people desperately *have* to use whatever is there, including > > functions with underscores that are not even officially in the C-API. > &

[Python-Dev] Experiment an opt-in new C API for Python? (leave current API unchanged)

2018-11-19 Thread Stefan Krah
though, especially since the status quo kind of works. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%

[Python-Dev] Tone it down on Twitter?

2018-07-04 Thread Stefan Krah
a new high for Twitter gossip. Well done. Perhaps in the next vote the politbureau can indicate the intended outcome beforehand so we know how to vote. Thanks, Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailma

[Python-Dev] Use a queue in Tkinter (was: Dealing with tone in an email)

2018-05-06 Thread Stefan Krah
n the Python Cookbook. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] PEP 565: Show DeprecationWarning in __main__

2017-11-13 Thread Stefan Krah
't followed the long discussions, so this is probably not a very novel observation. But it seems to me that we have a problem getting users to treat the python command like e.g. gcc. If I want gcc warnings, I use -Wall -Wextra. I think the whole problem is that python warnings are a bit of an o

Re: [Python-Dev] Add Py_SETREF and Py_XSETREF to the stable C API

2017-11-10 Thread Stefan Krah
aining how to use a tool > to write the extension module for you :) They will be slower and in my experience not easier to maintain -- quite the opposite. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/

Re: [Python-Dev] The current dict is not an "OrderedDict"

2017-11-07 Thread Stefan Krah
that guarantee > in a formally implementation-independent and future-proof way. Ok good, I was primarily worried about collections.UnorderedDict coming up and users thinking that OrderedDict could be replaced entirely by dict(). Stefan Krah __

[Python-Dev] The current dict is not an "OrderedDict"

2017-11-07 Thread Stefan Krah
ranteeing the insertion order of dict literals. If further guarantees are proposed, perhaps it would be a good idea to open a new thread and state what exactly is being proposed. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://ma

Re: [Python-Dev] Guarantee ordered dict literals in v3.7?

2017-11-06 Thread Stefan Krah
hievous benchmark indeed. -- Whether the proposal is surreal or not depends on the likelihood that a) a substantially faster dict algorithm will emerge and b) CPython, PyPy and Jython will switch to it. My proposal was based on the fact that for almost two releas

Re: [Python-Dev] Guarantee ordered dict literals in v3.7?

2017-11-06 Thread Stefan Krah
x = pi_float() $ time ./micropython xxx.py real0m4.424s user0m4.406s sys 0m0.016s $ $ time ../../cpython/python xxx.py real0m1.066s user0m1.056s sys 0m0.010s Congratulations ... Stefan Krah ___ Python-Dev mailing list Py

Re: [Python-Dev] Guarantee ordered dict literals in v3.7?

2017-11-05 Thread Stefan Krah
On Sun, Nov 05, 2017 at 09:35:38PM +0200, Serhiy Storchaka wrote: > 05.11.17 21:20, Stefan Krah пише: > >On Sun, Nov 05, 2017 at 09:01:40PM +0200, Serhiy Storchaka wrote: > >>Do you suggest to make dictionary displays producing OrderedDict > >>instead of dict? >

Re: [Python-Dev] Guarantee ordered dict literals in v3.7?

2017-11-05 Thread Stefan Krah
On Sun, Nov 05, 2017 at 09:09:37PM +0200, Serhiy Storchaka wrote: > 05.11.17 20:39, Stefan Krah пише: > >On Sun, Nov 05, 2017 at 01:14:54PM -0500, Paul G wrote: > >>2. Someone invents a new arbitrary-ordered container that would improve on > >>the memory and/or CPU perf

Re: [Python-Dev] Guarantee ordered dict literals in v3.7?

2017-11-05 Thread Stefan Krah
On Sun, Nov 05, 2017 at 09:01:40PM +0200, Serhiy Storchaka wrote: > Do you suggest to make dictionary displays producing OrderedDict > instead of dict? No, this is essentially a language spec doc issue that would guarantee the ordering properties of the current dict implementation. Stefa

Re: [Python-Dev] Guarantee ordered dict literals in v3.7?

2017-11-05 Thread Stefan Krah
dict implementation I would think this is very unlikely, given that the previous dict implementation has always been very fast. The new one is very fast, too. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailm

[Python-Dev] Guarantee ordered dict literals in v3.7?

2017-11-04 Thread Stefan Krah
. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Migrate python-dev to Mailman 3?

2017-10-30 Thread Stefan Krah
ermail is great for that. Quiet design, nice font, good contrast for speed reading. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/opt

Re: [Python-Dev] Migrate python-dev to Mailman 3?

2017-10-30 Thread Stefan Krah
are. Despite the mentioned shortcomings of Pipermail, it is 5 times faster for me to navigate and less stressful to look at. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: ht

Re: [Python-Dev] If aligned_alloc() is missing on your platform, please let us know.

2017-10-28 Thread Stefan Krah
yer in terms of the old slots. I don't have an opinion whether new slots should be available. For my use case I just need PyMem_AlignedAlloc(), PyMem_AlignedFree() that automatically use the faster allocator for 'sizeof(void *) <= align <= ALIGNMENT' and 'size <= SMALL_REQUEST_THRESHOLD'. So

[Python-Dev] Migrate python-dev to Mailman 3?

2017-10-27 Thread Stefan Krah
ong with the new interface, everyone should be happy. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40m

[Python-Dev] If aligned_alloc() is missing on your platform, please let us know.

2017-10-27 Thread Stefan Krah
://github.com/Alexpux/mingw-w64/blob/master/mingw-w64-crt/misc/mingw-aligned-malloc.c Victor wrote a patch and would like to avoid adding a (probably unnecessary) emulation function. I agree with that. So if any platform does not have some form of aligned_alloc(), please speak up. Stefan Krah

[Python-Dev] Does Cygwin still have broken slot initialization?

2017-09-20 Thread Stefan Krah
rid of this arcane rule. https://bugs.python.org/issue31443 Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40m

Re: [Python-Dev] PEP 557: Data Classes

2017-09-14 Thread Stefan Krah
On Thu, Sep 14, 2017 at 11:06:15AM -0700, Mike Miller wrote: > On 2017-09-14 10:45, Stefan Krah wrote: > >I'd expect something like a C struct or an ML record. > > Struct is taken, and your second example is record. *If* the name were collections.record, I'd expect col

Re: [Python-Dev] PEP 557: Data Classes

2017-09-14 Thread Stefan Krah
ord I'd expect something like a C struct or an ML record. > from dataclass import dataclass This is more intuitive, since the PEP example also has attached methods like total_cost(). I don't think this is really common for records. Stefan Krah

Re: [Python-Dev] PEP 554 v2 (new "interpreters" module)

2017-09-08 Thread Stefan Krah
structure and cache the whole structure. Extrapolating from my experiences with the context, this might have a slowdown of "only" 4%. Still, the argument "who uses subinterpreters?" of course still remains. Stefan Krah [

Re: [Python-Dev] PEP 550 v4

2017-09-07 Thread Stefan Krah
t only tasks and generators). c) ``man 3 setcontext``. A replacement for setjmp/longjmp. Somewhat related in that it could be used to implement coroutines. d) The .NET flowery language. I do did not fully understand what the .NET ExecutionContext and its 2881 implicit flow rules are. .

Re: [Python-Dev] PEP 550 v4

2017-08-29 Thread Stefan Krah
ar) and making async-safe context managers explicit async with decimal.localcontext(): ... would feel more consistent. I know generators are a problem, but even allowing something like "async set" in generators would be a step up. Stefan Krah ___

Re: [Python-Dev] PEP 550 v4

2017-08-28 Thread Stefan Krah
On Mon, Aug 28, 2017 at 12:12:00PM -0400, Yury Selivanov wrote: > On Mon, Aug 28, 2017 at 11:52 AM, Stefan Krah <ste...@bytereef.org> wrote: > [..] > > But the state "leaks in" as per your previous example: > > > > async def bar(): > > #

Re: [Python-Dev] PEP 550 v4

2017-08-28 Thread Stefan Krah
On Mon, Aug 28, 2017 at 11:23:12AM -0400, Yury Selivanov wrote: > On Mon, Aug 28, 2017 at 7:19 AM, Stefan Krah <ste...@bytereef.org> wrote: > > Okay, so if I understand this correctly we actually will not have dynamic > > scoping for regular functions: bar() has returne

Re: [Python-Dev] PEP 550 v4

2017-08-28 Thread Stefan Krah
On Sun, Aug 27, 2017 at 11:19:20AM -0400, Yury Selivanov wrote: > On Sun, Aug 27, 2017 at 6:08 AM, Stefan Krah <ste...@bytereef.org> wrote: > > On Sat, Aug 26, 2017 at 04:13:24PM -0700, Nathaniel Smith wrote: > >> It's perfectly reasonable to have a script where you call

Re: [Python-Dev] PEP 550 v4: Decimal examples and performance

2017-08-27 Thread Stefan Krah
On Sat, Aug 26, 2017 at 12:21:44PM -0400, Yury Selivanov wrote: > On Sat, Aug 26, 2017 at 7:45 AM, Stefan Krah <ste...@bytereef.org> wrote: > >> This generic caching approach is similar to what the current C > >> implementation of ``decimal`` does to cache the the c

Re: [Python-Dev] PEP 550 v4

2017-08-27 Thread Stefan Krah
p.seterr somewhere at the top to set the > defaults for the rest of the script. +100. The only thing that makes sense for decimal is to change localcontext() to be automatically async-safe while preserving the rest of the semantics. Stefan Krah _

[Python-Dev] PEP 550 v4: Decimal examples and performance (was: Re: PEP 550 v4)

2017-08-26 Thread Stefan Krah
can we agree on hard numbers like max 2% slowdown for the non-threaded case and 4% for applications that only use threads? I'm a bit cautious because other C-extension state-managing PEPs didn't come close to these figures. Stefan Krah ___ Python-Dev m

Re: [Python-Dev] Helping contributors with chores (do we have to?)

2017-06-25 Thread Stefan Krah
downloading the thing, editing as necessary and crediting the author in the commit message would be much much faster. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://ma

Re: [Python-Dev] Helping contributors with chores (do we have to?)

2017-06-25 Thread Stefan Krah
t; sorry :-/ Indeed, perhaps all core devs should take a course at this "web programming bootcamp" (whatever that is), so we finally know how to use the command line. ;) Linus should also attend the "bootcamp", so he can learn git and the command line: https://github.com/to

Re: [Python-Dev] Please reject or postpone PEP 526

2016-09-02 Thread Stefan Krah
mple): # let x = (10 * 20 : int);; val x : int = 200 So I'm quite happy with the proposed syntax in the PEP, perhaps the parenthesized expression annotations could also be added. But these are only very rarely needed. Stefan Krah ___ Python-Dev mailin

Re: [Python-Dev] What do we do about bad slicing and possible crashes (issue 27867)

2016-08-30 Thread Stefan Krah
to maintain across the python versions and python > implementations. Replicating the exact CPython behavior (for each > CPython version too!) is a major nightmare for such specific > scenarios. > > I propose the following: > > * we raise an er

Re: [Python-Dev] Supported versions of OpenSSL

2016-08-29 Thread Stefan Krah
trusty I'm not in the habit of updating my OS constantly. [Before this attracts some of the usual lectures, I know how to install OpenSSL, thanks.] Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

[Python-Dev] libmpdec already uses and compiles with -std=c99 -pedantic everywhere

2016-08-07 Thread Stefan Krah
be enough for the start. Obviously things like variable-length arrays should never be used anyway. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.o

Re: [Python-Dev] BDFL ruling request: should we block forever waiting for high-quality random bits?

2016-06-16 Thread Stefan Krah
d in the bug report: block until entropy is available. Well, it *was* possible with SysVinit ... :) Python is not the only application that needs a secure /dev/urandom. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python

Re: [Python-Dev] BDFL ruling request: should we block forever waiting for high-quality random bits?

2016-06-16 Thread Stefan Krah
have to predict the behavior of multiple layers of abstractions. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] BDFL ruling request: should we block forever waiting for high-quality random bits?

2016-06-16 Thread Stefan Krah
the vast majority of Python invocations > being launched by the web browser? "Python invocations which are exposed to hostile input". ;) Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman

Re: [Python-Dev] C99

2016-06-12 Thread Stefan Krah
front end (Comeau?). Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Yearly PyPI breakage

2016-05-05 Thread Stefan Krah
cluded that the influence/time ratio is too low to be worth it. Also I don't know any other development group who is a) that quick in trying to suppress any "off-topic" discussions and b) constantly uses venues outside of the Python mailing lists to steer and manipulate public opinio

Re: [Python-Dev] Yearly PyPI breakage

2016-05-05 Thread Stefan Krah
I still think they're mistaken and an enterprising Oracle lawyer could come to a different conclusion, but that's besides the point). Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-

Re: [Python-Dev] Yearly PyPI breakage

2016-05-05 Thread Stefan Krah
Chris Barker noaa.gov> writes: > Indeed -- Fredrik never made any effort to support pypi, pip, etc. -- that's why the Pillow fork was started in the first place. Maybe, but he created PIL, so thank you, Fredrik! Stefan Krah ___ Python-Dev m

Re: [Python-Dev] Yearly PyPI breakage

2016-05-05 Thread Stefan Krah
.python.org/pypi/m3-cdecimal I can assure you that CoCs or "diversity statements" won't help you at all. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Yearly PyPI breakage

2016-05-04 Thread Stefan Krah
ls-sig level. Read Glyph's "calm" and "nice" post again. Also note that *I* had already bowed out of the thread when Glyph unnecessarily decided to spread complete misinformation. Stefan Krah ___ Python-Dev mailing

Re: [Python-Dev] Yearly PyPI breakage

2016-05-03 Thread Stefan Krah
pload Windows or manylinux wheels just let me know; however, as this is just a proof of concept, I do not intend to maintain it long-term. That apparently all you can do: Move bits from place A to place B and not care how long it took to produce them. You are a

Re: [Python-Dev] Yearly PyPI breakage

2016-05-03 Thread Stefan Krah
them completely unreachable does not increase reliability. :) > > But if the majority prefers PyPI that way, I'll stop arguing. > > I’m not sure what you mean here but if you want to argue for reverting PEP 470, I wouldn’t hold my breath. N

[Python-Dev] Yearly PyPI breakage

2016-05-03 Thread Stefan Krah
7.1.2, however version 8.1.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. If this continues, I'm going to release a premium version that's 50% faster and only available from bytereef.org or Anaconda. Stefan Krah

Re: [Python-Dev] Inconsistency of PyModule_AddObject()

2016-04-28 Thread Stefan Krah
point is that I don't want to spend about a week per year to evaluate the effect of needless code changes on a highly audited module. And no, this isn't theoretical... Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.pyt

Re: [Python-Dev] Inconsistency of PyModule_AddObject()

2016-04-28 Thread Stefan Krah
e promote wide changes across PyPI packages we'll see more additional segfaults than theoretically plugged memory leaks. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https

Re: [Python-Dev] Inconsistency of PyModule_AddObject()

2016-04-28 Thread Stefan Krah
Random832 fastmail.com> writes: > On Thu, Apr 28, 2016, at 05:05, Stefan Krah wrote: > > $ valgrind --suppressions=Misc/valgrind-python.supp ./python -c "import > > decimal" > > > > [...] > > ==16945== LEAK SUMMARY: > &g

Re: [Python-Dev] Inconsistency of PyModule_AddObject()

2016-04-28 Thread Stefan Krah
ot;import decimal" [...] ==16945== LEAK SUMMARY: ==16945==definitely lost: 0 bytes in 0 blocks ^^^^ [...] Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.pytho

Re: [Python-Dev] Inconsistency of PyModule_AddObject()

2016-04-28 Thread Stefan Krah
even show up in Valgrind and b) only occurs under severe memory pressure when the OOM-killer is already waiting. I'm honestly mystified by your terminology and it's beginning to feel that you need to justify this patch at all costs. Stefan Krah __

Re: [Python-Dev] Inconsistency of PyModule_AddObject()

2016-04-27 Thread Stefan Krah
ery healthy state if we can afford to spend time on issues such as this one. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] support of the android platform

2016-04-26 Thread Stefan Krah
sounds good. > issue #26854: missing header on android for the ossaudiodev module >(actually it's difficult to rewrite such an obvious patch) Indeed. :) Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.

Re: [Python-Dev] support of the android platform

2016-04-26 Thread Stefan Krah
acker I just went by your contributor agreement. I didn't check the lineage of the patches. Can I assume that either you are re-licensing GPL-stuff written by yourself to the PSF (which is a perfectly valid use case of the agreement) or rewriting from scratch?

Re: [Python-Dev] support of the android platform

2016-04-25 Thread Stefan Krah
o http://bugs.python.org/issue23496? As I understand, that issue seems abandoned and the patches are (despite core devs asking otherwise) against 3.4. If Xavier is willing to do so, I think it would be best to start over with a new issue that integrates his work

Re: [Python-Dev] support of the android platform

2016-04-24 Thread Stefan Krah
patches, the locale.h and langinfo.h problems are solved. Do you think the following issues on the Python bug tracker could be closed? http://bugs.python.org/issue20305 http://bugs.python.org/issue22747 http://bugs.python.org/issue17905 Stefan Krah _

Re: [Python-Dev] Most 3.x buildbots are green again, please don't break them and watch them!

2016-04-13 Thread Stefan Krah
s case it's the gcc AIX maintainer running it, so... I think we should have a policy to stop reporting issues on unstable bots unless someone has a concrete fix OR the bot maintainers are known to fix issues fast (but that does not seem to be the case). Stefan Krah _

Re: [Python-Dev] PEP 515: Underscores in Numeric Literals (revision 3)

2016-03-19 Thread Stefan Krah
ed in the future. One reason for keeping it simple is that I would not like to slow down string conversion, but thinking about two grammars is also a problem -- part of the string conversion in libmpdec is modeled in ACL2, which would be invalidated or at least complicated wit

Re: [Python-Dev] PEP 515: Underscores in Numeric Literals (revision 3)

2016-03-19 Thread Stefan Krah
llowed by the IBM specification grammar. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] [Python-checkins] BAD Benchmark Results for Python Default 2016-01-26

2016-01-28 Thread Stefan Krah
IMO the timings of the benchmark suite are a bit unstable -- this is not the fault of Intel's setup, I noticed it also when running the suite myself. On Tue, Jan 26, 2016 at 06:48:54PM +, Stewart, David C wrote: > Wow, what happened to Python default to cause such a regression? > > > >

Re: [Python-Dev] Update PEP 7 to require curly braces in C

2016-01-19 Thread Stefan Krah
code can only be achieved by auditing it quietly in a terminal, not being distracted by peripheral things like version control and web interfaces (green merge buttons!) and trying to do formal proofs (if time allows for it). So I would not want to enforce a style if it makes some people unhappy. Ste

Re: [Python-Dev] Update PEP 7 to require curly braces in C

2016-01-18 Thread Stefan Krah
Brett Cannon python.org> writes: > Anyone object if I update PEP 7 to remove the optionality of curly braces in PEP 7? I strongly prefer braces everywhere, but I'm -1 on enforcing it. Stefan Krah ___ Python-Dev mailing list Python-Dev@pyth

Re: [Python-Dev] Discussion related to memory leaks requested

2016-01-14 Thread Stefan Krah
uly/001022.html I want to add here that existing schemes for eliminating global variables are inefficient (20% speed hit for _decimal), so a complete solution would have to address that as well. Stefan Krah ___ Python-Dev mailing list Python-De

Re: [Python-Dev] [Python-checkins] cpython (3.4): Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer

2015-02-16 Thread Stefan Krah
*dest)); +dest = PyMem_New(Py_ssize_t, len); if (dest == NULL) { PyErr_NoMemory(); return NULL; This, too, was already protected by len == ndim = 64. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https

Re: [Python-Dev] Cross compiling Python (for Android)

2014-10-26 Thread Stefan Krah
using memory.h in an application is standard conforming. Since _decimal compiles on all other Linux platforms, it may be worth reporting this to the Android developers and see if they can fix it (possibly by not including memory.h in stdlib.h). FWIW, OCaml also has a memory.h header. Stefan Krah

[Python-Dev] [libmpdec] mpdecimal-2.4.1 released

2014-08-31 Thread Stefan Krah
Hi, I've released mpdecimal-2.4.1: http://www.bytereef.org/mpdecimal/changelog.html da74d3cfab559971a4fbd4fb506e1b4498636eb77d0fd09e44f8e546d18ac068 mpdecimal-2.4.1.tar.gz Starting with Python 3.4.2, this version should be used for an external libmpdec. Stefan Krah

Re: [Python-Dev] PEP 3121, 384 Refactoring Issues

2014-07-11 Thread Stefan Krah
that, looking up the state inside the module but cache it (like it's done for the _decimal context) also has reasonable performance. Also I hit the same issues that Eli mentioned here a while ago: https://mail.python.org/pipermail/python-dev/2013-August/127862.html Stefan Krah

Re: [Python-Dev] Moving Python 3.5 on Windows to a new compiler

2014-06-06 Thread Stefan Krah
in longobject.c. * Will VS 14 be golden prior to Python 3.5's release? It would suck to rely on a beta compiler.. :) This is my only concern, too. Otherwise, +1 for the switch. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https

Re: [Python-Dev] Moving Python 3.5 on Windows to a new compiler

2014-06-06 Thread Stefan Krah
Stefan Krah ste...@bytereef.org wrote: * Will VS 14 be golden prior to Python 3.5's release? It would suck to rely on a beta compiler.. :) This is my only concern, too. Otherwise, +1 for the switch. One more thing: Will the SDK 64-bit tools be available for the Express Versions

Re: [Python-Dev] Internal representation of strings and Micropython

2014-06-05 Thread Stefan Krah
to situation where CPython implementation is rejected as not correct for those requirements at all. Several core-devs have said that using UTF-8 for MicroPython is perfectly okay. I also think it's the right choice and I hope that you guys come up with a very efficient implementation. Stefan Krah

Re: [Python-Dev] pip: cdecimal an externally hosted file and may be unreliable [sic]

2014-05-09 Thread Stefan Krah
that you confine that style of discussion to distutils-sig. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail

Re: [Python-Dev] pip: cdecimal an externally hosted file and may be unreliable [sic]

2014-05-09 Thread Stefan Krah
to dispute that claim, although I'm surprised. That is my understanding of the posted statistics, too. PyPI was overloaded, the improved infrastructure fixed that, so more projects now host on PyPI. Stefan Krah ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] pip: cdecimal an externally hosted file and may be unreliable [sic]

2014-05-09 Thread Stefan Krah
Donald, I'm out of his discussion. I have one last request: please don't gossip about core devs in public as long as you have commit privs: https://botbot.me/freenode/python-requests/ Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] pip: cdecimal an externally hosted file and may be unreliable [sic]

2014-05-08 Thread Stefan Krah
and all uploaded packages are safe. Stefan Krah [1] Note that the joke is quite innocent in comparison to what I've read on distutils-sig about the subject. ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman

Re: [Python-Dev] pip: cdecimal an externally hosted file and may be unreliable [sic]

2014-05-08 Thread Stefan Krah
external packages? Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] pip: cdecimal an externally hosted file and may be unreliable [sic]

2014-05-08 Thread Stefan Krah
to Debian, whereupon it would be signed with the official key, apt-get would lose its usefulness. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman

Re: [Python-Dev] pip: cdecimal an externally hosted file and may be unreliable [sic]

2014-05-08 Thread Stefan Krah
on a home or university network. Or a rogue person at a mail provider. 4) Changes the uploaded file together with the hash. pip would be perfectly happy, checking the hash via Google would turn up a mismatch. Stefan Krah ___ Python-Dev mailing list

Re: [Python-Dev] pip: cdecimal an externally hosted file and may be unreliable [sic]

2014-05-08 Thread Stefan Krah
the scenario we're talking about (i.e. not GHCQ hacking into Belgacom routers). Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev

[Python-Dev] pip: cdecimal an externally hosted file and may be unreliable [sic]

2014-05-06 Thread Stefan Krah
Just a warning, in case any of the new packaging team forgot to contact http://cve.mitre.org/ . Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org

Re: [Python-Dev] Python 2.7.7. on Windows

2014-04-29 Thread Stefan Krah
a decade, and can assure that none of those things you mention have yet happened. Relax, I don't think Steve is making things up. That said, I can confirm what you wrote: I've always installed Python to Program Files and I've never had any issues (then again, I'm mostly using Linux). Stefan

Re: [Python-Dev] ref leaks

2014-04-24 Thread Stefan Krah
. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] freeze build slave

2014-03-30 Thread Stefan Krah
with the more aggressive compilers) in release mode. I think that is beneficial anyway. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options

Re: [Python-Dev] Start writing inlines rather than macros?

2014-03-04 Thread Stefan Krah
a compiler that cannot, chances are that the platform is horribly outdated and this particular performance issue will be relatively benign compared to other ones. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org

Re: [Python-Dev] The docstring hack for signature information has to go

2014-02-03 Thread Stefan Krah
information. Stefan Krah ___ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] .clinic.c vs .c.clinic

2014-01-20 Thread Stefan Krah
Larry Hastings la...@hastings.org wrote: Contestant 4: Put in clinic directory, add .h foo.c - clinic/foo.c.h foo.h - clinic/foo.h.h +1 for this, 0 for the rest. Bonus points for any other directory name that is more self-descriptive. ;) Stefan Krah

Re: [Python-Dev] .clinic.c vs .c.clinic

2014-01-20 Thread Stefan Krah
Stefan Krah ste...@bytereef.org wrote: Larry Hastings la...@hastings.org wrote: Contestant 4: Put in clinic directory, add .h foo.c - clinic/foo.c.h foo.h - clinic/foo.h.h +1 for this, 0 for the rest. Bonus points for any other directory name that is more self-descriptive

  1   2   3   4   >