Re: [Python-Dev] PEP 7 and braces { .... } on if

2017-06-04 Thread Serhiy Storchaka
03.06.17 23:30, Barry Warsaw пише: On Jun 03, 2017, at 07:25 PM, Serhiy Storchaka wrote: But the latter example continuation lines are intended at the same level as the following block of code. I propose to make exception for that case and allow moving an open brace to the start of the next lin

Re: [Python-Dev] The untuned tunable parameter ARENA_SIZE

2017-06-04 Thread Tim Peters
[Larry Hastings ] > ... > Yet CPython's memory consumption continues to grow. By the time a current > "trunk" build of CPython reaches the REPL prompt it's already allocated 16 > arenas. I'd be surprised if that's true ;-) The first time `new_arena()` is called, it allocates space for a vector o

Re: [Python-Dev] The untuned tunable parameter ARENA_SIZE

2017-06-04 Thread Tim Peters
[Tim] >> ... That is, it's up to the bit vector implementation >> to intelligently represent what's almost always going to be a >> relatively tiny slice of a theoretically massive address space. [Antoine] > True. That works if the operating system doesn't go too wild in > address space randomizat

Re: [Python-Dev] The untuned tunable parameter ARENA_SIZE

2017-06-04 Thread Antoine Pitrou
On Sun, 4 Jun 2017 09:46:10 -0500 Tim Peters wrote: > [Tim] > >> A virtual address space span of a terabyte could hold 1M pools, so > >> would "only" need a 1M/8 = 128KB bit vector. That's minor compared to > >> a terabyte (one bit per megabyte). > > [Antoine] > > The virtual address space cur

Re: [Python-Dev] The untuned tunable parameter ARENA_SIZE

2017-06-04 Thread Tim Peters
[Tim] >> A virtual address space span of a terabyte could hold 1M pools, so >> would "only" need a 1M/8 = 128KB bit vector. That's minor compared to >> a terabyte (one bit per megabyte). [Antoine] > The virtual address space currently supported by x86-64 is 48 bits > wide (spanning an address spa

Re: [Python-Dev] The untuned tunable parameter ARENA_SIZE

2017-06-04 Thread Antoine Pitrou
On Sat, 3 Jun 2017 21:46:09 -0500 Tim Peters wrote: > > A virtual address space span of a terabyte could hold 1M pools, so > would "only" need a 1M/8 = 128KB bit vector. That's minor compared to > a terabyte (one bit per megabyte). The virtual address space currently supported by x86-64 is 48 b