[issue42815] new thread doesn't copy context of the parent thread
Change by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <https://bugs.python.org/issue42815> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44622] async-for loops are traced incorrectly in Python 3.10
Change by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <https://bugs.python.org/issue44622> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44645] Python 3.10: Under some trivial circunstances, GIL not released
Change by Jesús Cea Avión : -- components: +Interpreter Core stage: -> needs patch ___ Python tracker <https://bugs.python.org/issue44645> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44645] Python 3.10: Under some trivial circunstances, GIL not released
New submission from Jesús Cea Avión : After https://github.com/python/cpython/pull/18334, a "while condition: pass" in a thread will preclude releasing the GIL, hanging the program with CPU at 100%. Trivial to reproduce: """ #!/usr/bin/env python3.10 import threading import time def worker(): while cont: pass def main(): global cont cont = True t = threading.Thread(target=worker) t.start() time.sleep(1) cont = False t.join() if __name__ == '__main__': main() """ -- keywords: 3.10regression messages: 397549 nosy: Mark.Shannon, jcea, pablogsal priority: release blocker severity: normal status: open title: Python 3.10: Under some trivial circunstances, GIL not released versions: Python 3.10 ___ Python tracker <https://bugs.python.org/issue44645> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35930] Raising an exception raised in a "future" instance will create reference cycles
Jesús Cea Avión added the comment: I retired the backporting request. Thanks, Ned. -- versions: -Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue35930> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35930] Raising an exception raised in a "future" instance will create reference cycles
Change by Jesús Cea Avión : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue35930> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35930] Raising an exception raised in a "future" instance will create reference cycles
Jesús Cea Avión added the comment: New changeset d914813a7a9cee3b42e9c91f91ac491f3bbfe118 by Miss Islington (bot) in branch '3.9': bpo-35930: Raising an exception raised in a "future" instance will create reference cycles (GH-24995) (#25070) https://github.com/python/cpython/commit/d914813a7a9cee3b42e9c91f91ac491f3bbfe118 -- ___ Python tracker <https://bugs.python.org/issue35930> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35930] Raising an exception raised in a "future" instance will create reference cycles
Jesús Cea Avión added the comment: New changeset dae1963cf38f730291126b7dadfda89ffb21cefd by Miss Islington (bot) in branch '3.8': bpo-35930: Raising an exception raised in a "future" instance will create reference cycles (GH-24995) (#25071) https://github.com/python/cpython/commit/dae1963cf38f730291126b7dadfda89ffb21cefd -- ___ Python tracker <https://bugs.python.org/issue35930> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35930] Raising an exception raised in a "future" instance will create reference cycles
Jesús Cea Avión added the comment: New changeset 32430aadadf6e012e39167d3c18a24e49fb84874 by Jesús Cea in branch 'master': bpo-35930: Raising an exception raised in a "future" instance will create reference cycles (#24995) https://github.com/python/cpython/commit/32430aadadf6e012e39167d3c18a24e49fb84874 -- ___ Python tracker <https://bugs.python.org/issue35930> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35930] Raising an exception raised in a "future" instance will create reference cycles
Change by Jesús Cea Avión : -- versions: +Python 3.10 ___ Python tracker <https://bugs.python.org/issue35930> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35930] Raising an exception raised in a "future" instance will create reference cycles
Change by Jesús Cea Avión : -- assignee: -> jcea ___ Python tracker <https://bugs.python.org/issue35930> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35930] Raising an exception raised in a "future" instance will create reference cycles
Change by Jesús Cea Avión : -- keywords: +patch pull_requests: +23753 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24995 ___ Python tracker <https://bugs.python.org/issue35930> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35930] Raising an exception raised in a "future" instance will create reference cycles
Change by Jesús Cea Avión : -- versions: +Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue35930> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35930] Raising an exception raised in a "future" instance will create reference cycles
Jesús Cea Avión added the comment: Even more reproductible case, now 100%: """ import gc import concurrent.futures executor = concurrent.futures.ThreadPoolExecutor(999) def a(): 1/0 future=executor.submit(a) future.result() # An exception is raised here. That is normal del future # Variable vanish, but data is still there because the cycle 1/0 # Raises another exception drop references to the future one gc.set_debug(gc.DEBUG_SAVEALL) gc.collect() gc.garbage """ -- ___ Python tracker <https://bugs.python.org/issue35930> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35930] Raising an exception raised in a "future" instance will create reference cycles
Jesús Cea Avión added the comment: The corrected test case in the terminal: (a "del" was missing) """ import gc import concurrent.futures executor = concurrent.futures.ThreadPoolExecutor(999) def a(): 1/0 future=executor.submit(a) future.result() # An exception is raised here. That is normal del future # Variable vanish, but data is still there because the cycle gc.set_debug(gc.DEBUG_SAVEALL) gc.collect() gc.garbage """ -- ___ Python tracker <https://bugs.python.org/issue35930> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42173] Drop Solaris support
Jesús Cea Avión added the comment: I am using Python 3.8 installed via pkgsrc in SmartOS with some Zones running Python 3.9 self compiled code. More about the downloads stats: 4% packages in windows: I am pretty sure that most windows programmers install packages via conda-like tools. Surely there is more that 4% of python programmers on windows, even more in machine learning and data science areas, where windows and MacOS X rule (apparently being only 7% of PIP downloads). Even if the PIP download stats would reflect penetration, Solaris is ahead of NetBSD and OpenBSD together. -- ___ Python tracker <https://bugs.python.org/issue42173> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42173] Drop Solaris support
Jesús Cea Avión added the comment: I think Solaris Support is still important and I could invest more time on it. About package downloads: 1. I routinely download packages in my laptop (Linux) and distribute them to a fleet of servers (Linux and Solaris) via ansible and similar. Many servers in intranets don't install packages directly via PIP. 2. Under OmniOS or SmartOS (Illumos distributions), many people use the system package manager to install Python packages, not "PIP". For instance, http://netbsd.2816.n7.nabble.com/WIP-commit-Upgrade-to-Mailman-2-1-34-td427426.html. Buildbots: I used to manage a buildbot with OpenIndiana, but it didn't survived the GITHUB migration. I could provide now a SmartOS buildbot. As a core developer, I do care about Solaris. I fully realize I have been quite inactive since the github migration. My fault. I could devote more time to the task. -- ___ Python tracker <https://bugs.python.org/issue42173> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue41004] [CVE-2020-14422] Hash collisions in IPv4Interface and IPv6Interface
Change by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <https://bugs.python.org/issue41004> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40234] Disallow daemon threads in subinterpreters optionally.
Change by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <https://bugs.python.org/issue40234> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39761] Python 3.9.0a4 fails to build when configured with --with-dtrace
Change by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <https://bugs.python.org/issue39761> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6462] bsddb3 intermittent test failures
Jesús Cea Avión added the comment: Time to die. -- resolution: -> wont fix stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue6462> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18734] Berkeley DB versions 4.4-4.9 are not discovered by setup.py
Jesús Cea Avión added the comment: Time to die. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue18734> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17477] update the bsddb module do build with db 5.x versions
Jesús Cea Avión added the comment: Time to die. -- resolution: -> wont fix stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue17477> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38301] If "_REENTRANT" is defined in the header file, we should use "-D_REENTRANT" when compiling
Change by Jesús Cea Avión : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue38301> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38301] If "_REENTRANT" is defined in the header file, we should use "-D_REENTRANT" when compiling
Jesús Cea Avión added the comment: New changeset 598f676880662fb453ff98fda42b7b7068e5be32 by Jesús Cea in branch '2.7': [2.7] bpo-38301: In Solaris family, we must be sure to use '-D_REENTRANT' (GH-16446). (#16454) https://github.com/python/cpython/commit/598f676880662fb453ff98fda42b7b7068e5be32 -- ___ Python tracker <https://bugs.python.org/issue38301> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38301] If "_REENTRANT" is defined in the header file, we should use "-D_REENTRANT" when compiling
Change by Jesús Cea Avión : -- pull_requests: +16034 pull_request: https://github.com/python/cpython/pull/16454 ___ Python tracker <https://bugs.python.org/issue38301> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38301] If "_REENTRANT" is defined in the header file, we should use "-D_REENTRANT" when compiling
Change by Jesús Cea Avión : -- pull_requests: +16032 pull_request: https://github.com/python/cpython/pull/16452 ___ Python tracker <https://bugs.python.org/issue38301> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38301] If "_REENTRANT" is defined in the header file, we should use "-D_REENTRANT" when compiling
Jesús Cea Avión added the comment: New changeset 6112b91bb827b07ab83e3e720aa055772a2c8b9d by Jesús Cea (Miss Islington (bot)) in branch '3.7': bpo-38301: In Solaris family, we must be sure to use '-D_REENTRANT' (GH-16446) (#16450) https://github.com/python/cpython/commit/6112b91bb827b07ab83e3e720aa055772a2c8b9d -- ___ Python tracker <https://bugs.python.org/issue38301> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38301] If "_REENTRANT" is defined in the header file, we should use "-D_REENTRANT" when compiling
Jesús Cea Avión added the comment: New changeset 8750bce9884335d43ac06989f64473ed877c5b63 by Jesús Cea (Miss Islington (bot)) in branch '3.8': bpo-38301: In Solaris family, we must be sure to use '-D_REENTRANT' (GH-16446) (#16449) https://github.com/python/cpython/commit/8750bce9884335d43ac06989f64473ed877c5b63 -- ___ Python tracker <https://bugs.python.org/issue38301> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38301] If "_REENTRANT" is defined in the header file, we should use "-D_REENTRANT" when compiling
Jesús Cea Avión added the comment: New changeset 52d1b86bde2b772a76919c76991c326384954bf1 by Jesús Cea in branch 'master': bpo-38301: In Solaris family, we must be sure to use '-D_REENTRANT' (#16446) https://github.com/python/cpython/commit/52d1b86bde2b772a76919c76991c326384954bf1 -- ___ Python tracker <https://bugs.python.org/issue38301> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38301] If "_REENTRANT" is defined in the header file, we should use "-D_REENTRANT" when compiling
Change by Jesús Cea Avión : -- keywords: +patch pull_requests: +16025 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16446 ___ Python tracker <https://bugs.python.org/issue38301> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38301] If "_REENTRANT" is defined in the header file, we should use "-D_REENTRANT" when compiling
Change by Jesús Cea Avión : -- title: If "_REENTARNT" is defined in the header file, we should use "-D_REENTRANT" when compiling -> If "_REENTRANT" is defined in the header file, we should use "-D_REENTRANT" when compiling ___ Python tracker <https://bugs.python.org/issue38301> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38301] If "_REENTARNT" is defined in the header file, we should use "-D_REENTRANT" when compiling
New submission from Jesús Cea Avión : When compiling on Solaris family, we define "_REENTRANT" in "Pyconfig.h". That file is included when compiling C extensions, but if the extension is made of several C files, it could be included only in the file that interfaces with python runtime. Unfortunately, "_REENTRANT" modifies the way C code is compiled, so compiling a C extension with some source files with "_REENTRANT" and some other without that "define" can produce bizarre errors and crashes. One example: https://github.com/joyent/pkgsrc/issues/207 In particular, "include" order can make a big difference: https://github.com/jnwatson/py-lmdb/issues/213 I suggest that when "_REENTRANT" is defined in "Pyconfig.h", Python C extensions compilation machinery adds "-D_REENTRANT" to the compilation flags. The patch is trivial. -- assignee: jcea components: Build messages: 353416 nosy: jcea priority: high severity: normal status: open title: If "_REENTARNT" is defined in the header file, we should use "-D_REENTRANT" when compiling versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue38301> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35550] Some define guards for Solaris are wrong
Change by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <https://bugs.python.org/issue35550> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22239] asyncio: nested event loop
Change by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <https://bugs.python.org/issue22239> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue35930] Raising an exception raised in a "future" instance will create reference cycles
New submission from Jesús Cea Avión : Try this in a terminal: """ import gc import concurrent.futures executor = concurrent.futures.ThreadPoolExecutor(999) def a(): 1/0 future=executor.submit(a) future.result() # An exception is raised here. That is normal gc.set_debug(gc.DEBUG_SAVEALL) gc.collect() gc.garbage """ You will see (python 3.7) that 23 objects are collected when cleaning the cycle. The problem is the attribute "future._exception". If the exception provided by the "future" is raised somewhere else, we will have reference cycles because we have the same exception/traceback in two different places in the traceback framestack. I commonly do this in my code: """ try: future.result() # This will raise an exception if the future did it except Exception: ... some clean up ... raise # Propagate the "future" exception """ This approach will create reference cycles. They will eventually cleaned up, but I noticed this issue because the cycle clean up phase was touching big objects with many references but unused for a long time, so they were living in the SWAP. The cycle collection was hugely slow because of this and the interpreter is completely stopped until done. Not sure about what to do about this. I am currently doing something like: """ try: future.result() # This will raise an exception if the future did it except Exception: if future.done(): del future._exception raise # Propagate the exception """ I am breaking the cycle manually. I do not use "future.set_exception(None) because side effects like notifying waiters. I think this is a bug to be solved. Not sure how to do it cleanly. What do you think? Ideas?. -- messages: 335022 nosy: jcea priority: normal severity: normal status: open title: Raising an exception raised in a "future" instance will create reference cycles versions: Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue35930> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue31558] gc.freeze() - an API to mark objects as uncollectable
Change by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <https://bugs.python.org/issue31558> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30579] Allow traceback objects to be instantiated/mutated/annotated
Change by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <https://bugs.python.org/issue30579> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32660] Solaris should support constants like termios' FIONREAD
Jesús Cea Avión added the comment: New changeset f0a95f27c043e847a23940534fdfc53e1b3e31a1 by jcea in branch 'master': bpo-32660: Solaris should support constants like termios' FIONREAD (#5328) https://github.com/python/cpython/commit/f0a95f27c043e847a23940534fdfc53e1b3e31a1 -- ___ Python tracker <https://bugs.python.org/issue32660> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32659] Solaris "stat" should support "st_fstype"
Jesús Cea Avión added the comment: New changeset 6c51d518800cdda7ba16ae163be0d211d2c4fa12 by jcea in branch 'master': bpo-32659: Solaris "stat" should support "st_fstype" (#5307) https://github.com/python/cpython/commit/6c51d518800cdda7ba16ae163be0d211d2c4fa12 -- ___ Python tracker <https://bugs.python.org/issue32659> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32660] Solaris should support constants like termios' FIONREAD
Change by Jesús Cea Avión : -- keywords: +patch pull_requests: +5173 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue32660> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32660] Solaris should support constants like termios' FIONREAD
Jesús Cea Avión added the comment: With this change, a SmarOS native zone exports 206 symbols in Python termios. Before it export 201. By comparison, a Linux Ubuntu 16.04 Python provides 244 symbols. Some references for the future: http://www.verycomputer.com/168_45f4bd8c333a252f_1.htm -- ___ Python tracker <https://bugs.python.org/issue32660> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32660] Solaris should support constants like termios' FIONREAD
Jesús Cea Avión added the comment: After doing this change, I see FIVE new symbols in Python's termios: """ FIONREAD, FIONCLEX, FIOCLEX, FIOASYNC, FIONBIO. """ Good enough for now and me. -- ___ Python tracker <https://bugs.python.org/issue32660> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32660] Solaris should support constants like termios' FIONREAD
Jesús Cea Avión added the comment: Solaris has two personalities: System V and BSD. This is not usually an issue but sometimes some constants have a different value in a mode or the other. By default, when including Solaris is in System V mode. We can force BSD mode defining symbol "BSD_COMP". This greatly expand the names available but, unfortunately, some values change. The comment in is quite clear: """ * There are some inherent problems in having a single file * ioctl.h, with both System V and BSD flags. Introducing * BSD flags into this file creates compilation problems * with flags such as ECHO, NL1 etc., if termio.h and ioctl.h * are included by the same file. Since these two files can * be only included by System V applications, /usr/inclule/sys/ioctl.h * will be System V mode and all the BSD flags will be turned off * using #ifdef BSD_COMP. This file will also exist in * /usr/ucbinclude/sys/ioctl.h for BSD applications but without the * BSD flags turned off. System V appliactions can use ioctl.h without * any changes, System V applications requiring BSD flags should * -D BSD_COMP when compiling (and be warned about the common * flags between System V and BSD) and BSD applications should * use /usr/ucbinclude/sys/ioctl.h. """ Using "gcc -dM -E" we can observe defined symbols. Ambiguous values when defininf "BSD_COMP" are: BS0, BS1, CR0, CR1, CR2, CR3, ECHO, FF0, FF1, FLUSHO, NL0, NL1, NOFLSH, PENDIN, TAB0, TAB1, TAB2, TOSTOP, XTABS. Sounds quite important, actually. Since I am no aiming to perfection, I would be satisfied making quite a few new symbols available, not all of them. A simple approach would be to include and . In those header files there are only constants, not functions or data structures. Just including those headers we get these new symbols (none overlapping other): _FIO_COMPRESSED _FIO_COUNT_FILLED _FIO_GET_TOP_STATS _FIO_SEEK_DATA _FIO_SEEK_HOLE _FIO_SET_LUFS_DEBUG _FIO_SET_LUFS_ERROR _FIOAI _FIODIRECTIO _FIOFFS _FIOGDIO _FIOGETMAXPHYS _FIOGETSUPERBLOCK _FIOIO _FIOISBUSY _FIOISLOG _FIOISLOGOK _FIOLFS _FIOLFSS _FIOLOGDISABLE _FIOLOGENABLE _FIOLOGRESET _FIOOBSOLETE67 _FIOSATIME _FIOSDIO _FIOSNAPSHOTCREATE _FIOSNAPSHOTCREATE_MULTI _FIOSNAPSHOTDELETE _FIOTUNE _IO(x,y) _IOR(x,y,t) _IORN(x,y,t) _IOW(x,y,t) _IOWN(x,y,t) _IOWR(x,y,t) _IOWRN(x,y,t) _SIOCSOCKFALLBACK _SYS_FILIO_H _SYS_IOCCOM_H _SYS_SOCKIO_H FIOASYNC FIOCLEX FIOGETOWN FIONBIO FIONCLEX FIONREAD FIOSETOWN IF_UNITSEL IOC_IN IOC_INOUT IOC_OUT IOC_VOID IOCPARM_MASK O_SIOCGIFCONF O_SIOCGLIFCONF SIOCADDMULTI SIOCADDRT SIOCATMARK SIOCDARP SIOCDELMULTI SIOCDELRT SIOCDXARP SIOCGARP SIOCGDSTINFO SIOCGENADDR SIOCGENPSTATS SIOCGETLSGCNT SIOCGETNAME SIOCGETPEER SIOCGETPROP SIOCGETSGCNT SIOCGETSYNC SIOCGETVIFCNT SIOCGHIWAT SIOCGIFADDR SIOCGIFBRDADDR SIOCGIFCONF SIOCGIFDSTADDR SIOCGIFFLAGS SIOCGIFHWADDR SIOCGIFINDEX SIOCGIFMEM SIOCGIFMETRIC SIOCGIFMTU SIOCGIFMUXID SIOCGIFNETMASK SIOCGIFNUM SIOCGIP6ADDRPOLICY SIOCGIPMSFILTER SIOCGLIFADDR SIOCGLIFBINDING SIOCGLIFBRDADDR SIOCGLIFCONF SIOCGLIFDADSTATE SIOCGLIFDSTADDR SIOCGLIFFLAGS SIOCGLIFGROUPINFO SIOCGLIFGROUPNAME SIOCGLIFHWADDR SIOCGLIFINDEX SIOCGLIFLNKINFO SIOCGLIFMETRIC SIOCGLIFMTU SIOCGLIFMUXID SIOCGLIFNETMASK SIOCGLIFNUM SIOCGLIFSRCOF SIOCGLIFSUBNET SIOCGLIFTOKEN SIOCGLIFUSESRC SIOCGLIFZONE SIOCGLOWAT SIOCGMSFILTER SIOCGPGRP SIOCGSTAMP SIOCGXARP SIOCIFDETACH SIOCILB SIOCLIFADDIF SIOCLIFDELND SIOCLIFGETND SIOCLIFREMOVEIF SIOCLIFSETND SIOCLOWER SIOCSARP SIOCSCTPGOPT SIOCSCTPPEELOFF SIOCSCTPSOPT SIOCSENABLESDP SIOCSETPROP SIOCSETSYNC SIOCSHIWAT SIOCSIFADDR SIOCSIFBRDADDR SIOCSIFDSTADDR SIOCSIFFLAGS SIOCSIFINDEX SIOCSIFMEM SIOCSIFMETRIC SIOCSIFMTU SIOCSIFMUXID SIOCSIFNAME SIOCSIFNETMASK SIOCSIP6ADDRPOLICY SIOCSIPMSFILTER SIOCSLGETREQ SIOCSLIFADDR SIOCSLIFBRDADDR SIOCSLIFDSTADDR SIOCSLIFFLAGS SIOCSLIFGROUPNAME SIOCSLIFINDEX SIOCSLIFLNKINFO SIOCSLIFMETRIC SIOCSLIFMTU SIOCSLIFMUXID SIOCSLIFNAME SIOCSLIFNETMASK SIOCSLIFPREFIX SIOCSLIFSUBNET SIOCSLIFTOKEN SIOCSLIFUSESRC SIOCSLIFZONE SIOCSLOWAT SIOCSLSTAT SIOCSMSFILTER SIOCSPGRP SIOCSPROMISC SIOCSQPTR SIOCSSDSTATS SIOCSSESTATS SIOCSXARP SIOCTMYADDR SIOCTMYSITE SIOCTONLINK SIOCUPPER SIOCX25RCV SIOCX25TBL SIOCX25XMT SIOCXPROTO Not all those symbols are going to be exported in Python. -- ___ Python tracker <https://bugs.python.org/issue32660> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32659] Solaris "stat" should support "st_fstype"
Change by Jesús Cea Avión : -- keywords: +patch pull_requests: +5154 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue32659> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32660] Solaris should support constants like termios' FIONREAD
New submission from Jesús Cea Avión : Solaris supports termios constants like FIONREAD with an appropiate "#include" in the C code. The main issue is that some names conflicts between System V and BSD personalities. I could evaluate the situation and do a patch proposal for Python 3.7. We are still a week away of 3.7RC1 and this patch would affect only Solaris/derivatives. -- assignee: jcea messages: 310651 nosy: jcea priority: normal severity: normal stage: needs patch status: open title: Solaris should support constants like termios' FIONREAD type: enhancement versions: Python 3.7 ___ Python tracker <https://bugs.python.org/issue32660> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32659] Solaris "stat" should support "st_fstype"
New submission from Jesús Cea Avión : Solaris has an extra "st_fstype" in the "stat" structure: """ st_fstype A null-teminated string that uniquely identifies the type of the filesystem that contains the file. """ Supporting this should be trivial and 3.7RC1 is still a week away. I can take care of the patch for Python 3.7, if you agree that this must be fixed. -- assignee: jcea messages: 310650 nosy: jcea priority: normal severity: normal stage: needs patch status: open title: Solaris "stat" should support "st_fstype" type: enhancement versions: Python 3.7 ___ Python tracker <https://bugs.python.org/issue32659> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue14127] add st_*time_ns fields to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds
Change by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <https://bugs.python.org/issue14127> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8800] add threading.RWLock
Change by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <https://bugs.python.org/issue8800> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue26110] Speedup method calls 1.2x
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue26110> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28618] Decorate hot functions using __attribute__((hot)) to optimize Python
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue28618> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28240] Enhance the timeit module: display average +- std dev instead of minimum
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue28240> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24254] Make class definition namespace ordered by default
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue24254> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue28023> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27350] Compact and ordered dict
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue27350> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25949] Lazy creation of __dict__ in OrderedDict
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue25949> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30153] lru_cache should support invalidations
New submission from Jesús Cea Avión: I think that "functools.lru_cache()" should have the ability to "invalidate" a (possibly cached) value. Something like: @functools.lru_cache() def func(param): ... func.invalidate(PARAM) # discard this cached call, or ignore if not cached -- messages: 292216 nosy: jcea priority: normal severity: normal stage: needs patch status: open title: lru_cache should support invalidations type: enhancement versions: Python 3.7 ___ Python tracker <http://bugs.python.org/issue30153> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue28969] lru_cache is not threadsafe
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue28969> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27568] "HTTPoxy", use of HTTP_PROXY flag supplied by attacker in CGI scripts
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue27568> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22970] asyncio: Cancelling wait() after notification leaves Condition in an inconsistent state
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue22970> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25599] asyncio.iscoroutinefunction returns unexpected results when presented with unittest.mock.Mock
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue25599> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18967] Find a less conflict prone approach to Misc/NEWS
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue18967> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25194] Opt-in motivations & affiliations page for core contributors
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue25194> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23571] Raise SystemError if a function returns a result with an exception set
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue23571> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16113] SHA-3 (Keccak) support may need to be removed before 3.4
Jesús Cea Avión added the comment: SHA-3 is released. http://www.nist.gov/manuscript-publication-search.cfm?pub_id=919061 Should we add it to Python 2.7.11, 3.4.4, 3.5.1 or just for 18 months away Python 3.6?. Since this is a security sensitive issue, I would vote for adding it to the maintained releases. -- ___ Python tracker <http://bugs.python.org/issue16113> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22598] Add mUTF-7 codec (UTF-7 modified for IMAP)
Changes by Jesús Cea Avión : -- assignee: jcea -> ___ Python tracker <http://bugs.python.org/issue22598> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22598] Add mUTF-7 codec (UTF-7 modified for IMAP)
Jesús Cea Avión added the comment: ping. -- ___ Python tracker <http://bugs.python.org/issue22598> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5305] imaplib should support international mailbox names
Jesús Cea Avión added the comment: Ping. -- ___ Python tracker <http://bugs.python.org/issue5305> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24786] Changes in the devguide repository are not published online in HTML
New submission from Jesús Cea Avión: I change content and configuration in the devguide repository and I don't see the changes available in HTML in <https://docs.python.org/devguide/> even after some days. -- assignee: docs@python components: Documentation messages: 247961 nosy: docs@python, jcea priority: normal severity: normal status: open title: Changes in the devguide repository are not published online in HTML ___ Python tracker <http://bugs.python.org/issue24786> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23476] SSL cert verify fail for "www.verisign.com"
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue23476> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23098] mknod devices can be >32 bits
Jesús Cea Avión added the comment: Serhiy, could you consider to create a patch for 2.7 and 3.4?. I am not familiar with the details of Argument Clinic. -- ___ Python tracker <http://bugs.python.org/issue23098> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23098] mknod devices can be >32 bits
New submission from Jesús Cea Avión: Dan MacDonald told me that "os.mknod()" should accept devices >32 bits. I wrote this code in linux 64 bits: """ #include #include #include #include #include int main(void) { printf("%d", sizeof(dev_t)); return 0; } """ The result of running this is "8". We need a long long. I did this change in Python 2.7 branch: """ diff -r f00412d32b41 Modules/posixmodule.c --- a/Modules/posixmodule.c Sat Dec 20 13:41:14 2014 -0600 +++ b/Modules/posixmodule.c Sun Dec 21 23:30:00 2014 +0100 @@ -7009,9 +7009,9 @@ { char *filename; int mode = 0600; -int device = 0; +long long device = 0; int res; -if (!PyArg_ParseTuple(args, "s|ii:mknod", &filename, &mode, &device)) +if (!PyArg_ParseTuple(args, "s|iL:mknod", &filename, &mode, &device)) return NULL; Py_BEGIN_ALLOW_THREADS res = mknod(filename, mode, device); """ Looks like this patch is trivial. Please, comment. -- assignee: jcea keywords: easy messages: 233004 nosy: jcea priority: normal severity: normal stage: patch review status: open title: mknod devices can be >32 bits versions: Python 2.7, Python 3.4, Python 3.5 ___ Python tracker <http://bugs.python.org/issue23098> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23004] mock_open() should allow reading binary data
Changes by Jesús Cea Avión : -- dependencies: +Enhancement: give mock_open readline() and readlines() methods ___ Python tracker <http://bugs.python.org/issue23004> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17467] Enhancement: give mock_open readline() and readlines() methods
Changes by Jesús Cea Avión : -- superseder: -> mock_open() should allow reading binary data ___ Python tracker <http://bugs.python.org/issue17467> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23004] mock_open() should allow reading binary data
New submission from Jesús Cea Avión: mock_open(read_data=b'...') gives an error: """Traceback (most recent call last): File "z.py", line 6, in print(f.read()) File "/usr/local/lib/python3.4/unittest/mock.py", line 896, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/local/lib/python3.4/unittest/mock.py", line 962, in _mock_call ret_val = effect(*args, **kwargs) File "/usr/local/lib/python3.4/unittest/mock.py", line 2279, in _read_side_effect return ''.join(_data) File "/usr/local/lib/python3.4/unittest/mock.py", line 2244, in _iterate_read_data data_as_list = ['{}\n'.format(l) for l in read_data.split('\n')] """ Easy to reproduce: """ from unittest.mock import mock_open, patch m = mock_open(read_data= b'abc') with patch('__main__.open', m, create=True) : with open('abc', 'rb') as f : print(f.read()) """ Looks like this bug was introduced as result of issue #17467. I add those people to the nosy list. -- keywords: easy messages: 232271 nosy: a.badger, jcea, michael.foord priority: normal severity: normal status: open title: mock_open() should allow reading binary data versions: Python 3.5 ___ Python tracker <http://bugs.python.org/issue23004> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20530] Change the text signature format (again) to be more robust
Jesús Cea Avión added the comment: Preparing a presentation about Python Magic methods I found something weird: (Python 3.4) """ >>> help(int.__lt__) Help on wrapper_descriptor: __lt__(self, value, /) <- THIS!! Return self <http://bugs.python.org/issue20530> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19884] Importing readline produces erroneous output
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue19884> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5305] imaplib should support international mailbox names
Jesús Cea Avión added the comment: First step is to provide mUTF-7 in Python 3.5. Then we can try to update imaplib. I am specially worried about the points cfraire raises in http://bugs.python.org/issue5305#msg151859. Lets see. -- dependencies: +IMAP4 UTF-7 support ___ Python tracker <http://bugs.python.org/issue5305> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22598] IMAP4 UTF-7 support
New submission from Jesús Cea Avión: Looks like there is consensus to add "mUTF-7" or "imap4 UTF-7" to the codec module for Python 3.5. Details in https://mail.python.org/pipermail/python- dev/2014-October/136601.html -- assignee: jcea messages: 228979 nosy: jcea priority: normal severity: normal status: open title: IMAP4 UTF-7 support type: enhancement versions: Python 3.5 ___ Python tracker <http://bugs.python.org/issue22598> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22534] bsddb memory leak with MacPorts bdb 4.6
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue22534> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20671] test_create_at_shutdown_with_encoding() of test_io hangs on "SPARC Solaris 10 OpenCSW 3.x"
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue20671> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21166] Bus error in pybuilddir.txt 'python -m sysconfigure --generate-posix-vars' build step
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue21166> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20505] Remove resolution from selectors and granularity from asyncio
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue20505> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20320] select.select(timeout) and select.kqueue.control(timeout) must round the timeout to the upper bound
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue20320> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22417] PEP 476: verify HTTPS certificates by default
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue22417> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11471] If without else generates redundant jump
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue11471> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22358] Unnecessary JUMP_FORWARD(0) (NOP) in if statements without else or elif
Jesús Cea Avión added the comment: What about the peephole optimizer?. -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue22358> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22257] PEP 432: Redesign the interpreter startup sequence
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue22257> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22306] Inconsistent division by 0 behaviour in decimal module
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue22306> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22224] docs.python.org is prone to political blocking in Russia
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue4> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19838] test.test_pathlib.PosixPathTest.test_touch_common fails on FreeBSD with ZFS
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue19838> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11279] test_posix and lack of "id -G" support - less noise required?
Jesús Cea Avión added the comment: I never saw this because I use GNU 'id' on my Solaris 10 machines. Taking care of this. Thanks for the report and the persistence :-) -- assignee: -> jcea versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker <http://bugs.python.org/issue11279> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10402] sporadic test_bsddb3 failures
Jesús Cea Avión added the comment: Closed as requested. -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue10402> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20872] dbm/gdbm/ndbm close methods are not document
Jesús Cea Avión added the comment: Thanks, David and Berker. -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue20872> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21441] Buffer Protocol Documentation Error
Jesús Cea Avión added the comment: Thanks, Jake. -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue21441> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21625] help()'s more-mode is frustrating
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue21625> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16136] Removal of VMS support
Jesús Cea Avión added the comment: I think this is a good plan. Legacy platforms can me maintained by interested parties as a friendly fork. -- ___ Python tracker <http://bugs.python.org/issue16136> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21797] mmap read of single byte accesses more that just that byte
Jesús Cea Avión added the comment: You could even use "ctypes" to access the underlining "mmap" OS syscall. But accessing individual bytes using native python is not guaranteed to work because python is too high level for that. For instance, it could read 64 bits (a word) to only use 8 at the end. I recommend you to write a tiny C module or investigate "ctypes"/"CFFI" pointer access to a native mmap-ed area. Good luck. -- ___ Python tracker <http://bugs.python.org/issue21797> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21797] mmap read of single byte accesses more that just that byte
Jesús Cea Avión added the comment: Kevin, mmap is not appropriate for your use. Looks like writing your own module would be simple enough. If performance is not a problem, maybe ctypes/cffi pointer magic encapsulate in your own custom class would be enough for you. I mark this bug as "not a bug" since you are using mmap+python outside of "specs". Feel free to reopen if you don't agree but, please, provide a rationale. -- nosy: +jcea resolution: -> not a bug status: open -> closed ___ Python tracker <http://bugs.python.org/issue21797> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21759] URL Typo in Documentation FAQ
Jesús Cea Avión added the comment: Thanks! -- nosy: +jcea ___ Python tracker <http://bugs.python.org/issue21759> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com