[issue33528] os.getentropy support

2018-05-16 Thread David Carlier
David Carlier <dcarl...@afilias.info> added the comment: These are valid point. In fact it was just to have direct access to the function like os.getrandom accesses directly the Linux syscall. But if there is no enough valid reason I can drop t

[issue33528] os.getentropy support

2018-05-16 Thread David Carlier
David Carlier <dcarl...@afilias.info> added the comment: To have same usage as I would use getentropy under OpenBSD (e.g. 256 bytes max at a time) really as a wrapper. -- ___ Python tracker <rep...@bugs.python.org> <https://

[issue33528] os.getentropy support

2018-05-18 Thread David Carlier
David Carlier <dcarl...@afilias.info> added the comment: Those are valid points honestly. OpenBSD's getentropy works that way indeed (getentropy has also been implemented into FreeBSD in the CURRENT branch couple of months ago). So indeed os.urandom provides already a wrapping usag

[issue33528] os.getentropy support

2018-05-20 Thread David Carlier
Change by David Carlier <dcarl...@afilias.info>: -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker <rep...@bugs.python.org> <https://bu

[issue33528] os.getentropy support

2018-05-15 Thread David Carlier
Change by David Carlier <dcarl...@afilias.info>: -- components: Library (Lib) nosy: David Carlier priority: normal pull_requests: 6558 severity: normal status: open title: os.getentropy support versions: Python 3.8 ___ Python tracke

[issue33772] Fix few dead code paths

2018-06-05 Thread David Carlier
Change by David Carlier : -- components: Interpreter Core nosy: David Carlier priority: normal pull_requests: 7042 severity: normal status: open title: Fix few dead code paths versions: Python 3.8 ___ Python tracker <https://bugs.python.

[issue33164] Blake 2 module update

2018-06-05 Thread David Carlier
Change by David Carlier : -- keywords: +patch pull_requests: +7043 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33164> ___ ___ Py

[issue32493] UUID Module - FreeBSD build failure

2018-01-04 Thread David Carlier
New submission from David Carlier <dcarl...@afilias.info>: UUID module build fails on FreeBSD since it supports uuid_create function. -- components: FreeBSD messages: 309479 nosy: David Carlier, koobs priority: normal pull_requests: 4970 severity: normal status: open title: UUID

[issue32493] UUID Module - FreeBSD build failure

2018-01-09 Thread David Carlier
David Carlier <dcarl...@afilias.info> added the comment: I guessed that :-) I trusted it worked just fine for you. To be honest I know nearly nothing about AIX specificities :-) -- ___ Python tracker <rep...@bugs.python.org> <https://

[issue32493] UUID Module - FreeBSD build failure

2018-01-08 Thread David Carlier
David Carlier <dcarl...@afilias.info> added the comment: Perfect. That solves in the process OpenBSD uuid module build too. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32493] UUID Module - FreeBSD build failure

2018-01-17 Thread David CARLIER
David CARLIER <devne...@gmail.com> added the comment: Gives same outcome but maybe someone else can confir, -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32493] UUID Module - FreeBSD build failure

2018-01-17 Thread David CARLIER
David CARLIER <devne...@gmail.com> added the comment: uuid_create only I think. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32569] Blake2 module, memory clearance update

2018-01-16 Thread David Carlier
David Carlier <dcarl...@afilias.info> added the comment: Since the PR had been closed. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker <rep...@bugs.python.org> <https://bu

[issue32569] Blake2 module, memory clearance update

2018-01-16 Thread David Carlier
New submission from David Carlier <dcarl...@afilias.info>: Might brings a bit of "controversy" but some oses have already unoptimizable memset like functions from their libc was thinking to just use them instead. -- ___ Pyt

[issue32569] Blake2 module, memory clearance update

2018-01-16 Thread David Carlier
Change by David Carlier <dcarl...@afilias.info>: -- components: Library (Lib) nosy: David Carlier priority: normal pull_requests: 5056 severity: normal status: open title: Blake2 module, memory clearance update type: enhancement versions: Pyth

[issue32569] Blake2 module, memory clearance update

2018-01-16 Thread David Carlier
David Carlier <dcarl...@afilias.info> added the comment: No worries If I saw first it was an extra project I would not have try to submit in Cpython. Apologies. I ll see what I can do in blake2 side :-) -- ___ Python tracker <rep...@bugs.p

[issue32493] UUID Module - FreeBSD build failure

2018-01-17 Thread David CARLIER
David CARLIER <devne...@gmail.com> added the comment: Might comes from uuid1 function itself ... e.g. line 704 not setting version "field". -- nosy: +David CARLIER2 ___ Python tracker <rep...@bugs.python.org> <https://b

[issue32493] UUID Module - FreeBSD build failure

2018-02-03 Thread David CARLIER
David CARLIER <devne...@gmail.com> added the comment: Probably. Seems workable under Apple otherwise. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32579] UUID module fix, uuid1 python module function

2018-01-17 Thread David CARLIER
New submission from David CARLIER <devne...@gmail.com>: Spotted to UUID unit tests https://bugs.python.org/issue32493 -- components: Library (Lib) messages: 310154 nosy: David CARLIER2 priority: normal pull_requests: 5068 severity: normal status: open title: UUID module fix,

[issue32493] UUID Module - FreeBSD build failure

2018-01-23 Thread David CARLIER
David CARLIER <devne...@gmail.com> added the comment: In OpenBSD it s even "worse", the version for each call is random (not a surprise when looking at the source). The question is, do we go back to support only AIX or do we accept someh

[issue32569] Blake2 module, memory clearance update

2018-03-27 Thread David CARLIER
David CARLIER <devne...@gmail.com> added the comment: Little update it has been accepted and merged today : https://github.com/BLAKE2/libb2/commit/620681a3b15c4d7239b9323b9da5ea208a959d3d -- nosy: +David CARLIER2 ___ Python tracke

[issue33164] Blake 2 module update

2018-03-28 Thread David Carlier
Change by David Carlier <dcarl...@afilias.info>: -- components: Extension Modules nosy: David Carlier priority: normal pull_requests: 6013 severity: normal status: open title: Blake 2 module update versions: Python 3.8 ___ Python tracke

[issue37160] thread native id netbsd support

2019-06-05 Thread David Carlier
Change by David Carlier : -- components: Interpreter Core nosy: David Carlier priority: normal pull_requests: 13714 severity: normal status: open title: thread native id netbsd support versions: Python 3.9 ___ Python tracker <ht

[issue37087] Adding native id support for openbsd

2019-05-29 Thread David Carlier
New submission from David Carlier : Following up on bpo-36084 -- messages: 343896 nosy: David Carlier priority: normal pull_requests: 13549 severity: normal status: open title: Adding native id support for openbsd versions: Python 3.8 ___ Python

[issue36084] Threading: add builtin TID attribute to Thread objects

2019-05-29 Thread David Carlier
Change by David Carlier : -- pull_requests: +13548 pull_request: https://github.com/python/cpython/pull/13654 ___ Python tracker <https://bugs.python.org/issue36

[issue33164] Blake 2 module update

2019-05-28 Thread David Carlier
Change by David Carlier : -- pull_requests: +13533 pull_request: https://github.com/python/cpython/pull/13633 ___ Python tracker <https://bugs.python.org/issue33

[issue37291] AST - code cleanup

2019-06-15 Thread David Carlier
New submission from David Carlier : Removing little dead code part. -- messages: 345674 nosy: David Carlier priority: normal pull_requests: 13959 severity: normal status: open title: AST - code cleanup versions: Python 3.9 ___ Python tracker <ht

[issue37511] mmap module add OpenBSD MADV_CONCEAL flag

2019-07-05 Thread David Carlier
Change by David Carlier : -- nosy: David Carlier priority: normal pull_requests: 14424 severity: normal status: open title: mmap module add OpenBSD MADV_CONCEAL flag versions: Python 3.9 ___ Python tracker <https://bugs.python.org/issue37

[issue37471] mmap module, adding new constant

2019-07-01 Thread David CARLIER
Change by David CARLIER : -- components: Extension Modules, FreeBSD nosy: devnexen, koobs priority: normal pull_requests: 14329 severity: normal status: open title: mmap module, adding new constant versions: Python 3.9 ___ Python tracker <ht

[issue37471] mmap module: add MAP_ALIGNED_SUPER FreeBSD and MAP_CONCEAL OpenBSD constants

2019-07-08 Thread David CARLIER
Change by David CARLIER : -- title: mmap module: add MAP_ALIGNED_SUPER FreeBSD constant -> mmap module: add MAP_ALIGNED_SUPER FreeBSD and MAP_CONCEAL OpenBSD constants ___ Python tracker <https://bugs.python.org/issu

[issue37737] mmap module track anonymous page on macOS

2019-08-01 Thread David CARLIER
Change by David CARLIER : -- components: macOS nosy: devnexen, ned.deily, ronaldoussoren priority: normal pull_requests: 14815 severity: normal status: open title: mmap module track anonymous page on macOS versions: Python 3.9 ___ Python tracker

[issue24464] Got warning when compiling sqlite3 module on Mac OS X

2019-09-29 Thread David CARLIER
Change by David CARLIER : -- pull_requests: +16055 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16469 ___ Python tracker <https://bugs.python.org/issu

[issue38311] macOS sqlite 3 module build fix

2019-09-28 Thread David CARLIER
Change by David CARLIER : -- components: Build nosy: devnexen priority: normal pull_requests: 16052 severity: normal status: open title: macOS sqlite 3 module build fix type: compile error versions: Python 3.9 ___ Python tracker <ht

[issue38960] DTrace FreeBSD build fix

2019-12-03 Thread David Carlier
Change by David Carlier : -- components: FreeBSD nosy: David Carlier, koobs priority: normal severity: normal status: open title: DTrace FreeBSD build fix versions: Python 3.9 ___ Python tracker <https://bugs.python.org/issue38

[issue38960] DTrace FreeBSD build fix

2019-12-03 Thread David Carlier
Change by David Carlier : -- keywords: +patch pull_requests: +16932 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17451 ___ Python tracker <https://bugs.python.org/issu

[issue39761] Python 3.9.0a4 fails to build when configured with --with-dtrace

2020-02-26 Thread David Carlier
David Carlier added the comment: If it works for you, it might mean making a specific case for Linux systems in configure.ac as a proper fix. -- ___ Python tracker <https://bugs.python.org/issue39

[issue39761] Python 3.9.0a4 fails to build when configured with --with-dtrace

2020-02-26 Thread David CARLIER
Change by David CARLIER : -- keywords: +patch nosy: +devnexen nosy_count: 4.0 -> 5.0 pull_requests: +18029 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18672 ___ Python tracker <https://bugs.python.org/i

[issue39761] Python 3.9.0a4 fails to build when configured with --with-dtrace

2020-02-26 Thread David Carlier
David Carlier added the comment: What about DFFLAGS=" " ? -- ___ Python tracker <https://bugs.python.org/issue39761> ___ ___ Python-bugs-list mailing

[issue39761] Python 3.9.0a4 fails to build when configured with --with-dtrace

2020-02-26 Thread David Carlier
David Carlier added the comment: ah sorry I meant DFLAGS=" " (with a space). -- ___ Python tracker <https://bugs.python.org/issue39761> ___ ___

[issue39761] Python 3.9.0a4 fails to build when configured with --with-dtrace

2020-02-26 Thread David Carlier
David Carlier added the comment: Weird I just tried on ubuntu/systemtap... -- ___ Python tracker <https://bugs.python.org/issue39761> ___ ___ Python-bugs-list m

[issue39761] Python 3.9.0a4 fails to build when configured with --with-dtrace

2020-02-26 Thread David Carlier
David Carlier added the comment: Sorry for the inconveniences. I can reproduce on FreeBSD too if I do not set the DFLAGS env var (because FreeBSD needs architecture bits in addition). What happens when make distclean && export DFLAGS="" &&

[issue39582] ossaudiodev update helpers signature

2020-02-08 Thread David CARLIER
Change by David CARLIER : -- nosy: devnexen priority: normal pull_requests: 17786 severity: normal status: open title: ossaudiodev update helpers signature versions: Python 3.9 ___ Python tracker <https://bugs.python.org/issue39

[issue42047] DragonFlyBSD thread native id support missing

2020-10-15 Thread David CARLIER
Change by David CARLIER : -- keywords: +patch pull_requests: +21681 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22714 ___ Python tracker <https://bugs.python.org/issu

[issue42047] DragonFlyBSD thread native id support missing

2020-10-15 Thread David CARLIER
Change by David CARLIER : -- components: Extension Modules nosy: devnexen priority: normal severity: normal status: open title: DragonFlyBSD thread native id support missing type: enhancement versions: Python 3.10 ___ Python tracker <ht

[issue41067] Haiku build fix - posix module

2020-06-21 Thread David CARLIER
Change by David CARLIER : -- components: Extension Modules nosy: devnexen priority: normal pull_requests: 20203 severity: normal status: open title: Haiku build fix - posix module type: compile error versions: Python 3.10 ___ Python tracker <ht

[issue40900] uuid module build fix on FreeBSD proposal

2020-06-07 Thread David CARLIER
David CARLIER added the comment: This s about header picked up in a certain order. In case of FreeBSD, the uui_create case is taken which comes from the but ... is detected too. -- ___ Python tracker <https://bugs.python.org/issue40

[issue40900] uuid module build fix on FreeBSD proposal

2020-06-07 Thread David CARLIER
Change by David CARLIER : -- components: FreeBSD nosy: devnexen, koobs priority: normal pull_requests: 19908 severity: normal status: open title: uuid module build fix on FreeBSD proposal type: compile error versions: Python 3.10 ___ Python tracker

[issue42375] subprocess DragonFlyBSD build update

2020-11-16 Thread David CARLIER
Change by David CARLIER : -- components: Extension Modules nosy: devnexen priority: normal pull_requests: 22211 severity: normal status: open title: subprocess DragonFlyBSD build update type: enhancement versions: Python 3.10 ___ Python tracker

[issue42232] mmap module add Darwin specific madvise options

2020-11-01 Thread David CARLIER
Change by David CARLIER : -- components: macOS nosy: devnexen, ned.deily, ronaldoussoren priority: normal pull_requests: 21996 severity: normal status: open title: mmap module add Darwin specific madvise options type: enhancement ___ Python tracker

[issue42960] resources module, FreeBSD update adding RLIMIT_KQUEUES constant

2021-01-18 Thread David CARLIER
Change by David CARLIER : -- components: FreeBSD nosy: devnexen, koobs priority: normal pull_requests: 23073 severity: normal status: open title: resources module, FreeBSD update adding RLIMIT_KQUEUES constant versions: Python 3.10 ___ Python

[issue45163] Haiku build fix

2021-09-10 Thread David CARLIER
Change by David CARLIER : -- components: Library (Lib) nosy: devnexen priority: normal pull_requests: 26689 severity: normal status: open title: Haiku build fix type: compile error versions: Python 3.11 ___ Python tracker <https://bugs.python.

[issue45172] netbsd CAN protocol flags addition

2021-09-11 Thread David CARLIER
Change by David CARLIER : -- components: Library (Lib) nosy: devnexen priority: normal pull_requests: 26704 severity: normal status: open title: netbsd CAN protocol flags addition type: enhancement versions: Python 3.11 ___ Python tracker <ht

[issue45174] DragonflyBSD fix nis module build

2021-09-11 Thread David CARLIER
Change by David CARLIER : -- components: Library (Lib) nosy: devnexen priority: normal pull_requests: 26711 severity: normal status: open title: DragonflyBSD fix nis module build type: compile error versions: Python 3.11 ___ Python tracker <ht

[issue46222] posixmodule sendfile FreeBSD's constants update

2022-01-01 Thread David CARLIER
New submission from David CARLIER : Adding SF_NOCACHE and little note for SF_MNOWAIT. -- components: FreeBSD messages: 409465 nosy: devnexen, koobs priority: normal pull_requests: 28542 severity: normal status: open title: posixmodule sendfile FreeBSD's constants update versions

[issue46176] mmap module add MAP_STACK constant mostly for OpenBSD

2021-12-25 Thread David CARLIER
Change by David CARLIER : -- components: Library (Lib) nosy: devnexen priority: normal pull_requests: 28473 severity: normal status: open title: mmap module add MAP_STACK constant mostly for OpenBSD versions: Python 3.11 ___ Python tracker <ht

[issue46021] fcntl module update supports FreeBSD F_KINFO flag

2021-12-09 Thread David CARLIER
David CARLIER added the comment: - Got clues mostly from source code and header https://github.com/freebsd/freebsd-src/blob/794d3e8e63f4a6ebc8926030b6c937109ddc5485/sys/sys/fcntl.h#L273 -- ___ Python tracker <https://bugs.python.org/issue46

[issue46021] fcntl module update supports FreeBSD F_KINFO flag

2021-12-09 Thread David CARLIER
David CARLIER added the comment: Ah right then no point then if there is no support for upcoming feature, indeed it s only FreeBSD 14 scheduled next year :-) -- ___ Python tracker <https://bugs.python.org/issue46

[issue46021] fcntl module update supports FreeBSD F_KINFO flag

2021-12-09 Thread David CARLIER
David CARLIER added the comment: - The F_KINFO flag returns the related kinfo_file from the file descriptor. - While F_KINFO is, at the moment, FreeBSD's specific however other BSD has kinfo_file data as well thus the possibility they support a similar feature (F_KINFO appears only around

[issue46021] fcntl module update supports FreeBSD F_KINFO flag

2021-12-09 Thread David CARLIER
David CARLIER added the comment: - A kinfo_file data holds file information from the kernel's perspective (like the path or the current offset), more info here https://github.com/freebsd/freebsd-src/blob/main/sys/sys/user.h#L342 -- ___ Python

[issue46016] fcntl module add F_DUP2FD_CLOEXEC

2021-12-08 Thread David CARLIER
Change by David CARLIER : -- components: FreeBSD nosy: devnexen, koobs priority: normal pull_requests: 28216 severity: normal status: open title: fcntl module add F_DUP2FD_CLOEXEC type: enhancement versions: Python 3.11 ___ Python tracker <ht

[issue46016] fcntl module add F_DUP2FD_CLOEXEC

2021-12-08 Thread David CARLIER
New submission from David CARLIER : Exposing these specific freebsd constants to the module. -- ___ Python tracker <https://bugs.python.org/issue46016> ___ ___

[issue46030] socket module add couple of FreeBSD constants

2021-12-09 Thread David Carlier
New submission from David Carlier : - adding LOCAL_CREDS then LOCAL_CREDS_PERSISTENT and SCM_CREDS2 which would be used as msg type for the latter. -- components: FreeBSD messages: 408175 nosy: dcarlier, koobs priority: normal pull_requests: 28242 severity: normal status: open title

[issue46030] socket module add couple of FreeBSD constants

2021-12-10 Thread David CARLIER
Change by David CARLIER : -- nosy: +devnexen -dcarlier ___ Python tracker <https://bugs.python.org/issue46030> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46021] fcntl module update supports FreeBSD F_KINFO flag

2021-12-09 Thread David CARLIER
New submission from David CARLIER : - Enabling new F_KINFO flag. - Returning a subset of practical data from it. -- components: FreeBSD messages: 408088 nosy: devnexen, koobs priority: normal pull_requests: 28224 severity: normal status: open title: fcntl module update supports FreeBSD

[issue46357] socket module fix warning build on FreeBSD

2022-01-13 Thread David CARLIER
Change by David CARLIER : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue46357> ___ ___ Python-bugs-list

[issue46357] socket module fix warning build on FreeBSD

2022-01-13 Thread David CARLIER
David CARLIER added the comment: I get what you mean now I thought memset was enough. -- ___ Python tracker <https://bugs.python.org/issue46357> ___ ___ Pytho

[issue46357] socket module fix warning build on FreeBSD

2022-01-12 Thread David CARLIER
New submission from David CARLIER : - Solves the "Make sure new member of socket address initialized." warning for the bluetooth sockaddr_l2cap usage. -- components: FreeBSD messages: 410419 nosy: devnexen, koobs priority: normal pull_requests: 28761 severity: normal st

[issue46357] socket module fix warning build on FreeBSD

2022-01-12 Thread David CARLIER
David CARLIER added the comment: I took as initialized to avoid undefined behavior rather than anything. -- ___ Python tracker <https://bugs.python.org/issue46

[issue46398] posixshmem module shm_rename freebsd support.

2022-01-16 Thread David CARLIER
New submission from David CARLIER : - Adding shm_rename (from FreeBSD 13) to be able to move a shared memory block from one location to another. -- ___ Python tracker <https://bugs.python.org/issue46

[issue46398] posixshmem module shm_rename freebsd support.

2022-01-16 Thread David CARLIER
Change by David CARLIER : -- components: FreeBSD nosy: devnexen, koobs, vstinner priority: normal pull_requests: 28825 severity: normal status: open title: posixshmem module shm_rename freebsd support. type: enhancement ___ Python tracker <ht

[issue46731] posix._fcopyfile flags addition

2022-02-12 Thread David CARLIER
New submission from David CARLIER : Exposing more flags for direct calls, shutil fastcopy still only using COPYFILE_DATA one. -- components: Library (Lib) messages: 413137 nosy: devnexen priority: normal pull_requests: 29459 severity: normal status: open title: posix._fcopyfile flags

[issue46658] shutil Lib enables sendfile on solaris for regular files

2022-02-06 Thread David CARLIER
New submission from David CARLIER : - sendfile on solaris supports copy between regular file descriptors as well. -- components: Library (Lib) messages: 412643 nosy: devnexen priority: normal pull_requests: 29338 severity: normal status: open title: shutil Lib enables sendfile

[issue46696] socketmodule add Linux SO_INCOMING_CPU constasn

2022-02-09 Thread David CARLIER
Change by David CARLIER : -- nosy: devnexen priority: normal severity: normal status: open title: socketmodule add Linux SO_INCOMING_CPU constasn ___ Python tracker <https://bugs.python.org/issue46

[issue46696] socketmodule add Linux SO_INCOMING_CPU constant

2022-02-09 Thread David CARLIER
New submission from David CARLIER : Adding Linux's SO_INCOMING_CPU constant for setsockopt. -- components: +Library (Lib) keywords: +patch message_count: None -> 1.0 pull_requests: +29407 stage: -> patch review title: socketmodule add Linux SO_INCOMING_CPU constasn -> socketm