Re: Problem of writing long list of lists file to csv

2018-05-22 Thread subhabangalore
On Tuesday, May 22, 2018 at 3:55:58 PM UTC+5:30, Peter Otten wrote: > > > > lst2=lst1[:4] > > with open("my_csv.csv","wb") as f: > > writer = csv.writer(f) > > writer.writerows(lst2) > > > > Here it is writing only the first four lists. > > Hint: look at the first line

[issue33590] sched.enter priority has no impact on execution

2018-05-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: It would be nice to either modify the example or add another example to show the use of enterabs() and of the priority field being used as a tie breaker for two events scheduled at the same time. -- nosy: +rhettinger

Re: "Data blocks" syntax specification draft

2018-05-22 Thread Chris Angelico
On Wed, May 23, 2018 at 1:43 AM, Ian Kelly wrote: > On Tue, May 22, 2018 at 9:34 AM, Chris Angelico wrote: >> On Wed, May 23, 2018 at 1:22 AM, Ian Kelly wrote: >>> On Tue, May 22, 2018 at 8:25 AM, Chris Angelico

[issue33593] Support heapq on typed arrays?

2018-05-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think we should go down this path. The efficiency of the C implementation depends on it being tightly coupled to lists. This tool is used in the schedulers of various async tools (such as Tornando), used for merge(),

[issue33597] Compact PyGC_Head

2018-05-22 Thread INADA Naoki
INADA Naoki added the comment: @Serhiy php implemented similar idea recently. https://react-etc.net/entry/improvements-to-garbage-collection-gc-php-7-3-boosts-performance-in-benchmark In short, each tracked object have only "index" of GC struct, not "pointer". GC

[issue33597] Compact PyGC_Head

2018-05-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 22/05/2018 à 17:31, INADA Naoki a écrit : > > INADA Naoki added the comment: > > $ ./python-gc -c 'import asyncio,sys; sys._debugmallocstats()' Thanks. You can also collect peak memory stats during the benchmark

[issue30877] possibe typo in json/scanner.py

2018-05-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

Re: "Data blocks" syntax specification draft

2018-05-22 Thread Ian Kelly
On Tue, May 22, 2018 at 9:34 AM, Chris Angelico wrote: > On Wed, May 23, 2018 at 1:22 AM, Ian Kelly wrote: >> On Tue, May 22, 2018 at 8:25 AM, Chris Angelico wrote: >>> On Tue, May 22, 2018 at 8:25 PM, bartc wrote:

[issue2504] Add gettext.pgettext() and variants support

2018-05-22 Thread Éric Araujo
Éric Araujo added the comment: It was an answer to «Is there anything I can do to help get this into the codebase» Feel free to take this on! I’ll try to review. -- ___ Python tracker

Re: "Data blocks" syntax specification draft

2018-05-22 Thread Chris Angelico
On Wed, May 23, 2018 at 1:22 AM, Ian Kelly wrote: > On Tue, May 22, 2018 at 8:25 AM, Chris Angelico wrote: >> On Tue, May 22, 2018 at 8:25 PM, bartc wrote: >>> Note that Python tuples don't always need a start symbol: >>> >>>a =

[issue33597] Compact PyGC_Head

2018-05-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is an interesting idea. The other problem with the garbage collecting is that it modifies the memory of all collectable objects. This leads to deduplicating virtually all memory blocks after the fork, even if these objects

[issue33597] Compact PyGC_Head

2018-05-22 Thread INADA Naoki
INADA Naoki added the comment: $ ./python-gc -c 'import asyncio,sys; sys._debugmallocstats()' master: # bytes in allocated blocks=4,011,368 # bytes in available blocks= 136,640 50 unused pools * 4096 bytes =

Re: "Data blocks" syntax specification draft

2018-05-22 Thread Ian Kelly
On Tue, May 22, 2018 at 9:22 AM, Ian Kelly wrote: > On Tue, May 22, 2018 at 8:25 AM, Chris Angelico wrote: >> On Tue, May 22, 2018 at 8:25 PM, bartc wrote: >>> Note that Python tuples don't always need a start symbol: >>> >>>a =

Re: "Data blocks" syntax specification draft

2018-05-22 Thread Ian Kelly
On Tue, May 22, 2018 at 8:25 AM, Chris Angelico wrote: > On Tue, May 22, 2018 at 8:25 PM, bartc wrote: >> Note that Python tuples don't always need a start symbol: >> >>a = 10,20,30 >> >> assigns a tuple to a. > > The tuple has nothing to do with the

Re: best way to remove leading zeros from a tuple like string

2018-05-22 Thread Chris Angelico
On Wed, May 23, 2018 at 12:50 AM, Grant Edwards wrote: > On 2018-05-22, Thomas Jollans wrote: >> On 2018-05-20 23:54, Paul wrote: >>> you will find several useful sites where you can test regexes. Regex >>> errors are very common, even after you have

[issue33597] Compact PyGC_Head

2018-05-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Interesting. Do you have any comparisons on memory footprint too? -- ___ Python tracker ___

[issue33603] Subprocess Thread handles grow with each call and aren't released until script ends

2018-05-22 Thread GranPrego
New submission from GranPrego : On windows 7 / 10 I'm using subprocess to launch a dos cmdline executable and returning the results, which is all working fine. However, each time I make a call, the Python handle count is gradually increasing, jumping up , back a

[issue33238] AssertionError on await of Future returned by asyncio.wrap_future

2018-05-22 Thread Jason Haydaman
Change by Jason Haydaman : -- keywords: +patch pull_requests: +6690 stage: -> patch review ___ Python tracker ___

[issue33597] Compact PyGC_Head

2018-05-22 Thread INADA Naoki
INADA Naoki added the comment: $ ./python -m perf compare_to master.json twogc.json -G --min-speed=2 Slower (3): - scimark_monte_carlo: 268 ms +- 9 ms -> 278 ms +- 8 ms: 1.04x slower (+4%) - fannkuch: 1.03 sec +- 0.02 sec -> 1.06 sec +- 0.02 sec: 1.03x slower (+3%) -

Re: best way to remove leading zeros from a tuple like string

2018-05-22 Thread Grant Edwards
On 2018-05-22, Thomas Jollans wrote: > On 2018-05-20 23:54, Paul wrote: >> you will find several useful sites where you can test regexes. Regex >> errors are very common, even after you have experience with them. > > What's the benefit of those compared to simply trying out the

[issue33601] [EASY DOC] Py_UTF8Mode is not documented

2018-05-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If there are reasons of including it in the limited API, it should be documented. -- ___ Python tracker

[issue33602] Remove set and queue references from Data Types

2018-05-22 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +6689 stage: -> patch review ___ Python tracker ___

[issue33602] Remove set and queue references from Data Types

2018-05-22 Thread Andrés Delfino
New submission from Andrés Delfino : Data Types mentions sets (which are now built-in) and synchronized queues (now mentioned in Concurrent Execution). I'm proposing fixing this. PR also adds mention to bytearray. -- assignee: docs@python components: Documentation

Re: "Data blocks" syntax specification draft

2018-05-22 Thread Chris Angelico
On Tue, May 22, 2018 at 8:25 PM, bartc wrote: > Note that Python tuples don't always need a start symbol: > >a = 10,20,30 > > assigns a tuple to a. The tuple has nothing to do with the parentheses, except for the special case of the empty tuple. It's the comma. ChrisA --

[issue33601] [EASY DOC] Py_UTF8Mode is not documented

2018-05-22 Thread STINNER Victor
STINNER Victor added the comment: I wasn't sure if I should document it, but after talking with Serhiy on IRC, I now agree that the new variable should be documented. It should be documented at: https://docs.python.org/dev/c-api/init.html#global-configuration-variables

[issue29640] _PyThreadState_Init and fork race leads to inconsistent key list

2018-05-22 Thread STINNER Victor
STINNER Victor added the comment: > But! I suppose we could fix the bug only for platforms with > PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT. Yes, this is my proposal. >> I propose to cast pthread_key_create() result to int, but only define >> PyThread_create_key() in

[issue28240] Enhance the timeit module: display average +- std dev instead of minimum

2018-05-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, it was my thought. But seems you are right, it is easier to use Python as a programming language. In the past I used the CLI because the programming interface didn't supported autoranging. Although I would change the

[issue33565] strange tracemalloc results

2018-05-22 Thread STINNER Victor
STINNER Victor added the comment: A memory leak is when each iteration adds a fixed number of bytes of the memory: I'm talking about tracemalloc.get_traced_memory()[0] value. For example, if you compare the total traced memory between your iteration 30 and iteration 20,

[issue33197] Confusing error message when constructing invalid inspect.Parameters

2018-05-22 Thread Dong-hee Na
Dong-hee Na added the comment: Can I get a code review for PR 6636? -- ___ Python tracker ___

[issue33470] Changes from GH-1638 (GH-3575, bpo-28411) are not documented in Porting to Python 3.7

2018-05-22 Thread STINNER Victor
STINNER Victor added the comment: > Also, the actual removal of the "modules" field was reverted. Oh... I didn't understand that part :-) Ok. In this case it's fine to close this documentation issue. Nothing should be documented for 3.7 ;-) --

[issue33601] Py_UTF8Mode is not documented

2018-05-22 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Py_UTF8Mode was added to the limited API in 3.7, but it is not documented anywhere. -- assignee: docs@python components: Documentation messages: 317286 nosy: docs@python, ncoghlan, serhiy.storchaka, vstinner priority:

[issue23860] Windows: Failure to check return value from lseek() in Modules/mmapmodule.c

2018-05-22 Thread STINNER Victor
STINNER Victor added the comment: Oh right, PR 7017 does that: it removes the lseek() call ;-) -- ___ Python tracker ___

[issue23860] Windows: Failure to check return value from lseek() in Modules/mmapmodule.c

2018-05-22 Thread STINNER Victor
STINNER Victor added the comment: "At the moment, I'm not sure if it's needed or not, but if it's only an issue with XP, then it might not be worth fixing...:)" If the workaround is no longer needed, the lseek() call should be removed. -- components: +Windows

[issue28167] remove platform.linux_distribution()

2018-05-22 Thread STINNER Victor
STINNER Victor added the comment: FYI I created bpo-33600: "[EASY DOC] Python 2: document that platform.linux_distribution() has been removed". -- ___ Python tracker

[issue33521] Add 1.32x faster C implementation of asyncio.isfuture().

2018-05-22 Thread STINNER Victor
STINNER Victor added the comment: > @pitrou We'll measure the wins of gather when we implement it in C. Before > that, we need to get all helpers ready in C. You don't have to provide _asyncio.isfuture() (in C) to implement gather() in C. If your goal is to optimize

[issue33518] Add PEP to glossary

2018-05-22 Thread STINNER Victor
STINNER Victor added the comment: Thank you Andrés Delfino. I applied your PR to 2.7, 3.6, 3.7 and master. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33518] Add PEP to glossary

2018-05-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8cbde8a43769641373a681af4b0d72944af43f95 by Victor Stinner (Andrés Delfino) in branch '2.7': [2.7] bpo-33518: Add PEP entry to documentation glossary (GH-6860). (#6936)

[issue28240] Enhance the timeit module: display average +- std dev instead of minimum

2018-05-22 Thread STINNER Victor
STINNER Victor added the comment: > Wait, I didn't notice the change to the format of raw timings. It looks as a > regression to me. Do you mean that some applications may run timeit as a CLI and parse stdout to get raw values? Why doing so? timeit is a Python module,

[issue20941] pytime.c:184 and pytime.c:218: runtime error, outside the range of representable values of type 'long'

2018-05-22 Thread STINNER Victor
STINNER Victor added the comment: I close the issue as a duplicate of bpo-31373. Reopen/comment bpo-31373 if the issue is not completely fixed. -- resolution: out of date -> duplicate stage: -> resolved status: open -> closed

[issue30877] possibe typo in json/scanner.py

2018-05-22 Thread miss-islington
miss-islington added the comment: New changeset 2baee0aa77055755ac50e92e64bbccfea4108621 by Miss Islington (bot) in branch '3.6': bpo-30877: Fix clearing a cache in the the JSON decoder. (GH-7048)

[issue29640] _PyThreadState_Init and fork race leads to inconsistent key list

2018-05-22 Thread Petr Viktorin
Petr Viktorin added the comment: > PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT is defined on most (pthread) platforms, > no? > I propose to cast pthread_key_create() result to int, but only define > PyThread_create_key() in Python/thread_pthread.h if >

[issue33600] [EASY DOC] Python 2: document that platform.linux_distribution() has been removed

2018-05-22 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +easy ___ Python tracker ___ ___

[issue33600] [EASY DOC] Python 2: document that platform.linux_distribution() has been removed

2018-05-22 Thread STINNER Victor
New submission from STINNER Victor : The platform.linux_distribution() function has been removed from the future Python 3.8. The removal should be documented in Python 2.7 documentation, and mention the alternative. Python 2 documenation:

[issue30877] possibe typo in json/scanner.py

2018-05-22 Thread miss-islington
miss-islington added the comment: New changeset 25fd6cc5b0ad311bb771ae47ae8173417730bb6a by Miss Islington (bot) in branch '3.7': bpo-30877: Fix clearing a cache in the the JSON decoder. (GH-7048)

[issue29640] _PyThreadState_Init and fork race leads to inconsistent key list

2018-05-22 Thread STINNER Victor
STINNER Victor added the comment: > the old TLS API is only available if PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT. PTHREAD_KEY_T_IS_COMPATIBLE_WITH_INT is defined on most (pthread) platforms, no? I understood that the PEP 539 is mostly designed for Cygwin, a platform which

[issue33531] test_asyncio: test_subprocess test_stdin_broken_pipe() failure on Travis CI

2018-05-22 Thread STINNER Victor
STINNER Victor added the comment: > Fixed failed sendfile tests on Windows (at least I hope so). I guess that Andrew means the following fix: commit e2537521916c5bf88fcf54d4654ff1bcd332be4a Author: Andrew Svetlov Date: Mon May 21 12:03:45 2018

Re: Spam levels.

2018-05-22 Thread C W Rose via Python-list
m wrote: > W dniu 10.02.2018 o 15:57, C W Rose pisze: >> No other groups (in the limited set which I read) have the problem, >> and I don't understand why the spammers neither spam a range of >> groups, nor change their adddresses more frequently. It may be >> that destroying

[issue33580] Make binary/text file glossary entries follow most common "see also" style

2018-05-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

EuroPython 2018: Call for Proposals closes on Sunday

2018-05-22 Thread M.-A. Lemburg
We would like to remind you that our two week call for proposals (CFP) closes on Sunday, May 20. If you’d like to submit a talk, please see our CFP announcement for details: https://blog.europython.eu/post/173666124852/europython-2018-call-for-proposals-cfp-is-open Submissions are possibe via

[issue33580] Make binary/text file glossary entries follow most common "see also" style

2018-05-22 Thread Andrés Delfino
Andrés Delfino added the comment: This one can be closed, right? -- ___ Python tracker ___

[issue30877] possibe typo in json/scanner.py

2018-05-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +6688 ___ Python tracker ___

[issue30877] possibe typo in json/scanner.py

2018-05-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +6687 ___ Python tracker ___

[issue5945] PyMapping_Check returns 1 for lists

2018-05-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 93e9fb5664e56c02c9aa89098b556929735b35db by Serhiy Storchaka in branch '3.6': [3.6] bpo-5945: Improve mappings and sequences C API docs. (GH-7029). (GH-7049)

Re: Issue

2018-05-22 Thread Rhodri James
[Re-ordered for comprehensibility.] On 22/05/18 11:08, sujith.j Sjk wrote: On Tue, May 22, 2018 at 3:04 PM, Abdur-Rahmaan Janhangeer < arj.pyt...@gmail.com> wrote: On Tue, 22 May 2018, 10:28 sujith.j Sjk, wrote: Hi, Am facing the below issue when starting pyton. >>

[issue33597] Compact PyGC_Head

2018-05-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___

Re: "Data blocks" syntax specification draft

2018-05-22 Thread bartc
On 22/05/2018 03:49, Mikhail V wrote: On Mon, May 21, 2018 at 3:48 PM, bartc wrote: But I have to say it looks pretty terrible, and I can't see that it buys much over normal syntax. # t # t 11 22 33 Is this example complete? Presumably it means

Re: Problem of writing long list of lists file to csv

2018-05-22 Thread Peter Otten
subhabangal...@gmail.com wrote: > lst2=lst1[:4] > with open("my_csv.csv","wb") as f: > writer = csv.writer(f) > writer.writerows(lst2) > > Here it is writing only the first four lists. Hint: look at the first line in the quotation above. --

[issue5945] PyMapping_Check returns 1 for lists

2018-05-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +6686 ___ Python tracker ___ ___

[issue33599] Copying objects subclassed from SimpleNamespace doesn't work

2018-05-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Right, this is because your subclass is not completely compatible with SimpleNamespace. The SimpleNamespace constructor accepts only keyword arguments, but your class requires a positional argument. You have to implement the

Problem of writing long list of lists file to csv

2018-05-22 Thread subhabangalore
I have a list of lists (177 lists). I am trying to write them as file. I used the following code to write it in a .csv file. import csv def word2vec_preprocessing(): a1=open("/python27/EngText1.txt","r") list1=[] for line in a1: line1=line.lower().replace(".","").split()

[issue33596] fix memory leak in lib/json/scanner.py py_make_scanner

2018-05-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report and pull request, but it is a duplicate of issue30877. This bug was not fixed before because we wanted a test. -- nosy: +serhiy.storchaka resolution: -> fixed stage: patch review -> resolved

[issue30877] possibe typo in json/scanner.py

2018-05-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry for not fixing this issue earlier. The fix is trivial, but it needed tests. PR 7048 adds a simpler test. -- versions: +Python 3.8 -Python 3.5 ___ Python tracker

[issue30877] possibe typo in json/scanner.py

2018-05-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +6685 ___ Python tracker ___

Re: Issue

2018-05-22 Thread sujith.j Sjk
yes On Tue, May 22, 2018 at 3:04 PM, Abdur-Rahmaan Janhangeer < arj.pyt...@gmail.com> wrote: > greetings, > > did you send a log file attached? > > Abdur-Rahmaan Janhangeer > https://github.com/Abdur-rahmaanJ > > On Tue, 22 May 2018, 10:28 sujith.j Sjk, wrote: > >> > Hi,

[issue33599] Copying objects subclassed from SimpleNamespace doesn't work

2018-05-22 Thread Sascha
New submission from Sascha : Try from types import SimpleNamespace import copy class Person(SimpleNamespace): def __init__(self, name, **kwargs): self.name = name super().__init__(**kwargs) bob = Person('Bob', job='tester') clone = copy.copy(bob)

Re: best way to remove leading zeros from a tuple like string

2018-05-22 Thread Paul
Thomas Jollans wrote: > On 2018-05-20 23:54, Paul wrote: > > you will find several useful sites where you can test regexes. > > What's the benefit of those compared to simply trying out the regex in a > Python console? > Possibly nothing. But there are obvious benefits compared to trying to

Re: Issue

2018-05-22 Thread Abdur-Rahmaan Janhangeer
greetings, did you send a log file attached? Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ On Tue, 22 May 2018, 10:28 sujith.j Sjk, wrote: > > Hi, > > > > Am facing the below issue when starting pyton. > > > > > > > -- >

[issue33598] ActiveState Recipes links in docs, and the apparent closure of Recipes

2018-05-22 Thread Alex Walters
New submission from Alex Walters : ActiveState has stopped accepting new recipes on their website, and migrated all current recipes to a Github repo. I have seen no official announcement of a shutdown date for the code.activestate.com website, but it's future has to

Re: best way to remove leading zeros from a tuple like string

2018-05-22 Thread Thomas Jollans
On 2018-05-20 23:54, Paul wrote: > you will find several useful sites where you can test regexes. Regex > errors are very common, even after you have experience with them. What's the benefit of those compared to simply trying out the regex in a Python console? --

[issue5945] PyMapping_Check returns 1 for lists

2018-05-22 Thread miss-islington
miss-islington added the comment: New changeset e1a78cacf65f007b1000966ce3aac6ac2eaa5cfc by Miss Islington (bot) in branch '3.7': bpo-5945: Improve mappings and sequences C API docs. (GH-7029)

[issue5945] PyMapping_Check returns 1 for lists

2018-05-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +6684 ___ Python tracker ___

[issue5945] PyMapping_Check returns 1 for lists

2018-05-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f5b1183610d5888db3bbd639b1a0c945dbd8f8dd by Serhiy Storchaka in branch 'master': bpo-5945: Improve mappings and sequences C API docs. (GH-7029)

[issue33596] fix memory leak in lib/json/scanner.py py_make_scanner

2018-05-22 Thread yzongyue
Change by yzongyue : -- keywords: +patch pull_requests: +6683 stage: -> patch review ___ Python tracker ___

[issue33597] Compact PyGC_Head

2018-05-22 Thread INADA Naoki
Change by INADA Naoki : -- keywords: +patch pull_requests: +6682 stage: -> patch review ___ Python tracker ___

[issue33597] Compact PyGC_Head

2018-05-22 Thread INADA Naoki
New submission from INADA Naoki : Currently, PyGC_Head takes three words; gc_prev, gc_next, and gc_refcnt. gc_refcnt is used when collecting, for trial deletion. gc_prev is used for tracking and untracking. So if we can avoid tracking/untracking while trial deletion,

[issue33596] fix memory leak in lib/json/scanner.py py_make_scanner

2018-05-22 Thread yzongyue
New submission from yzongyue : in function py_make_scanner, the last return statements is "return _scan_once" it should be "return scan_once", or the memo never clear. in fact, make_scanner use c_make_scanner rather than py_make_scanner, so this bug never occur in default

Re: best way to remove leading zeros from a tuple like string

2018-05-22 Thread Wolfram Hinderer via Python-list
Am 21.05.2018 um 01:16 schrieb bruceg113...@gmail.com: If I decide I need the parentheses, this works. "(" + ",".join([str(int(i)) for i in s[1:-1].split(",")]) + ")" '(128,20,8,255,-1203,1,0,-123)' Thanks, Bruce Creating the tuple seems to be even simpler. >>> str(tuple(map(int,

Issue

2018-05-22 Thread sujith.j Sjk
> Hi, > > Am facing the below issue when starting pyton. > > > -- https://mail.python.org/mailman/listinfo/python-list

Re: "Data blocks" syntax specification draft

2018-05-22 Thread Christian Gollwitzer
Am 22.05.18 um 04:17 schrieb Mikhail V: On Mon, May 21, 2018 at 1:41 PM, Chris Lindsay via Python-list wrote: If a block of static data is large enough to start to be ugly, a common approach is to load the data from some other file, in a language which is designed

[issue33590] sched.enter priority has no impact on execution

2018-05-22 Thread Ronald Oussoren
Ronald Oussoren added the comment: I did look at the code :-) The enter() method just calls enterabs() with an absolute time calculated from the current time (using the timefunc for the scheduler) and the passed relative time. Two calls of enter() with the same

[issue33595] FIx references to lambda "arguments"

2018-05-22 Thread Julien Palard
Change by Julien Palard : -- stage: patch review -> backport needed ___ Python tracker ___

<    1   2