[issue44820] subprocess hungs when processing value from mariadb
New submission from jb : I am doing an insert in mariadb databases. For example, INSERT INTO t (a, b, c) VALUES (1, 3, None) RETURNING a, b. Upon execution, I get the value as (, ). When accessing the zero element, my subroutine hangs. -- components: Interpreter Core messages: 398862 nosy: zh.bolatbek priority: normal severity: normal status: open title: subprocess hungs when processing value from mariadb type: behavior versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue44820> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44820] subprocess hungs when processing value from mariadb
jb added the comment: Privet, spasibo za otklik. Poprobuyu yeshche raz provesti issledovaniye. Yesli budet problema, napishu, na discuss.python.org ili stackoverflow.com. S uvazheniyem, Bolatbek. volume_up 165 / 5000 keyboard Translation results Hi, thanks for your feedback. I'll try to do my research again. If there is a problem, I will write to discuss.python.org or stackoverflow.com. Best regards, Bolatbek. ср, 4 авг. 2021 г. в 21:02, Mark Dickinson : > > > Mark Dickinson added the comment: > > Hi @jb. This tracker is for reporting bugs in the core Python language. While > it's possible that what you're experiencing is due to a bug in core Python, > on the information given it's likely that the problem is either in your own > code, or in whatever database driver code you're using. In either case, I'm > afraid this tracker is not the appropriate place to seek help. > > For general debugging help, you could try any of the various dedicated Python > groups and mailing lists (for example, discuss.python.org), or something like > Stack Overflow. Be prepared to give details of exactly what you did, what you > expected to happen, and what actually happened, along with code that will > help others reproduce your issue. > > I'm going to close here - currently, there's nothing useful that the Python > core team can do with this report. The issue can be re-opened with more > information after further investigation, if that investigation produces > reasonable grounds to suspect a core Python bug. > > -- > nosy: +mark.dickinson > resolution: -> not a bug > stage: -> resolved > status: open -> closed > > ___ > Python tracker > <https://bugs.python.org/issue44820> > ___ -- ___ Python tracker <https://bugs.python.org/issue44820> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue44820] subprocess hungs when processing value from mariadb
jb added the comment: Great, thanks! чт, 5 авг. 2021 г. в 09:57, jb : > > > jb added the comment: > > Privet, spasibo za otklik. Poprobuyu yeshche raz provesti > issledovaniye. Yesli budet problema, napishu, na discuss.python.org > ili stackoverflow.com. S uvazheniyem, Bolatbek. > volume_up > 165 / 5000 > keyboard > > Translation results > > Hi, thanks for your feedback. I'll try to do my research again. If > there is a problem, I will write to discuss.python.org or > stackoverflow.com. > Best regards, Bolatbek. > > ср, 4 авг. 2021 г. в 21:02, Mark Dickinson : > > > > > > Mark Dickinson added the comment: > > > > Hi @jb. This tracker is for reporting bugs in the core Python language. > > While it's possible that what you're experiencing is due to a bug in core > > Python, on the information given it's likely that the problem is either in > > your own code, or in whatever database driver code you're using. In either > > case, I'm afraid this tracker is not the appropriate place to seek help. > > > > For general debugging help, you could try any of the various dedicated > > Python groups and mailing lists (for example, discuss.python.org), or > > something like Stack Overflow. Be prepared to give details of exactly what > > you did, what you expected to happen, and what actually happened, along > > with code that will help others reproduce your issue. > > > > I'm going to close here - currently, there's nothing useful that the Python > > core team can do with this report. The issue can be re-opened with more > > information after further investigation, if that investigation produces > > reasonable grounds to suspect a core Python bug. > > > > -- > > nosy: +mark.dickinson > > resolution: -> not a bug > > stage: -> resolved > > status: open -> closed > > > > ___ > > Python tracker > > <https://bugs.python.org/issue44820> > > ___ > > -- > > ___ > Python tracker > <https://bugs.python.org/issue44820> > ___ -- ___ Python tracker <https://bugs.python.org/issue44820> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4028] Problem compiling the multiprocessing module on sunos5
New submission from JB Robertson <[EMAIL PROTECTED]>: Hello, there's some issues compiling the multiprocessing module on the SunOS I have here, where CMSG_LEN, CMSG_ALIGN, CMSG_SPACE and sem_timedwait are absent. $ uname -av SunOS xxx 5.9 Generic_117171-15 sun4u sparc SUNW,Sun-Fire-V440 it looks like simply defining the first three macros like this works: #ifndef CMSG_SPACE # define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr))+CMSG_ALIGN(len)) #endif #ifndef CMSG_ALIGN # ifdef __sun__ # define CMSG_ALIGN _CMSG_DATA_ALIGN # else # define CMSG_ALIGN(len) (((len)+sizeof(long)-1) & ~(sizeof(long)-1)) # endif #endif #ifndef CMSG_LEN # define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr))+(len)) #endif (from http://mailman.videolan.org/pipermail/vlc-devel/2006-May/024400.html ) and setting HAVE_SEM_TIMEDWAIT=0 in setup.py does the trick for the last one. Presumably, adding something like elif platform.startswith('sunos5'): macros = dict( HAVE_SEM_OPEN=1, HAVE_SEM_TIMEDWAIT=0, HAVE_FD_TRANSFER=1 ) libraries = ['rt'] in setup.py should work, but I have no other SunOS machines to test this on. thanks -- components: Extension Modules messages: 74248 nosy: jr244 severity: normal status: open title: Problem compiling the multiprocessing module on sunos5 type: compile error versions: Python 2.6 ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4028> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com