TLS support for SysLogHandler (currently in pypi)

2023-12-13 Thread A Tammy via Python-list
Hi all, I've been trying to add TLS over TCP support to the core SysLogHandler and currently have a working example package on PyPI - https://pypi.org/project/tlssysloghandler/#usage . The package works as a drop-in replacement for SysLogHandler, trying to support the original option

Re: Which architectures to support in a CI like Travis?

2022-09-19 Thread c . buhtz
Dear Mats, thanks for the reply. Am 19.09.2022 16:10 schrieb Mats Wichmann: Kind of unrelated to the actual question, but if you start doing anything serious under Travis you'll run out of free minutes rather quickly. My project had to just give up on it after they changed their licensing mode

Re: Which architectures to support in a CI like Travis?

2022-09-19 Thread Mats Wichmann
On 9/18/22 03:46, c.bu...@posteo.jp wrote: Hello, I am using TravisCI for my project on GitHub. The project is packaged for Debian, Ubuntu, Arch and several other distros. All this distros support multiple architectures and they have their own test machines to take care that all packages

Re: Which architectures to support in a CI like Travis?

2022-09-19 Thread Martin Di Paola
ello, I am using TravisCI for my project on GitHub. The project is packaged for Debian, Ubuntu, Arch and several other distros. All this distros support multiple architectures and they have their own test machines to take care that all packages working on all archs. On my side (upstream) I wonde

Which architectures to support in a CI like Travis?

2022-09-18 Thread c.buhtz
Hello, I am using TravisCI for my project on GitHub. The project is packaged for Debian, Ubuntu, Arch and several other distros. All this distros support multiple architectures and they have their own test machines to take care that all packages working on all archs. On my side (upstream) I

Do you support The #Python Software Foundation making a statement in support of peace?

2022-03-13 Thread René Dudfield
hey hey, Do you support The Python Software Foundation making a statement in support of peace? Vote here: https://twitter.com/pygame_org/status/1502989885296238593 cheerio, -- https://mail.python.org/mailman/listinfo/python-list

Re: How to support annotations for a custom type in a C extension?

2021-11-18 Thread Marco Sulla
It works. Thanks a lot. On Sun, 19 Sept 2021 at 19:23, Serhiy Storchaka wrote: > > 19.09.21 05:59, MRAB пише: > > On 2021-09-18 16:09, Serhiy Storchaka wrote: > >> "(PyCFunction)" is redundant, Py_GenericAlias already has the right > >> type. Overuse of casting to PyCFunction can hide actual bugs

Re: How to support annotations for a custom type in a C extension?

2021-09-19 Thread Serhiy Storchaka
19.09.21 05:59, MRAB пише: > On 2021-09-18 16:09, Serhiy Storchaka wrote: >> "(PyCFunction)" is redundant, Py_GenericAlias already has the right >> type. Overuse of casting to PyCFunction can hide actual bugs. >> > I borrowed that from listobject.c, which does have the cast. Fixed. https://github.

Re: How to support annotations for a custom type in a C extension?

2021-09-18 Thread MRAB
On 2021-09-18 16:10, Serhiy Storchaka wrote: 18.09.21 09:40, Marco Sulla пише: Ooook. I have a question. Why is this code not present in dictobject.c? Where are the dict annotations implemented? In dictobject.c. I just had a look at dictobject.c. It too has a cast to PyCFunction. -- http

Re: How to support annotations for a custom type in a C extension?

2021-09-18 Thread MRAB
On 2021-09-18 16:09, Serhiy Storchaka wrote: 18.09.21 03:54, MRAB пише: static PyMethodDef customdict_methods[] = { ...     {"__class_getitem__", (PyCFunction)Py_GenericAlias, METH_CLASS | METH_O | METH_COEXIST, PyDoc_STR("See PEP 585")}, ... }; Note the flags: METH_CLASS says that it's a clas

Re: How to support annotations for a custom type in a C extension?

2021-09-18 Thread Serhiy Storchaka
18.09.21 09:40, Marco Sulla пише: > Ooook. I have a question. Why is this code not present in > dictobject.c? Where are the dict annotations implemented? In dictobject.c. -- https://mail.python.org/mailman/listinfo/python-list

Re: How to support annotations for a custom type in a C extension?

2021-09-18 Thread Serhiy Storchaka
18.09.21 03:54, MRAB пише: > static PyMethodDef customdict_methods[] = { > ... >     {"__class_getitem__", (PyCFunction)Py_GenericAlias, METH_CLASS | > METH_O | METH_COEXIST, PyDoc_STR("See PEP 585")}, > ... > }; > > > Note the flags: METH_CLASS says that it's a class method and > METH_COEXIST sa

Re: How to support annotations for a custom type in a C extension?

2021-09-17 Thread Marco Sulla
Ooook. I have a question. Why is this code not present in dictobject.c? Where are the dict annotations implemented? On Sat, 18 Sept 2021 at 03:00, MRAB wrote: > > On 2021-09-17 21:03, Marco Sulla wrote: > > I created a custom dict in a C extension. Name it `promethea`. How can > > I implement

Re: How to support annotations for a custom type in a C extension?

2021-09-17 Thread MRAB
On 2021-09-17 21:03, Marco Sulla wrote: I created a custom dict in a C extension. Name it `promethea`. How can I implement `promethea[str, str]`? Now I get: TypeError: 'type' object is not subscriptable Somewhere you'll have a table of the class's methods. It needs an entry like this: stati

How to support annotations for a custom type in a C extension?

2021-09-17 Thread Marco Sulla
I created a custom dict in a C extension. Name it `promethea`. How can I implement `promethea[str, str]`? Now I get: TypeError: 'type' object is not subscriptable -- https://mail.python.org/mailman/listinfo/python-list

Re: argparse support of/by argparse

2021-07-23 Thread Chris Angelico
On Fri, Jul 23, 2021 at 5:34 PM Albert-Jan Roskam wrote: > > >>> [1] https://pypi.org/project/clize/ > > > I use and like docopt (https://github.com/docopt/docopt). Is clize a better > choice? > Not necessarily. Both are good. Explore both, see which one makes more sense. ChrisA -- https://mai

Re: argparse support of/by argparse

2021-07-23 Thread Albert-Jan Roskam
>>> [1] https://pypi.org/project/clize/ I use and like docopt (https://github.com/docopt/docopt). Is clize a better choice? -- https://mail.python.org/mailman/listinfo/python-list

Re: argparse support of/by argparse

2021-07-14 Thread Chris Angelico
e, this > approach can really help with correctness. > > If someone has a mypy extension/plugin that can do argparse as well, I may > switch. Until then > The more complicated the program, the more you lose by this approach. Yes, mypy is satisfied with your code, but your argum

Re: argparse support of/by argparse

2021-07-14 Thread Dan Stromberg
On Mon, Jul 12, 2021 at 12:34 PM Chris Angelico wrote: > On Tue, Jul 13, 2021 at 5:22 AM lucas wrote: > > Running CPython on it will raise a TypeError, and running Mypy on it > > will indicate that no issues were found. > > > > I was wondering if there is any way for me to have mypy detecting th

Re: argparse support of/by argparse

2021-07-13 Thread lucas
Mmmh, that may work just fine ! Thanks for that idea, ChrisA, i'm looking forward to implement that. Best wishes, --lucas On 12/07/2021 21:33, Chris Angelico wrote: On Tue, Jul 13, 2021 at 5:22 AM lucas wrote: Hello everyone, Let us consider this patch of code: import argparse

Re: argparse support of/by argparse

2021-07-12 Thread Chris Angelico
On Tue, Jul 13, 2021 at 5:22 AM lucas wrote: > > Hello everyone, > > Let us consider this patch of code: > > import argparse > > def parse_cli() -> argparse.Namespace: > parser = argparse.ArgumentParser() > parser.add_argument('n', type=int) > return parser.par

argparse support of/by argparse

2021-07-12 Thread lucas
Hello everyone, Let us consider this patch of code: import argparse def parse_cli() -> argparse.Namespace: parser = argparse.ArgumentParser() parser.add_argument('n', type=int) return parser.parse_args() args = parse_cli() print(args.n + ' ') # type err

Re: Async requests library with NTLM auth support?

2021-06-03 Thread Albert-Jan Roskam
> Asyncio and httpx [1] look promising but don't seem to support ntlm. Any tips? ==> https://pypi.org/project/httpx-ntlm/ Not sure how I missed this in the first place. :-) -- https://mail.python.org/mailman/listinfo/python-list

Async requests library with NTLM auth support?

2021-06-01 Thread Albert-Jan Roskam
Hi, I need to make thousands of requests that require ntlm authentication so I was hoping to do them asynchronously. With synchronous requests I use requests/requests_ntlm. Asyncio and httpx [1] look promising but don't seem to support ntlm. Any tips? Cheers! Albert-Jan

Hypertag - new language for HTML templating with Django support (announcement)

2021-04-13 Thread Marcin Wojnarski
Hello everyone, Hypertag (http://hypertag.io/) is a new language for document generation and HTML templating that has been released recently. Inspired by indentation-based template languages (Slim, Haml, Shpaml), it provides clean, readable syntax and multiple original features: - native

Re: Why doesn't collections.Counter support a "key" argument in its constructor?

2020-09-12 Thread Random832
;s say 29 students in the list had scored 100 marks, so > one entry in the counter would be key=100, val=29. > > So, why doesn't Counter's constructor support this argument? Are there > other pythonic ways to do this? I'd like to add to this discussion that a feature

Re: Why doesn't collections.Counter support a "key" argument in its constructor?

2020-09-12 Thread Peter Otten
d scored 100 marks, > so one entry in the counter would be key=100, val=29. > > So, why doesn't Counter's constructor support this argument? Are there > other pythonic ways to do this? Yes, as the counter won't store the original student there is no advantage over the

Re: Why doesn't collections.Counter support a "key" argument in its constructor?

2020-09-12 Thread Chris Angelico
x27;s say 29 students in the list had scored 100 marks, so > one entry in the counter would be key=100, val=29. > > So, why doesn't Counter's constructor support this argument? Are there > other pythonic ways to do this? > If I'm interpreting this correctly, a compre

Why doesn't collections.Counter support a "key" argument in its constructor?

2020-09-12 Thread Saurav Chirania
val=29. So, why doesn't Counter's constructor support this argument? Are there other pythonic ways to do this? Regards, Saurav Chirania -- https://mail.python.org/mailman/listinfo/python-list

ANN: Support for Python, Flask and Django in oso.

2020-09-10 Thread Stephanie Glaser
ANN: Support for Python, Flask and Django in oso. Hey everyone - We built an open source policy engine for authorization that's embedded in your application, called oso <http://osohq.com/>. oso works in any Python application. We also have flask-oso and django-oso, integrations fo

Re: Support

2020-08-13 Thread Igor Korot
; Para: python-list@python.org > > Asunto: Support > > > > Hello, I am Alexa > > I have tried to install PYTHON 3.8.5, but could not install it on my > > computer. I would like to receive help since always when installing and > > opening, it indicates the same pa

Re: Support

2020-08-13 Thread dn via Python-list
On 14/08/2020 08:31, Alexa Oña wrote: Helo, I am already subscribed. I De: Alexa Oña Enviado: jueves, 13 de agosto de 2020 18:51 Para: python-list@python.org Asunto: Support Hello, I am Alexa I have tried to install PYTHON 3.8.5, but could not install it on

RE: Support

2020-08-13 Thread Alexa Oña
Helo, I am already subscribed. I De: Alexa Oña Enviado: jueves, 13 de agosto de 2020 18:51 Para: python-list@python.org Asunto: Support Hello, I am Alexa I have tried to install PYTHON 3.8.5, but could not install it on my computer. I would like to receive help

Re: Support both asyncio and synchronous callers

2020-07-28 Thread Barry Scott
m an asynchronous context' % await instance.hello()) > instance.stop() > > sync_demo() > asyncio.run(async_demo()) > > == > > Is there a better way to approach this? > > Our wider ecosystem seem to be forking networking libraries into >

Support both asyncio and synchronous callers

2020-07-26 Thread Damian Johnson
ch this? Our wider ecosystem seem to be forking networking libraries into sync/async variants, with requests [4] and AIOHTTP [5] as the most prominent. Are there any libraries out there that demonstrate good support for both kinds of callers without duplicating their API? Thanks! -Damian PS. I

Re: This is the email address I Believe I should email for support.

2019-12-18 Thread Igor Korot
Hi, On Wed, Dec 18, 2019 at 7:03 AM Anthony Graziano wrote: > >When I try to uninstall python 3.8.0 to reinstall, it says that the >program is currsntly running. Why do you want to reinstall it? Does python interpreter actually running? Can you go to the "Task Manager" and see it punning

This is the email address I Believe I should email for support.

2019-12-18 Thread Anthony Graziano
When I try to uninstall python 3.8.0 to reinstall, it says that the program is currsntly running.   Please help   Sent from [1]Mail for Windows 10   References Visible links 1. https://go.microsoft.com/fwlink/?LinkId=550986 -- https://mail.python.org/mailman/listi

Re: 3.7.4 (latest) install changes python to py and removes pip support

2019-10-11 Thread Eryk Sun
So, to finish out, right-click a .py file; select the "open with" menu; and click on "choose another app". Select the Python app with a rocket in the icon and enable the toggle to "always use this app". Select ok. This should ensure that "Python.File"

3.7.4 (latest) install changes python to py and removes pip support

2019-10-11 Thread Jim Elphick
I upgraded my Python 3.7.3 windows install to 3.7.4 using the windows download from python.org. After the install, the keyword "python" will no longer invoke python. "python3" also fails. "py" is now the only access to python. py -version returns Python 3.7.4

RE: 3.7.4 (latest) install changes python to py and removes pip support

2019-10-11 Thread Jim Elphick
tempted to upgrade to pip 19.2.3, but it actually installed it successfully. Pipenv upgraded with no issue. Python is back! Thank you. Jim From: Jim Elphick Sent: Friday, October 11, 2019 11:03 AM To: python-list@python.org Subject: 3.7.4 (latest) install changes python to py and removes pip

Re: Let the copyfilepath.py to support chinese file path name.

2019-08-23 Thread DL Neil
On 24/08/19 2:36 AM, Hongyi Zhao wrote: Hi, The following is a gedit plugin which provides a way to copy the current file path to the clipboard. https://github.com/willianveiga/gedit-copy-file-path/blob/master/ copyfilepath.py But, I try and find that it doesn't support the path/file

Let the copyfilepath.py to support chinese file path name.

2019-08-23 Thread Hongyi Zhao
Hi, The following is a gedit plugin which provides a way to copy the current file path to the clipboard. https://github.com/willianveiga/gedit-copy-file-path/blob/master/ copyfilepath.py But, I try and find that it doesn't support the path/file names including chinese characters. In

Re: Socket.py SSM support

2019-06-03 Thread Barry
> On 1 Jun 2019, at 14:32, Max Franke wrote: > > Hi, > > as of right now there appears to be a lack of setsockoptions required to > enable SSM, MCAST_JOIN_SOURCE_GROUP or something a kin to that in particular. > Is there currently any effort to add those options or any other workaround to

Re: Checking support for network connections from Python client to IPv6 server

2019-06-02 Thread Cameron Simpson
On 02Jun2019 17:49, Chris Angelico wrote: On Sun, Jun 2, 2019 at 5:17 PM Markus Elfring wrote: >> How would like to explain the error message “socket.gaierror: >> [Errno -9] >> Address family for hostname not supported” on my Linux test system then? > > Can you supply a tiny standalone piece

Re: Checking support for network connections from Python client to IPv6 server

2019-06-02 Thread Chris Angelico
On Sun, Jun 2, 2019 at 5:17 PM Markus Elfring wrote: > > >> How would like to explain the error message “socket.gaierror: [Errno -9] > >> Address family for hostname not supported” on my Linux test system then? > > > > Can you supply a tiny standalone piece of code demonstrating this error > > pl

Re: Checking support for network connections from Python client to IPv6 server

2019-06-02 Thread Markus Elfring
>> How would like to explain the error message “socket.gaierror: [Errno -9] >> Address family for hostname not supported” on my Linux test system then? > > Can you supply a tiny standalone piece of code demonstrating this error > please? The following script part would be relevant. … def send_da

Re: Checking support for network connections from Python client to IPv6 server

2019-06-02 Thread Markus Elfring
>> How would like to explain the error message “socket.gaierror: [Errno -9] >> Address family for hostname not supported” on my Linux test system then? > > Can you supply a tiny standalone piece of code demonstrating this error > please? The following script part would be relevant. … def send_da

Re: Checking support for network connections from Python client to IPv6 server

2019-06-01 Thread Cameron Simpson
t expected connections by my small script “socket-send_test_data1.tcl”. Under which circumstances will the Python programming interfaces support the direct usage of the identification “::1”? I'm not sure I understand the question. They do. How would like to explain the error message “socket.g

Re: Checking support for network connections from Python client to IPv6 server

2019-06-01 Thread Markus Elfring
mall script “socket-send_test_data1.tcl”. >> Under which circumstances will the Python programming interfaces >> support the direct usage of the identification “::1”? > > I'm not sure I understand the question. They do. How would like to explain the error message “socket.gaierror:

Socket.py SSM support

2019-06-01 Thread Max Franke
Hi, as of right now there appears to be a lack of setsockoptions required to enable SSM, MCAST_JOIN_SOURCE_GROUP or something a kin to that in particular. Is there currently any effort to add those options or any other workaround to make SSM work in python natively? Best regards Max -- https

drop jython support in mock backport?

2019-04-30 Thread Chris Withers
Hi All, If you need Jython support in the mock backport, please shout now: https://github.com/testing-cabal/mock/issues/453 cheers, Chris -- https://mail.python.org/mailman/listinfo/python-list

Re: Checking support for efficient appending to mapped data

2019-04-30 Thread Markus Elfring
ct” for such a mapping as standard functionality. https://docs.python.org/3/library/stdtypes.html#mapping-types-dict Python's support for associative containers is generally nice. But I find that consequences from modification of mapped data can become more interesting for the mentioned use

RE: python3.7.2 won't compile with SSL support (solved)

2019-02-21 Thread Felix Lazaro Carbonell
Incredibly: ./configure --with-ssl=/usr/include/openssl/ Made the trick!! Although --with-ssl is not documented in ./configure --help. Cheers, Felix. -- https://mail.python.org/mailman/listinfo/python-list

Re: python3.7.2 won't compile with SSL support

2019-02-21 Thread Kushal Kumaran
"Felix Lazaro Carbonell" writes: > Hello: > > > > I'm trying to install python3.7.2 from source in debian9.8 but it doesn't > compile with SSL. > > > > I already installed openssl > > > > And ./configure -with-openssl=/usr/include/openssl/ yields: > > > > checking for openssl/ssl.h in /u

python3.7.2 won't compile with SSL support

2019-02-21 Thread Felix Lazaro Carbonell
Hello: I'm trying to install python3.7.2 from source in debian9.8 but it doesn't compile with SSL. I already installed openssl And ./configure -with-openssl=/usr/include/openssl/ yields: checking for openssl/ssl.h in /usr/include/openssl/... no and ssl.h is certainly in /usr/in

curses textpad.py UTF-8 support

2019-01-09 Thread elig0n
is non existent. Unicode input text won't show up. It probably needs to be rewritten with get_wch() as was suggested in the following SO question before get_wch() was implemented, together with proper key code parsing (in do_command()) and probably more as to prevent breakage [ https://stackove

Re: [Tutor] Error Python version 3.6 does not support this syntax.

2018-11-29 Thread Cameron Simpson
On 30Nov2018 02:19, srinivasan wrote: Thanks a lot for your quick responses, again the below line seems to be throwing the same error, is that should I again decode the line where am facing the issue to str? or could you please let me if there is any alternative solution for the same or workarou

Re: [Tutor] Error Python version 3.6 does not support this syntax.

2018-11-29 Thread srinivasan
Dear Mats, Thanks a lot for your quick responses, again the below line seems to be throwing the same error, is that should I again decode the line where am facing the issue to str? or could you please let me if there is any alternative solution for the same or workaround in python 3.6? Code Snipp

Bytes vs Strings (Was Re: [Tutor] Error Python version 3.6 does not support this syntax)

2018-11-29 Thread Rhodri James
On 29/11/2018 19:20, srinivasan wrote: With the below code snippet, I am seeing the below error, I am using python 3.6, could you please what could be the issue? [snip] Traceback (most recent call last): File "/home/srinivasan/Downloads/bt_tests/qa/test_library/bt_tests.py", line 169, in

Re: [Tutor] Error Python version 3.6 does not support this syntax.

2018-11-29 Thread Mats Wichmann
On 11/29/18 12:20 PM, srinivasan wrote: > Dear Python Experts, > > With the below code snippet, I am seeing the below error, I am using > python 3.6, could you please what could be the issue? > self.child = pexpect.spawn("bluetoothctl", echo = False) ... > self.child.send(command

Re: [Tutor] Error Python version 3.6 does not support this syntax.

2018-11-29 Thread srinivasan
As still I am newbie and learning python, I am trying to reuse the > > Bluetoothctl wrapper in Python from the link ( > > https://gist.github.com/egorf/66d88056a9d703928f93) I am using python3.6 > > version, In pycharm editor on the bold highlighted code snippets I see the > >

Re: [Tutor] Error Python version 3.6 does not support this syntax.

2018-11-27 Thread Mats Wichmann
editor on the bold highlighted code snippets I see the > error message "Python version 3.6 does not support this syntax.", once again you've posted in a way that inserts lots of extra crud, you avoided that last time. The syntax change is simple (and works on most older Pythons

Re: Error Python version 3.6 does not support this syntax.

2018-11-27 Thread Terry Reedy
On 11/27/2018 8:24 AM, Frank Millman wrote: In the line 'return None',  it may be complaining that None is superfluous - a plain 'return' does the same thing. PEP 8 recommends explicit 'return None' if elsewhere in the function there is an explicit 'return something', as in if condition

Re: Error Python version 3.6 does not support this syntax.

2018-11-27 Thread Terry Reedy
editor on the bold highlighted code snippets I see the error message "Python version 3.6 does not support this syntax.", No version of Python 3 supports the the old exception statement syntax. Python 2.7, released in 2010, supports both the old and the new syntax. I am not sure about 2.6

Re: Error Python version 3.6 does not support this syntax.

2018-11-27 Thread Frank Millman
python3.6 version, In pycharm editor on the bold highlighted code snippets I see the error message "Python version 3.6 does not support this syntax.", Could you please how help me how the below highlighted lines of code can be can be ported to python3.6 version? *except

Re: Error Python version 3.6 does not support this syntax.

2018-11-27 Thread Brian Oney via Python-list
On Tue, 2018-11-27 at 13:50 +0100, srinivasan wrote: > > *except BluetoothctlError, e:* > I don't have python3.6 available, but I believe the proper syntax is: except BluetoothctlError as e: print(e) See: https://docs.python.org/3/tutorial/errors.html?highlight=exception HTW -- h

Error Python version 3.6 does not support this syntax.

2018-11-27 Thread srinivasan
"Python version 3.6 does not support this syntax.", Could you please how help me how the below highlighted lines of code can be can be ported to python3.6 version? *except BluetoothctlError, e:* *print(e)* *return None* Full Code snippet:

How to drop six support and go to Python 3 only?

2018-09-05 Thread Fabio Zadrozny
My scenario is having an app which was on Py 2, ported to Python 2 and 3 (using six) and will become Python 3 only in a few months. So, my question is: when Python 2 is no longer needed, is there some tool which helps removing the six compatibility layer (as well as the if six.PY2/six.PY3 checks)

Re: ironpython not support py3.6

2018-06-26 Thread Peter J. Holzer
From: "Peter J. Holzer" From: "Peter J. Holzer" --prnws536gtytpj5v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2018-06-22 17:20:29 -0700, denis.akhiya...@gmail.com wrote: > Either wait for IronPython 3.6, use COM intero

Re: ironpython not support py3.6

2018-06-26 Thread wxjmfauth
To: Steven D'Aprano From: "wxjmfauth" To: Steven D'Aprano From: wxjmfa...@gmail.com Le vendredi 22 juin 2018 11:07:15 UTC+2, Steven D'Aprano a ─CcritΓ : > > C# <--> IronPython 2.7 <--> CPython 3.6 > C# <--> IronPython 2.7. It will not work. Coding of characters ! Try with IronPython 2.7.8.

RE: ironpython not support py3.6

2018-06-26 Thread denis akhiyarov
To: Schachner, Joseph From: "denis akhiyarov" To: Schachner, Joseph From: denis.akhiya...@gmail.com Either wait for IronPython 3.6, use COM interop, pythonnet, subprocess, or things like gRPC. Based on PyPy experience, it is probably 1-2 years of sponsored development to get a working IronPy

Re: ironpython not support py3.6

2018-06-24 Thread Peter J. Holzer
From: "Peter J. Holzer" --prnws536gtytpj5v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2018-06-22 17:20:29 -0700, denis.akhiya...@gmail.com wrote: > Either wait for IronPython 3.6, use COM interop, pythonnet, > subprocess

Re: ironpython not support py3.6

2018-06-24 Thread wxjmfauth
To: Steven D'Aprano From: wxjmfa...@gmail.com Le vendredi 22 juin 2018 11:07:15 UTC+2, Steven D'Aprano a ─CcritΓ : > > C# <--> IronPython 2.7 <--> CPython 3.6 > C# <--> IronPython 2.7. It will not work. Coding of characters ! Try with IronPython 2.7.8. PS Yes, I know, it is based on .NET !!!

RE: ironpython not support py3.6

2018-06-24 Thread denis akhiyarov
To: Schachner, Joseph From: denis.akhiya...@gmail.com Either wait for IronPython 3.6, use COM interop, pythonnet, subprocess, or things like gRPC. Based on PyPy experience, it is probably 1-2 years of sponsored development to get a working IronPython 3.6. --- BBBS/Li6 v4.10 Toy-3 * Origin: Pri

Re: ironpython not support py3.6

2018-06-23 Thread Peter J. Holzer
On 2018-06-22 17:20:29 -0700, denis.akhiya...@gmail.com wrote: > Either wait for IronPython 3.6, use COM interop, pythonnet, > subprocess, or things like gRPC. Based on PyPy experience, it is > probably 1-2 years of sponsored development to get a working > IronPython 3.6. What is the current state

RE: ironpython not support py3.6

2018-06-22 Thread denis . akhiyarov
Either wait for IronPython 3.6, use COM interop, pythonnet, subprocess, or things like gRPC. Based on PyPy experience, it is probably 1-2 years of sponsored development to get a working IronPython 3.6. -- https://mail.python.org/mailman/listinfo/python-list

RE: ironpython not support py3.6

2018-06-22 Thread Schachner, Joseph
Wait. -Original Message- From: fantasywan...@gmail.com Sent: Friday, June 22, 2018 2:45 AM To: python-list@python.org Subject: ironpython not support py3.6 We have a project implemented with c# and python, iron python is a good choice for us to integrate these two tech together but

Re: ironpython not support py3.6

2018-06-22 Thread Steven D'Aprano
On Thu, 21 Jun 2018 23:44:40 -0700, fantasywangxg wrote: > We have a project implemented with c# and python, iron python is a good > choice for us to integrate these two tech together but iron python not > support python 3.6 yet, any suggest for this? How big is your budget? Could yo

ironpython not support py3.6

2018-06-21 Thread fantasywangxg
We have a project implemented with c# and python, iron python is a good choice for us to integrate these two tech together but iron python not support python 3.6 yet, any suggest for this? -- https://mail.python.org/mailman/listinfo/python-list

Re: [ZODB] Multithreaded connection pooling support for ZODB databases?

2018-04-25 Thread Etienne Robillard
Hi, I would like to know if you could please share some input about this ThreadConnectionPool class for libschevo/ZODB. :) Thanks! Etienne Le 2018-04-20 à 04:49, Etienne Robillard a écrit : Heads up people! I've finally managed to make a working `ThreadedConnectionPool` class for supporti

Re: [ZODB] Multithreaded connection pooling support for ZODB databases?

2018-04-20 Thread Etienne Robillard
Heads up people! I've finally managed to make a working `ThreadedConnectionPool` class for supporting multiple ZODB databases connections on top of libschevo API! :) Technically, I decided to use gevent.Greenlet under the hood to spawn multiple cooperative ClientStorage client/server connect

Re: PyPy support breaking CPython compatibility?

2018-02-01 Thread Etienne Robillard
Le 2018-01-31 à 05:21, Ned Batchelder a écrit : On 1/30/18 3:58 PM, Etienne Robillard wrote: Hi Ned, Le 2018-01-30 à 15:14, Ned Batchelder a écrit : I'm curious what you had to change for PyPy? (Unless it's a Py2/Py3 thing as Chris mentions.) Please take a look at the changesets: https:

Re: PyPy support breaking CPython compatibility?

2018-01-31 Thread Ned Batchelder
On 1/30/18 3:58 PM, Etienne Robillard wrote: Hi Ned, Le 2018-01-30 à 15:14, Ned Batchelder a écrit : I'm curious what you had to change for PyPy? (Unless it's a Py2/Py3 thing as Chris mentions.) Please take a look at the changesets: https://bitbucket.org/tkadm30/libschevo/commits/745d1aeab

Re: PyPy support breaking CPython compatibility?

2018-01-31 Thread Chris Angelico
On Wed, Jan 31, 2018 at 8:15 PM, Etienne Robillard wrote: > > > Le 2018-01-30 à 16:38, Ned Batchelder a écrit : >>> >>> I'm confused by this: >>> >>> -if os.environ.get('SCHEVO_OPTIMIZE', '1') == '1': >>> +if os.environ.get('SCHEVO_OPTIMIZE', '1') == True: >>> >> I was also curious about this: whe

Re: PyPy support breaking CPython compatibility?

2018-01-31 Thread Etienne Robillard
Le 2018-01-30 à 16:38, Ned Batchelder a écrit : I'm confused by this: -if os.environ.get('SCHEVO_OPTIMIZE', '1') == '1': +if os.environ.get('SCHEVO_OPTIMIZE', '1') == True: I was also curious about this: when does os.environ.get return anything but a string? I was probably high when I cod

Re: PyPy support breaking CPython compatibility?

2018-01-30 Thread Ned Batchelder
On 1/30/18 4:08 PM, Chris Angelico wrote: On Wed, Jan 31, 2018 at 7:58 AM, Etienne Robillard wrote: Hi Ned, Le 2018-01-30 à 15:14, Ned Batchelder a écrit : I'm curious what you had to change for PyPy? (Unless it's a Py2/Py3 thing as Chris mentions.) Please take a look at the changesets: ht

Re: PyPy support breaking CPython compatibility?

2018-01-30 Thread Chris Angelico
nsider doing differently: -except schevo.error.SchemaFileIOError: +except schevo.error.SchemaFileIOError, ex: +print ex The comma version is only needed on really old versions of Python (2.4? something like that), and won't work on Python 3. Unless support for ancient

Re: PyPy support breaking CPython compatibility?

2018-01-30 Thread Etienne Robillard
Hi Ned, Le 2018-01-30 à 15:14, Ned Batchelder a écrit : I'm curious what you had to change for PyPy? (Unless it's a Py2/Py3 thing as Chris mentions.) Please take a look at the changesets: https://bitbucket.org/tkadm30/libschevo/commits/745d1aeab5c6ee0d336790cf13d16f327e10c2f8 https://bitbuc

Re: PyPy support breaking CPython compatibility?

2018-01-30 Thread Ned Batchelder
'm not sure how I should distribute my changes to the respective projects. You should make pull requests to the projects so they can incorporate the changes. --Ned. Since I decided to use more PyPy in my Django projects, should I drop Python 2.7 support and release the experimental co

Re: PyPy support breaking CPython compatibility?

2018-01-30 Thread Etienne Robillard
Hi Chris, Le 2018-01-30 à 14:53, Chris Angelico a écrit : If you're supporting Python 3, I don't think there's any problem with saying "Python 2.7 support ceases as of Schevo v4.0, so if you need Py 2.7 use Schevo 3.x". (It's not as if the old versions will sudd

Re: PyPy support breaking CPython compatibility?

2018-01-30 Thread Chris Angelico
ective projects. > > Since I decided to use more PyPy in my Django projects, should I drop Python > 2.7 support and release the experimental code on PyPi ? > > > What do you think? First off, what's your status on Python 3? When you say "PyPy 5.9", are you referring t

PyPy support breaking CPython compatibility?

2018-01-30 Thread Etienne Robillard
Python 2.7 support and release the experimental code on PyPi ? What do you think? Etienne -- Etienne Robillard tkad...@yandex.com https://www.isotopesoftware.ca/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Automated distribution building tools to support SpamBayes

2017-12-17 Thread Skip Montanaro
Thanks. I've had a couple references to Appveyor, so will see if I can make heads or tails of it during my Christmas-to-New Year's break. Skip On Dec 15, 2017 5:43 PM, "Ned Batchelder" wrote: > On 12/15/17 2:03 PM, Skip Montanaro wrote: > >> SpamBayes (http://www.spambayes.org/) has languished

Re: Automated distribution building tools to support SpamBayes

2017-12-15 Thread Ned Batchelder
On 12/15/17 2:03 PM, Skip Montanaro wrote: SpamBayes (http://www.spambayes.org/) has languished for quite awhile, in part because nobody is around who can put together a Windows installer. Unfortunately, most users are on Windows and have to work around problems caused by the march of time and co

Automated distribution building tools to support SpamBayes

2017-12-15 Thread Skip Montanaro
SpamBayes (http://www.spambayes.org/) has languished for quite awhile, in part because nobody is around who can put together a Windows installer. Unfortunately, most users are on Windows and have to work around problems caused by the march of time and consequent beefing up of Windows security. I d

Re: ANN: psutil 5.3.0 with full unicode support is out

2017-09-04 Thread Giampaolo Rodola'
Mmm thanks for pointing this out. I don't have a Windows machine to test this against right now but it seems you're right and there's something wrong in my example (which is what I recommend in the official doc BTW, so it needs to be fixed). That aside, do you think the rest of my reasoning makes

Re: ANN: psutil 5.3.0 with full unicode support is out

2017-09-03 Thread eryk sun
On Sun, Sep 3, 2017 at 11:09 PM, Giampaolo Rodola' wrote: > > This is an example which filters processes with a funky name which works > with both Python 2 > and 3: > > import psutil, sys > > PY3 = sys.version_info[0] == 2 > LOOKFOR = u"ƒőő.exe" > for proc in psutil.process_iter(at

Re: ANN: psutil 5.3.0 with full unicode support is out

2017-09-03 Thread Giampaolo Rodola'
Hello Eryk, it is true that the most correct way to represent strings in Python 2 is by dealing with Unicode but it is also true that the most common scenario in both the stdlib and most third party libs is to return and deal with str (bytes) instead, so this is why I decided to do the same in psut

Re: ANN: psutil 5.3.0 with full unicode support is out

2017-09-03 Thread eryk sun
On Sun, Sep 3, 2017 at 9:58 AM, Giampaolo Rodola' wrote: > > - #1040: all strings are encoded by using OS fs encoding. > - #1040: the following Windows APIs on Python 2 now return a string instead > of > unicode: > - Process.memory_maps().path > - WindowsService.bin_path() > - WindowsServi

ANN: psutil 5.3.0 with full unicode support is out

2017-09-03 Thread Giampaolo Rodola'
Hello all, I'm glad to announce the release of psutil 5.3.0: https://github.com/giampaolo/psutil A blogpost describing the main changes is available here: http://grodola.blogspot.com/2017/09/psutil-530-with-full-unicode-support-is.html About = psutil (process and system utilities) is a

  1   2   3   4   5   6   7   8   9   10   >