[issue27141] Fix collections.UserList shallow copy

2017-10-24 Thread Bar Harel
Bar Harel added the comment: Alrighty then, opt1 passed all tests and waiting on GitHub for inclusion :-) -- ___ Python tracker ___

[issue31667] Wrong links in the gettext.NullTranslations class

2017-10-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +4070 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue31834] BLAKE2: the (pure) SSE2 impl forced on x86_64 is slower than reference

2017-10-24 Thread Christian Heimes
Christian Heimes added the comment: I'm pretty sure that your PR has disabled all SSE optimizations. AFAIK gcc does not enable SSE3 and SSE4 on X86_64 by default. $ gcc -dM -E - < /dev/null | grep SSE #define __SSE2_MATH__ 1 #define __SSE_MATH__ 1 #define __SSE2__ 1 #define __SSE__ 1 You have

[issue21720] "TypeError: Item in ``from list'' not a string" message

2017-10-24 Thread Ben Finney
Ben Finney added the comment: On 23-Oct-2017, Serhiy Storchaka wrote: > Is it all with this issue? I accept Nick's reasoning: > As a general principle, we don't give value information in type > errors, since the error is structural rather than value based. as sufficient to reject my requested

[issue31667] Wrong links in the gettext.NullTranslations class

2017-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset ef346a2473376c888ff160db9623eaa9871db2ac by Serhiy Storchaka in branch '2.7': [2.7] bpo-31667: Fix gettext related links. (GH-3860) (#4100) https://github.com/python/cpython/commit/ef346a2473376c888ff160db9623eaa9871db2ac --

[issue31667] Wrong links in the gettext.NullTranslations class

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

[issue21720] "TypeError: Item in ``from list'' not a string" message

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

[issue31834] BLAKE2: the (pure) SSE2 impl forced on x86_64 is slower than reference

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: > AFAIK gcc does not enable SSE3 and SSE4 on X86_64 by default. Linux now supports multiple variants of the same function, one variant per CPU type, the binding is done when a library is loaded. But I don't know how to implement that :-( There is target_clon

[issue31810] Travis CI, buildbots: run "make smelly" to check if CPython leaks symbols

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 87d332dcdbffe8ff60d99f74b1ad241c0967b055 by Victor Stinner in branch 'master': bpo-31810: Add smelly.py to check exported symbols (#4057) https://github.com/python/cpython/commit/87d332dcdbffe8ff60d99f74b1ad241c0967b055 --

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2017-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: What do we do if at some point a C type requires a larger alignment (for example a vector type readable using AVX512 instructions)? -- nosy: +pitrou ___ Python tracker _

[issue14465] xml.etree.ElementTree: add feature to prettify XML output

2017-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: My thoughts: 1. Whitespaces are significant in XML. Pretty-printed XML is different from the original XML to an XML parser. For some applications some whitespaces around tags are not significant. But this depends on the application and in different parts o

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: > ubsan complains about unaligned access when structs include "long double". An > example error: > runtime error: member access within misaligned address 0x7f77dbba9798 for > type 'struct CDataObject', which requires 16 byte alignment Can we use memcpy() to p

[issue31106] os.posix_fallocate() generate exception with errno 0

2017-10-24 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +4071 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue31827] Remove os.stat_float_times()

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 01b5aab7bfb11ee5476ef52d24495598cbe7c99a by Victor Stinner in branch 'master': bpo-31827: Remove os.stat_float_times() (GH-4061) https://github.com/python/cpython/commit/01b5aab7bfb11ee5476ef52d24495598cbe7c99a -- _

[issue31106] os.posix_fallocate() generate exception with errno 0

2017-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Марк, do you mind to add a NEWS entry? -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue31773] Rewrite _PyTime_GetWinPerfCounter() for _PyTime_t

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: Buildbots seem to be happy, I close the issue. See my new PEP 564 for the next chapiter of this story ;-) -- resolution: -> fixed status: open -> closed ___ Python tracker

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

2017-10-24 Thread Stefan Krah
Stefan Krah added the comment: [me] > This weakens my use case somewhat [...] I looked at Victor's patch, and thanks to the alignment <= ALIGNMENT optimization it seems that always using the aligned_alloc() and aligned_free() versions for a specific pointer is fast. Nice! So I retract the weak

[issue31731] [2.7] test_io hangs on x86 Gentoo Refleaks 2.7

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: test_io was blocked a second time: http://buildbot.python.org/all/#/builders/78/builds/3 running: test_io (68517 sec) running: test_io (68547 sec) running: test_io (68577 sec) command interrupted, attempting to kill process killed by signal 9 program finished

[issue31810] Travis CI, buildbots: run "make smelly" to check if CPython leaks symbols

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: "make smelly" is now run on Travis CI. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue31827] Remove os.stat_float_times()

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: Copy of my comment on the PR: "So, I tried to remove the backward compatibility layer: I modified stat_result[ST_MTIME] to return float rather than int. Problem: it broke test_logging, the code deciding if a log file should be rotated or not. While I'm not s

[issue31827] Remove os.stat_float_times()

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: os.stat_float_times() has been removed, I close the issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue31812] Document PEP 545 (documentation translation) in What's New in Python 3.7

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 809d173c2005ed76f5b6cb178a0cce3f88121883 by Victor Stinner (Julien Palard) in branch 'master': bpo-31812: Add documentation translations to What's New in Python 3.7. (GH-4064) https://github.com/python/cpython/commit/809d173c2005ed76f5b6cb178a0cc

[issue23699] Add a macro to ease writing rich comparisons

2017-10-24 Thread Petr Viktorin
Petr Viktorin added the comment: Both tp_richcompare and PyObject_RichCompareBool have op as the last argument: https://docs.python.org/3/c-api/object.html#c.PyObject_RichCompareBool https://docs.python.org/3/c-api/typeobj.html?highlight=tp_richcompare#c.PyTypeObject.tp_richcompare --

[issue31803] time.clock() should emit a DeprecationWarning

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: Marc-Andre Lemburg: "Thanks for pointing that out. I didn't know." Do you still think that we need to modify time.clock() rather than deprecating it? -- ___ Python tracker

[issue31674] Buildbots: random "Failed to connect to github.com port 443: Connection timed out" errors

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the failure recently, I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue31812] Document PEP 545 (documentation translation) in What's New in Python 3.7

2017-10-24 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue31430] [Windows][2.7] Python 2.7 compilation fails on mt.exe crashing with error code C0000005

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: Any update on this bug? The "AMD64 Windows10 2.7" buildbot is still broken: http://buildbot.python.org/all/#/builders/96 -- ___ Python tracker __

[issue31227] regrtest: reseed random with the same seed before running a test file

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: I didn't get a strong +1 on the issue and I'm not convinced myself by my approach. Moreover, Refleaks buildbots now seem to be reliable thanks to other fixes. For all these reasons, I close the issue. -- ___ Python

[issue31227] regrtest: reseed random with the same seed before running a test file

2017-10-24 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-b

[issue31174] test_tools leaks randomly references on x86 Gentoo Refleaks 3.6 and 3.x

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: "test_tools leaked (...)" still occurs randomly on 3.6 and 3.x Gentoo buildbot. -- ___ Python tracker ___

[issue31174] test_tools leaks randomly references on x86 Gentoo Refleaks 3.6 and 3.x

2017-10-24 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +4072 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue31174] test_tools leaks randomly references on x86 Gentoo Refleaks 3.6 and 3.x

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: My previous attempt, PR 3059, was a a very generic fix, but my bpo-31227 idea was rejected. I proposed a new idea, PR 4102, which is restricted to this specific issue: "test_unparse.DirectoryTestCase now stores the names sample to always test the same files. I

[issue28281] Remove year limits from calendar

2017-10-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hello Mark, Would you be able to prepare a pull request on GitHub for your patch? Thanks! -- nosy: +csabella ___ Python tracker ___ ___

[issue30768] PyThread_acquire_lock_timed() should recompute the timeout when interrupted by a signal

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: interrupted_lock.py: test threading.Lock.acquire(timeout=1.0) with SIGALRM sent every 1 ms (so up to 1000 times in total). Example: haypo@selma$ ./python interrupted_lock.py acquire(timeout=1.0) took 1.0 seconds and got 1000 signals Oh, in fact, threading.Lo

[issue30768] PyThread_acquire_lock_timed() should recompute the timeout when interrupted by a signal

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: Ah, I found another caller of PyThread_acquire_lock_timed() with a timeout > 0 and intr_flag=0: _enter_buffered_busy() of Modules/_io/bufferedio.c: /* When finalizing, we don't want a deadlock to happen with daemon * threads abruptly shut down

[issue30768] PyThread_acquire_lock_timed() should recompute the timeout when interrupted by a signal

2017-10-24 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +4073 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue27645] Supporting native backup facility of SQLite

2017-10-24 Thread Lele Gaifax
Lele Gaifax added the comment: Reasonable and quite simple to implement: done in commit https://github.com/lelit/cpython/commit/960303f9eb394e2ba91d10e5e674997a48811ac2 -- ___ Python tracker

[issue30768] PyThread_acquire_lock_timed() should recompute the timeout when interrupted by a signal

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 4103 to fix the pthread+semaphore implementation of PyThread_acquire_lock_timed(). Apply PR 4103, apply attached test.patch, recompile Python, and run interrupted_lock.py to test the PR. Result: haypo@selma$ ./python interrupted_lock.py acquire(t

[issue30768] PyThread_acquire_lock_timed() should recompute the timeout when interrupted by a signal

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: To check if you are using pthread+semaphore, use: haypo@selma$ ./python -c 'import sys; print(sys.thread_info)' sys.thread_info(name='pthread', lock='semaphore', version='NPTL 2.25') Here you have pthread+semaphore. It's Fedora 26 running Linux kernel 4.13. -

[issue31174] test_tools leaks randomly references on x86 Gentoo Refleaks 3.6 and 3.x

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8e482bea21cb942804234e36d3c6c896aabd32da by Victor Stinner in branch 'master': bpo-31174: Fix test_tools.test_unparse (#4102) https://github.com/python/cpython/commit/8e482bea21cb942804234e36d3c6c896aabd32da --

[issue31174] test_tools leaks randomly references on x86 Gentoo Refleaks 3.6 and 3.x

2017-10-24 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4074 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue31174] test_tools leaks randomly references on x86 Gentoo Refleaks 3.6 and 3.x

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: Python 2.7 is not affected. Even if Python 2.7 has Demo/parser/test_unparse.py, this test is not part of the Python test suite, and it doesn't use random.sample(names, 10). -- ___ Python tracker

[issue31845] PYTHONDONTWRITEBYTECODE and PYTHONOPTIMIZE have no effect

2017-10-24 Thread Nick Coghlan
Nick Coghlan added the comment: Huh, it appears the tests for these features are relying solely on the command line options, and not checking that the environment variables are also setting the flags properly. We should be able to account for that omission with a single new test in `test_cmd_

[issue31174] test_tools leaks randomly references on x86 Gentoo Refleaks 3.6 and 3.x

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset d8f78a1fbc0a34224289d436ad67f608fa553f0c by Victor Stinner (Miss Islington (bot)) in branch '3.6': bpo-31174: Fix test_tools.test_unparse (GH-4102) (#4104) https://github.com/python/cpython/commit/d8f78a1fbc0a34224289d436ad67f608fa553f0c --

[issue31174] test_tools leaks randomly references on x86 Gentoo Refleaks 3.6 and 3.x

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: The bug should now be fixed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue31845] PYTHONDONTWRITEBYTECODE and PYTHONOPTIMIZE have no effect

2017-10-24 Thread Nick Coghlan
Change by Nick Coghlan : -- assignee: -> ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31845] PYTHONDONTWRITEBYTECODE and PYTHONOPTIMIZE have no effect

2017-10-24 Thread Nick Coghlan
Change by Nick Coghlan : -- keywords: +patch pull_requests: +4075 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue31859] sharedctypes.RawArray initialization

2017-10-24 Thread Tim
New submission from Tim : In the initialization of a new `RawArray` the `size_or_initializer` parameter is tested for being an instance of `int`. When passing something like numpy.int64 here, the code crashes, because it does not recognize this as an integer. The workaround is to cast to int()

[issue30639] inspect.getfile(obj) calls object repr on failure

2017-10-24 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset e968bc735794a7123f28f26d68fdf5dc8c845280 by Yury Selivanov (Thomas Kluyver) in branch 'master': bpo-30639: Lazily compute repr for error (#2132) https://github.com/python/cpython/commit/e968bc735794a7123f28f26d68fdf5dc8c845280 -- nosy:

[issue20180] Derby #11: Convert 50 sites to Argument Clinic across 9 files

2017-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Seems Raymond have changed his mind about using Argument Clinic in itertools (msg302908). Tal, do you mind to update your itertools patch and create a pull request? -- ___ Python tracker

[issue30639] inspect.getfile(obj) calls object repr on failure

2017-10-24 Thread Yury Selivanov
Yury Selivanov added the comment: Thank you, Thomas. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2017-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Tail, do you mind to update your patches and create pull requests? -- ___ Python tracker ___ ___

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2017-10-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- Removed message: https://bugs.python.org/msg304906 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2017-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Tal, do you mind to update your patches and create pull requests? -- ___ Python tracker ___ ___

[issue31585] Refactor the enumerate.__next__ implementation

2017-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Added a patch for history. -- Added file: https://bugs.python.org/file47235/enum_next.diff ___ Python tracker ___ __

[issue31860] IDLE: Make font sample editable

2017-10-24 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The proposed patch makes the font sample in IDLE font configuration dialog editable. This allows users to test fonts with arbitrary samples. -- assignee: terry.reedy components: IDLE messages: 304909 nosy: serhiy.storchaka, terry.reedy priority: no

[issue31860] IDLE: Make font sample editable

2017-10-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +4076 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue31861] aiter() and anext() built-in functions

2017-10-24 Thread Davide Rizzo
New submission from Davide Rizzo : PEP 525 suggested that adding aiter() and anext() would need to wait until async __aiter__ is dropped in 3.7. Issue 31709 solved that, so now it would be possible to add them. -- components: Library (Lib) messages: 304910 nosy: davide.rizzo priority:

[issue30817] Abort in PyErr_PrintEx() when no memory

2017-10-24 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +4077 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31430] [Windows][2.7] Python 2.7 compilation fails on mt.exe crashing with error code C0000005

2017-10-24 Thread Zachary Ware
Change by Zachary Ware : -- nosy: +db3l ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue31834] BLAKE2: the (pure) SSE2 impl forced on x86_64 is slower than reference

2017-10-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Tue, Oct 24, 2017, at 00:25, Christian Heimes wrote: > > Christian Heimes added the comment: > > I'm pretty sure that your PR has disabled all SSE optimizations. AFAIK > gcc does not enable SSE3 and SSE4 on X86_64 by default. > > $ gcc -dM -E - < /dev/

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2017-10-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: My suggestion would be to pass alignof(type) into the allocator via macro. Then the allocator could at least assert it's providing good enough alignment if not provide the correct alignment. I believe 16-byte alignment is special because it's glibc's mallo

[issue30817] Abort in PyErr_PrintEx() when no memory

2017-10-24 Thread Xavier de Gaye
Xavier de Gaye added the comment: New changeset d5d79545b73110b2f4c2b66d150409514e2ca8e0 by xdegaye in branch '3.6': [3.6] bpo-30817: Fix PyErr_PrintEx() when no memory (GH-2526). (#4107) https://github.com/python/cpython/commit/d5d79545b73110b2f4c2b66d150409514e2ca8e0 -- __

[issue30817] Abort in PyErr_PrintEx() when no memory

2017-10-24 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue31862] Port the standard library to PEP 489 multiphase initialization

2017-10-24 Thread Marcel Plch
New submission from Marcel Plch : PEP 489 introduced multiphase initialization of extension and built-in modules. Now, almost no module in the standard library supports this feature. This should be improved to prepare Python for better testing of subinterpreters. Many benefits of PEP 489 don't

[issue28936] test_global_err_then_warn in test_syntax is no longer valid

2017-10-24 Thread Guido van Rossum
Guido van Rossum added the comment: I think this is very minor but if you two can agree that the code is right I think it's a nice little improvement, and I like that that particular test's usefulness is restored. PS. Long-term we should really build error recovery into our antiquated parser

[issue31862] Port the standard library to PEP 489 multiphase initialization

2017-10-24 Thread Petr Viktorin
Petr Viktorin added the comment: FWIW, Marcel is an intern in my team, tasked to learn CPython internals by trying to improve subinterpreter support. If I don't comment on his issues it's because we discussed privately beforehand. -- ___ Python tra

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2017-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: > My suggestion would be to pass alignof(type) into the allocator via macro. Do you mean using some new PyMem_ function? Or as as new tp_ field on the type declaration? -- ___ Python tracker

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2017-10-24 Thread Antoine Pitrou
Change by Antoine Pitrou : -- versions: -Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___ ___ Pytho

[issue31862] Port the standard library to PEP 489 multiphase initialization

2017-10-24 Thread Marcel Plch
Change by Marcel Plch : -- keywords: +patch pull_requests: +4078 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: What matters when a Python object is allocated? The start of the PyObject structure, or the start of the PyGC_Head structure? Would it be possible to align the PyObject start? The simplest option is to store data which needs to be aligned in a second memory

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2017-10-24 Thread STINNER Victor
STINNER Victor added the comment: Change by Antoine Pitrou: "versions: -Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6" The undefined behaviour exists and should be fixed in Python 2.7 and 3.6, no? Can we use memcpy()? -- ___ Python t

[issue31863] Inconsistent returncode/exitcode for terminated child processes on Windows

2017-10-24 Thread Akos Kiss
New submission from Akos Kiss : I've been working with various approaches for running and terminating subprocesses on Windows and I've obtained surprisingly different results if I used different modules and ways of termination. Here is the script I wrote, it uses the `subprocess` and the `mult

[issue31299] Add "ignore_modules" option to TracebackException.format()

2017-10-24 Thread Dmitry Kazakov
Dmitry Kazakov added the comment: Ping. (this issue needs a decision on ignore_modules vs filter callback, and/or patch review) -- ___ Python tracker ___ _

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2017-10-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Can we use memcpy()? Hmm, perhaps. Do you want to try it out (and measure any performance degradation)? -- ___ Python tracker ___ ___

[issue31861] aiter() and anext() built-in functions

2017-10-24 Thread Davide Rizzo
Change by Davide Rizzo : -- nosy: +gvanrossum, yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue31861] aiter() and anext() built-in functions

2017-10-24 Thread Yury Selivanov
Yury Selivanov added the comment: Guido, do we need a PEP to add aiter() and anext() builtins? -- ___ Python tracker ___ ___ Python-

[issue31861] aiter() and anext() built-in functions

2017-10-24 Thread Guido van Rossum
Guido van Rossum added the comment: > do we need a PEP to add aiter() and anext() builtins? No, just this tracker issue, a PR and a reviewer. (Sorry, I can't review CPython code myself any more.) -- ___ Python tracker

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2017-10-24 Thread Stefan Krah
Stefan Krah added the comment: Since we have "#define PYMEM_FUNCS PYOBJ_FUNCS", I think extensions that use PyMem_Malloc() also won't get the glibc max_align_t alignment. But guess technically they should. -- nosy: +skrah ___ Python tracker

[issue31861] aiter() and anext() built-in functions

2017-10-24 Thread Yury Selivanov
Yury Selivanov added the comment: > No, just this tracker issue, a PR and a reviewer. (Sorry, I can't review CPython code myself any more.) Alright, I'll work on a PR after PEP 55x. -- ___ Python tracker ___

[issue31664] Add support of new crypt methods

2017-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset eab3ff72ebe79416cc032b8508ae13332955a157 by Serhiy Storchaka in branch 'master': bpo-31664: Add support for the Blowfish method in crypt. (#3854) https://github.com/python/cpython/commit/eab3ff72ebe79416cc032b8508ae13332955a157 -- __

[issue31664] Add support of new crypt methods

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

[issue14518] Add bcrypt $2a$ to crypt.py

2017-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The support of the Blowfish hashing (prefix '$2a$') has been added in issue31664. -- nosy: +serhiy.storchaka resolution: -> out of date stage: needs patch -> resolved status: pending -> closed superseder: -> Add support of new crypt methods __

[issue25287] test_crypt fails on OpenBSD

2017-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: issue31664 fixes test_crypt in 3.7. In other versions the test should be just skipped on OpenBSD. Blowfish is the only method supported on OpenBSD, but it was not supported by the Python's crypt module. -- ___ Py

[issue28292] Make Calendar.itermonthdates() behave consistently in edge cases

2017-10-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: New changeset fdd9b217c60b454ac6a82f02c8b0b551caeac88b by Alexander Belopolsky in branch 'master': Closes bpo-28292: Implemented Calendar.itermonthdays3() and itermonthdays4(). (#4079) https://github.com/python/cpython/commit/fdd9b217c60b454ac6a82f02c8b

[issue20180] Derby #11: Convert 50 sites to Argument Clinic across 9 files

2017-10-24 Thread Tal Einat
Tal Einat added the comment: Id be happy to update the itertools patch. I haven't been following AC work for quite a while. I would expect this to entail: 1. applying the patch to the master branch 2. merging any conflicts 3. running the clinic.py script again 4. review the output and compare

[issue28281] Remove year limits from calendar

2017-10-24 Thread Alexander Belopolsky
Change by Alexander Belopolsky : -- pull_requests: +4079 stage: commit review -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue20182] Derby #13: Convert 50 sites to Argument Clinic across 5 files

2017-10-24 Thread Tal Einat
Tal Einat added the comment: I'd be happy to update the patches. I asked for a bit of clarification on what this entails in msg304931 on issue #20180, once that's clear I'll do the same for these patches and create PRs. -- ___ Python tracker

[issue28281] Remove year limits from calendar

2017-10-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I submitted Mark's patch unchanged as PR 4109. If we don't hear from Mark, I will address my own comments and merge. -- ___ Python tracker ___

[issue31702] Allow to specify the number of rounds for SHA-* hashing in crypt

2017-10-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +4080 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue9305] Don't use east/west of UTC in date/time documentation

2017-10-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: Would one of the original authors of the patches like to create a GitHub pull request for this issue? -- nosy: +csabella ___ Python tracker __

[issue20180] Derby #11: Convert 50 sites to Argument Clinic across 9 files

2017-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: All correct. The final patch should be in the form of GitHub PR. Don't specify the self parameter explicitly, just rename the corresponding variable. The rest of the patch LGTM. -- ___ Python tracker

[issue20180] Derby #11: Convert 50 sites to Argument Clinic across 9 files

2017-10-24 Thread Tal Einat
Tal Einat added the comment: What about islice? Does AC now support complex enough signatures to support it? If not, should I leave the comment as is? -- ___ Python tracker __

[issue25287] test_crypt fails on OpenBSD

2017-10-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +4081 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue20180] Derby #11: Convert 50 sites to Argument Clinic across 9 files

2017-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Keep islice() non-converted. For the r parameter of permutations() use "r: object = None". -- ___ Python tracker ___ __

[issue25287] test_crypt fails on OpenBSD

2017-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f52dff611cff2fb9e90340b4787eda50ab2d40c6 by Serhiy Storchaka in branch '3.6': bpo-25287: Backport new tests for crypt and skip test_crypt on OpenBSD. (#4111) https://github.com/python/cpython/commit/f52dff611cff2fb9e90340b4787eda50ab2d40c6 --

[issue25287] test_crypt fails on OpenBSD

2017-10-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +4082 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue31690] Make RE "a", "L" and "u" inline flags local

2017-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 3557b05c5a7dfd7d97ddfd3b79aefd53d25e5132 by Serhiy Storchaka in branch 'master': bpo-31690: Allow the inline flags "a", "L", and "u" to be used as group flags for RE. (#3885) https://github.com/python/cpython/commit/3557b05c5a7dfd7d97ddfd3b79a

[issue31690] Make RE "a", "L" and "u" inline flags local

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

[issue25287] test_crypt fails on OpenBSD

2017-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 04c0a4038e8764f742de8505600b8ee97ee50776 by Serhiy Storchaka in branch '2.7': [2.7] bpo-25287: Backport new tests for crypt and skip test_crypt on OpenBSD. (GH-4111). (#4112) https://github.com/python/cpython/commit/04c0a4038e8764f742de8505600

  1   2   >