[issue31298] Error when calling numpy.astype

2017-10-31 Thread Berker Peksag
Berker Peksag added the comment: Chris is right. Please report this to numpy developers. We can always reopen this issue if they decide that this is an issue in Python. Thank you. By the way, I cannot reproduce the crash with numpy 1.13.3. -- nosy:

[issue30824] Add mimetype for extension .json

2017-10-31 Thread Berker Peksag
Berker Peksag added the comment: 3.5 is now in security-fix-only mode so I'm closing this one as 'fixed'. Thank you, all. -- nosy: +berker.peksag resolution: -> fixed stage: backport needed -> resolved status: open -> closed versions: -Python 3.5

[issue31916] ensurepip not honoring value of $(DESTDIR) - pip not installed

2017-10-31 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: This is a pip bug https://github.com/pypa/pip/issues/3063 -- nosy: +Chi Hsuan Yen ___ Python tracker

[issue31908] trace module cli does not write cover files

2017-10-31 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +belopolsky ___ Python tracker ___ ___

[issue31454] Include "import as" in tutorial

2017-10-31 Thread Berker Peksag
Berker Peksag added the comment: I just reviewed Mario's pull request. Should we mention the "from fibo import fib as fibonacci" syntax too? -- nosy: +berker.peksag ___ Python tracker

[issue31915] (list).insert() not working

2017-10-31 Thread Steven D'Aprano
Change by Steven D'Aprano : -- stage: -> resolved status: open -> closed ___ Python tracker ___

[issue31915] (list).insert() not working

2017-10-31 Thread Steven D'Aprano
Steven D'Aprano added the comment: Thank you for taking the time to report what you thought was a bug, but your example is way too complicated for a bug report. We shouldn't have to study your entire program to understand what the problem is. I can see at least

[issue18534] State clearly that open() 'file' param is "name" attr of the result

2017-10-31 Thread Guido van Rossum
Guido van Rossum added the comment: Agreed it's too subtle to change the behavior. > We may also want to explicitly point out that using os.fsdecode(name) before > passing it to open() will ensure that the name attribute is set to a string > rather than a bytes object. Not

[issue31910] test_socket.test_create_connection() failed with EADDRNOTAVAIL (err 99)

2017-10-31 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4178 ___ Python tracker ___

[issue31910] test_socket.test_create_connection() failed with EADDRNOTAVAIL (err 99)

2017-10-31 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4177 ___ Python tracker ___

[issue31910] test_socket.test_create_connection() failed with EADDRNOTAVAIL (err 99)

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset 280c22a82a6756e9caffef031c564fd98f1b50e7 by Victor Stinner in branch 'master': Fix test_socket.test_create_connection() (#4206) https://github.com/python/cpython/commit/280c22a82a6756e9caffef031c564fd98f1b50e7

[issue31917] Add time.CLOCK_PROF constant

2017-10-31 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +4176 stage: -> patch review ___ Python tracker ___

[issue31917] Add time.CLOCK_PROF constant

2017-10-31 Thread STINNER Victor
New submission from STINNER Victor : The CLOCK_PROF clock is used internally by time.process_time(). It may be interesting to expose this constant if available. -- components: FreeBSD, Library (Lib) messages: 305352 nosy: haypo, koobs priority: normal

[issue31916] ensurepip not honoring value of $(DESTDIR) - pip not installed

2017-10-31 Thread multimiler
New submission from multimiler : I am building python from source for installation at /opt/python-3.6.3. The result of the build will be installed in /somewhere/deb-pkg-build-dir. I configure, build, and install, the package as follows: ./configure

[issue31915] (list).insert() not working

2017-10-31 Thread Michael Selik
New submission from Michael Selik : What behavior did you expect from your code? What behavior did you get instead? It looks like you're not calling the list copy method correctly. Try writing "tables2.copy()" instead of "tables2.copy". It also looks like you have

[issue31626] Writing in freed memory in _PyMem_DebugRawRealloc() after shrinking a memory block

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: While the commit b484d5606ca76f9bbd0f5de7a6ef753400213e94 fixes a crash on OpenBSD and makes the code "correct" on any platforms, I still see it as a feature regression. Detecting buffer overflow and using freed memory are feature

[issue31890] Please define the flag METH_STACKLESS for Stackless Python

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: Hi Anselm, What is the status of Stackless Python? I didn't hear about Stackless for 5 years. Is the project still alive? I see some activity on https://bitbucket.org/stackless-dev/stackless/wiki/Home and

[issue31908] trace module cli does not write cover files

2017-10-31 Thread Michael Selik
Michael Selik added the comment: Ok, pull request submitted: https://github.com/python/cpython/pull/4205 -- ___ Python tracker

[issue31910] test_socket.test_create_connection() failed with EADDRNOTAVAIL (err 99)

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: > Or maybe just repeat the test if EADDRNOTAVAIL is raised? I don't think that it's worth it. -- ___ Python tracker

[issue31910] test_socket.test_create_connection() failed with EADDRNOTAVAIL (err 99)

2017-10-31 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +4175 stage: -> patch review ___ Python tracker ___

[issue31908] trace module cli does not write cover files

2017-10-31 Thread Michael Selik
Change by Michael Selik : -- keywords: +patch pull_requests: +4174 stage: -> patch review ___ Python tracker ___

[issue31915] (list).insert() not working

2017-10-31 Thread Chance Parsons
Change by Chance Parsons : -- files: Times Tables.py nosy: Chance Parsons priority: normal severity: normal status: open title: (list).insert() not working type: behavior versions: Python 3.6 Added file: https://bugs.python.org/file47250/Times Tables.py

[issue18835] Add PyMem_AlignedAlloc()

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: msg196194: Antoine Pitrou: "Note that the current small object allocator, if not disabled, *should* already return you aligned memory, by construction (each allocation size has dedicated pools from which memory blocks are carved)."

[issue18835] Add aligned memory variants to the suite of PyMem functions/macros

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: I merged my PR 4199 (Document PyObject_Malloc()) and PR 4200 (Cleanup pymalloc) to prepare PR 4089. PR 4089 should now be completed and well tested. The real question is now if we need PyMem_AlignedAlloc()? Stefan Krah and

[issue18835] Add PyMem_AlignedAlloc()

2017-10-31 Thread STINNER Victor
Change by STINNER Victor : -- title: Add aligned memory variants to the suite of PyMem functions/macros -> Add PyMem_AlignedAlloc() ___ Python tracker

[issue31908] trace module cli does not write cover files

2017-10-31 Thread Michael Selik
Michael Selik added the comment: While writing a patch for this, I noticed the ``lnotab`` parameter seems nearly unused. It's a dict, but is only used for its keys. https://github.com/python/cpython/blob/master/Lib/trace.py#L333 Further, the choice to count unreached

[issue14574] SocketServer doesn't handle client disconnects properly

2017-10-31 Thread Matej Cepl
Matej Cepl added the comment: The last patch (clear_buffer_on_error.patch) has still not been applied (looking at 2.7 and master branches). -- nosy: +mcepl ___ Python tracker

[issue23551] IDLE to provide menu link to PIP gui.

2017-10-31 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- nosy: +levkivskyi ___ Python tracker ___ ___

[issue27051] Create PIP gui

2017-10-31 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- nosy: +levkivskyi ___ Python tracker ___ ___

[issue31908] trace module cli does not write cover files

2017-10-31 Thread Michael Selik
Michael Selik added the comment: The problem appears to be a mistake in commit f026dae130bf6f9015c4b212f16852ba4a3f3dec https://github.com/python/cpython/commit/f026dae130bf6f9015c4b212f16852ba4a3f3dec This made the writing of cover files conditional on

[issue23551] IDLE to provide menu link to PIP gui.

2017-10-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: For this idea to be revived, someone should write a PEP and open a new issue. -- ___ Python tracker

[issue18835] Add aligned memory variants to the suite of PyMem functions/macros

2017-10-31 Thread Stefan Krah
Stefan Krah added the comment: > For large allocations, you'll probably be better off implementing your own > aligned allocator on top of calloc than implementing your own calloc on top > of an aligned allocator. (It's O(1) overhead versus O(n).) And once you're > doing

[issue31914] Document Pool.(star)map return type

2017-10-31 Thread Дилян Палаузов
Дилян Палаузов added the comment: Pool.starmap is not like map from the standard library, as the hyperlinking on the word map() suggests, but like Pool.map(). The latter talks about the chunksize parameter, but the former and Pool.starmap don't. --

[issue31914] Document Pool.(star)map return type

2017-10-31 Thread Дилян Палаузов
New submission from Дилян Палаузов : https://docs.python.org/3/library/multiprocessing.html#multiprocessing.pool.Pool.starmap says: starmap(func, iterable[, chunksize]) Like map() except that the elements of the iterable are expected to be iterables that are

[issue31891] Make curses compiling on NetBSD 7.1 and tests passing

2017-10-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue31844] HTMLParser: undocumented not implemented method

2017-10-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +Library (Lib) nosy: +ezio.melotti type: -> behavior ___ Python tracker ___

[issue31910] test_socket.test_create_connection() failed with EADDRNOTAVAIL (err 99)

2017-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm not a networking but it seems reasonable. If I understand correctly, EADDRNOTAVAIL can be raised on the Travis CI when a large number of network connections are created simultaneously by other CI tests. Or maybe just repeat

[issue31630] math.tan has poor accuracy near pi/2 on OpenBSD and NetBSD

2017-10-31 Thread Stefan Krah
Stefan Krah added the comment: On Tue, Oct 31, 2017 at 07:32:00PM +, Serhiy Storchaka wrote: > >>From 4 considered results the tests are failed on gcc 4.2.1, 4.7.2, 4.8.5, > >>but are passes on gcc 7.2.0. I suppose this is gcc or libc bug fixed in > >>recent versions.

[issue31626] Writing in freed memory in _PyMem_DebugRawRealloc() after shrinking a memory block

2017-10-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- priority: critical -> normal ___ Python tracker ___

[issue31626] Writing in freed memory in _PyMem_DebugRawRealloc() after shrinking a memory block

2017-10-31 Thread Larry Hastings
Larry Hastings added the comment: > Most, if not all, calls to _PyMem_DebugRawRealloc() are protected by > the GIL. If there is a single thread using the memory block, > I think that it's perfectly fine to write after it's deallocated. I don't quite follow where the

[issue31630] math.tan has poor accuracy near pi/2 on OpenBSD and NetBSD

2017-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: >From 4 considered results the tests are failed on gcc 4.2.1, 4.7.2, 4.8.5, but >are passes on gcc 7.2.0. I suppose this is gcc or libc bug fixed in recent >versions. -- ___ Python

[issue31626] Writing in freed memory in _PyMem_DebugRawRealloc() after shrinking a memory block

2017-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have removed the incorrect code in master and 3.6, this unblocks testing debug build on OpenBSD. I don't think it is worth to backport this change to 3.5 and 3.4, since the bug affects only debug build. Here is a patch which

[issue18835] Add aligned memory variants to the suite of PyMem functions/macros

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9ed83c40855b57c10988f76770a4eb825e034cd8 by Victor Stinner in branch 'master': bpo-18835: Cleanup pymalloc (#4200) https://github.com/python/cpython/commit/9ed83c40855b57c10988f76770a4eb825e034cd8 --

[issue31630] math.tan has poor accuracy near pi/2 on OpenBSD and NetBSD

2017-10-31 Thread Stefan Krah
Stefan Krah added the comment: So the big mystery is still: https://mail.python.org/pipermail/python-dev/2017-October/149880.html Could be a Linux router with some alternative libc ... -- ___ Python tracker

[issue31893] Issues with kqueue

2017-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Tests on all buildbots are passed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue31630] math.tan has poor accuracy near pi/2 on OpenBSD and NetBSD

2017-10-31 Thread Mark Dickinson
Mark Dickinson added the comment: > Seems the first result is calculated at compile time Makes sense. Last time I looked, gcc uses MPFR for the compile-time calls, so I'd expect those to be correctly rounded. -- ___ Python

[issue18835] Add aligned memory variants to the suite of PyMem functions/macros

2017-10-31 Thread Nathaniel Smith
Nathaniel Smith added the comment: > But since no fast (kernel-zeroed) aligned_calloc() exists, I must use > memset() anyway. For large allocations, you'll probably be better off implementing your own aligned allocator on top of calloc than implementing your own calloc on

[issue31893] Issues with kqueue

2017-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 84e252b79eed94bc9e9175f82191322c89e489ad by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': bpo-31893: Fix errors in b9052a0f91d2e83bbc27267247a5920c82b242a3. (GH-4196) (#4201)

[issue31893] Issues with kqueue

2017-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e7531e54bf195b8d3ed35b4138901c82f7ed794c by Serhiy Storchaka (Miss Islington (bot)) in branch '2.7': bpo-31893: Fix errors in b9052a0f91d2e83bbc27267247a5920c82b242a3. (GH-4196) (#4202)

[issue31912] PyMem_Malloc() should guarantee alignof(max_align_t)

2017-10-31 Thread Stefan Krah
Stefan Krah added the comment: > Do you mean the C++ std::max_align_t? Does C99 have something like that? > > The Linux malloc() manual page says: > > "The malloc() and calloc() functions return a pointer to the allocated > memory, which is suitably aligned for any

[issue31913] forkserver could warn if several threads are running

2017-10-31 Thread Antoine Pitrou
New submission from Antoine Pitrou : I'm not sure this is worth handling, but I had an interaction with a user who had weird deadlock problems in a glibc function (getaddrinfo) in worker processes launched with the forkserver method. The explanation turned out to be that a

[issue31912] PyMem_Malloc() should guarantee alignof(max_align_t)

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: > I think PyMem_Malloc() should guarantee alignof(max_align_t). Do you mean the C++ std::max_align_t? Does C99 have something like that? The Linux malloc() manual page says: "The malloc() and calloc() functions return a pointer to

[issue31909] Missing definition of HAVE_SYSCALL_GETRANDOM

2017-10-31 Thread Ilya Kulakov
Ilya Kulakov added the comment: Not a bug in Python. -- stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue31912] PyMem_Malloc() should guarantee alignof(max_align_t)

2017-10-31 Thread Stefan Krah
Change by Stefan Krah : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list

[issue31912] PyMem_Malloc() should guarantee alignof(max_align_t)

2017-10-31 Thread Stefan Krah
New submission from Stefan Krah : This is related to #27987 and #20064 and perhaps the pymalloc patch from #18835. I think PyMem_Malloc() should guarantee alignof(max_align_t). It actually did before the "#define PYMEM_FUNCS PYOBJ_FUNCS" optimization, so we have a sort of

[issue31911] Use malloc_usable_size() is pymalloc for realloc

2017-10-31 Thread STINNER Victor
New submission from STINNER Victor : Objects/obmalloc.c contains an interesting comment: if (!address_in_range(p, pool)) { /* pymalloc is not managing this block. If nbytes <= SMALL_REQUEST_THRESHOLD, it's tempting to try to take over

[issue20064] PyObject_Malloc is not documented

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: It took a while, but PyObject_Malloc() & cie are now documented :-) I even backported and *adapted* the doc to Python 2.7 ;-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python

[issue20064] PyObject_Malloc is not documented

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset 52ba7b447f41dad2754ddbc50ed97413b557bbe1 by Victor Stinner in branch '2.7': bpo-20064: Document PyObject_Malloc() (#4204) https://github.com/python/cpython/commit/52ba7b447f41dad2754ddbc50ed97413b557bbe1 --

[issue31910] test_socket.test_create_connection() failed with EADDRNOTAVAIL (err 99)

2017-10-31 Thread STINNER Victor
New submission from STINNER Victor : On my PR 4200 which is unrelated to networking, the following test failed once. FAIL: test_create_connection (test.test_socket.NetworkConnectionNoServer) --

[issue20064] PyObject_Malloc is not documented

2017-10-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -4170 ___ Python tracker ___ ___

[issue20064] PyObject_Malloc is not documented

2017-10-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4173 ___ Python tracker ___ ___

[issue20064] PyObject_Malloc is not documented

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8543ce8ffd57d770b57fe653e0ab7fada1a4c343 by Victor Stinner (Miss Islington (bot)) in branch '3.6': bpo-20064: Document PyObject_Malloc() (GH-4199) (#4203)

[issue31880] subprocess process interaction with IDLEX GUI causes pygnuplot silent failures

2017-10-31 Thread John Brearley
John Brearley added the comment: The owner of PyGnuplot figured out that for Python 3.4+ that a flush on stdin is needed. IDLEX GUI now runs example.py and my own test code correctly. proc.stdin.flush() # send the command in python 3.4+ This leaves the interesting

[issue20064] PyObject_Malloc is not documented

2017-10-31 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4172 ___ Python tracker ___

[issue20064] PyObject_Malloc is not documented

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset ec2cbdd1dff2c51788136480b2085e77506ebf34 by Victor Stinner in branch 'master': bpo-20064: Document PyObject_Malloc() (#4199) https://github.com/python/cpython/commit/ec2cbdd1dff2c51788136480b2085e77506ebf34 --

[issue31893] Issues with kqueue

2017-10-31 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4171 ___ Python tracker ___

[issue20064] PyObject_Malloc is not documented

2017-10-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4170 ___ Python tracker ___ ___

[issue31893] Issues with kqueue

2017-10-31 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4169 ___ Python tracker ___

[issue31893] Issues with kqueue

2017-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2298fad5ff907dd48ea0fb5c71fa22334ef28c6b by Serhiy Storchaka in branch 'master': bpo-31893: Fix errors in b9052a0f91d2e83bbc27267247a5920c82b242a3. (#4196)

[issue18835] Add aligned memory variants to the suite of PyMem functions/macros

2017-10-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4168 ___ Python tracker ___ ___

[issue20064] PyObject_Malloc is not documented

2017-10-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4167 ___ Python tracker ___ ___

[issue18835] Add aligned memory variants to the suite of PyMem functions/macros

2017-10-31 Thread Stefan Krah
Stefan Krah added the comment: On Tue, Oct 31, 2017 at 02:55:04PM +, Nathaniel Smith wrote: > 3) also it's not clear what the best approach will look like, given that we > care a lot about using calloc when possible, and have reason to prefer using > regular freeing

[issue18835] Add aligned memory variants to the suite of PyMem functions/macros

2017-10-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 31/10/2017 à 15:55, Nathaniel Smith a écrit : > > 1) numpy hasn't actually come to a decision about whether to use aligned > allocation at all, or under what circumstances. This isn't the Numpy bug tracker, but I can't help but mention

[issue18835] Add aligned memory variants to the suite of PyMem functions/macros

2017-10-31 Thread Nathaniel Smith
Nathaniel Smith added the comment: > Can you elaborate why numpy wouldn't use this new API? I designed it with > numpy in mind :-) The reasons I had in mind are: 1) numpy hasn't actually come to a decision about whether to use aligned allocation at all, or under what

[issue31893] Issues with kqueue

2017-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, I forgot that Mac OS X also in the BSD family. Thank you Victor for signaling errors. -- ___ Python tracker

[issue31880] subprocess process interaction with IDLEX GUI causes pygnuplot silent failures

2017-10-31 Thread John Brearley
John Brearley added the comment: Additonal testing shows that the subprocess.run command will reliably interact directly with gnuplot, either from the IDLEX GUI or the Python terminal window. import subprocess def run_cmd(cmd): print("run_cmd cmd:", cmd) # MUST

[issue31893] Issues with kqueue

2017-10-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +4166 ___ Python tracker ___ ___

[issue31844] HTMLParser: undocumented not implemented method

2017-10-31 Thread William Ayd
William Ayd added the comment: And assuming that subclass requirement is intentional we could add an optional keyword argument to the HTMLParser that indicates what to do with errors, much like how encoding issues are handled within codecs. For backwards compatibility

[issue31893] Issues with kqueue

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: Oh, the commit also broke the "x86 Tiger 3.x buildbot: http://buildbot.python.org/all/#/builders/30/builds/93 == FAIL: test_create_event

[issue18835] Add aligned memory variants to the suite of PyMem functions/macros

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: Stefan Krah: "we care about the C11 restriction? (...) "size - number of bytes to allocate. An integral multiple of alignment" (...) posix_memalign and _aligned_malloc don't care about the multiple." I prefer to ignore this

[issue31844] HTMLParser: undocumented not implemented method

2017-10-31 Thread William Ayd
William Ayd added the comment: Would we be open to setting the meta class of the ParserBase to ABCMeta and setting error as an abstract method? That at the very least would make the expectation clearer for subclasses. I haven’t contributed to Python before but am open

[issue18835] Add aligned memory variants to the suite of PyMem functions/macros

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: Nathaniel Smith: "Given the complexities here, and that the Track/Untrack functions are public now, I do wonder if the actual aligned allocation routines should just be an internal API (i.e., not exposed in Python.h)." I don't see

[issue18835] Add aligned memory variants to the suite of PyMem functions/macros

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: Nathaniel: "(...) and numpy won't necessarily use this API anyway." Can you elaborate why numpy wouldn't use this new API? I designed it with numpy in mind :-) Using PyMem_AlignedAlloc() instead of using directly

[issue31893] Issues with kqueue

2017-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8cbf4e10646c3f5b8f0d274c2d7dea5bb6305f57 by Serhiy Storchaka in branch '2.7': [2.7] bpo-31893: Fixed select.kqueue(). (GH-4166) (#4193)

[issue31891] Make curses compiling on NetBSD 7.1 and tests passing

2017-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e0fc1af67acb5684ae780128fbdb3c5419af51db by Serhiy Storchaka in branch '2.7': [2.7] bpo-31891: Fix building the curses module on NetBSD. (GH-4165). (#4194)

[issue31901] atexit callbacks only called for current subinterpreter

2017-10-31 Thread Petr Viktorin
Petr Viktorin added the comment: I'm not sure where the concept of "main subinterpreter" comes in, with respect to this issue. I thnik the issue of atexit callbacks could be solved by something like keeping info about each callback's subinterpreter, and switching

[issue31897] Unexpected exceptions in plistlib.loads

2017-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 6969d368c43d4c97e5f7b7b22904305ec68f79ba by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': bpo-31897: Convert unexpected errors when read bogus binary plists into InvalidFileException. (GH-4171) (#4192)

[issue31626] Writing in freed memory in _PyMem_DebugRawRealloc() after shrinking a memory block

2017-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset ece5659565e083baaee4d185ce181a98aaee7f96 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': bpo-31626: Fixed a bug in debug memory allocator. (GH-3844) (#4191)

[issue31454] Include "import as" in tutorial

2017-10-31 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4165 ___ Python tracker ___

[issue31893] Issues with kqueue

2017-10-31 Thread STINNER Victor
STINNER Victor added the comment: The commit b9052a0f91d2e83bbc27267247a5920c82b242a3 broke compilation on FreeBSD: building 'select' extension cc -pthread -fPIC -Wno-unused-result -Wsign-compare -g -O0 -Wall -Wstrict-prototypes -std=c99 -Wextra -Wno-unused-result

[issue31893] Issues with kqueue

2017-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f9a639b97c760f40d03c7655053c89752850 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': bpo-31893: Fixed select.kqueue(). (GH-4166) (#4190)

[issue31891] Make curses compiling on NetBSD 7.1 and tests passing

2017-10-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +4164 ___ Python tracker ___ ___

[issue31891] Make curses compiling on NetBSD 7.1 and tests passing

2017-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5db32085e7e4d6be9a34d0a64ecf477eca224f15 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': bpo-31891: Fix building the curses module on NetBSD. (GH-4165) (#4189)

[issue31893] Issues with kqueue

2017-10-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +4163 ___ Python tracker ___ ___

[issue31897] Unexpected exceptions in plistlib.loads

2017-10-31 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4162 ___ Python tracker ___

[issue31626] Writing in freed memory in _PyMem_DebugRawRealloc() after shrinking a memory block

2017-10-31 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4161 ___ Python tracker ___

[issue31897] Unexpected exceptions in plistlib.loads

2017-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset db91e0fe2417f075693a194a492b1699829871e7 by Serhiy Storchaka in branch 'master': bpo-31897: Convert unexpected errors when read bogus binary plists into InvalidFileException. (#4171)

[issue31626] Writing in freed memory in _PyMem_DebugRawRealloc() after shrinking a memory block

2017-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b484d5606ca76f9bbd0f5de7a6ef753400213e94 by Serhiy Storchaka in branch 'master': bpo-31626: Fixed a bug in debug memory allocator. (#3844)

[issue31893] Issues with kqueue

2017-10-31 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4160 ___ Python tracker ___

[issue31893] Issues with kqueue

2017-10-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b9052a0f91d2e83bbc27267247a5920c82b242a3 by Serhiy Storchaka in branch 'master': bpo-31893: Fixed select.kqueue(). (#4166) https://github.com/python/cpython/commit/b9052a0f91d2e83bbc27267247a5920c82b242a3

  1   2   >