similar to: Python version for scripts in LLVM?

Displaying 12 results from an estimated 12 matches similar to: "Python version for scripts in LLVM?"

2016 Aug 07
0
Proper XML for compareCPU method
All - What is the proper XML to supply to the Python Connections compareCPU method? I have looked at the cpu_map.xml file and I believe I have the proper XML configured but the method always throws an exception with a missing CPU architecture error. Here is the code. from __future__ import print_function import sys import libvirt conn = libvirt.open('qemu:///system') if conn == None:
2012 Dec 04
2
[LLVMdev] Minimum Python Version
> If there was a concrete need to move to a newer Python version in order to > make lit Python 3 compatible, I would view that as a good reason to move > forward. The concrete need is that users on platforms which ship with Python 3 by default have to put in a workaround (install python2 and patch their $PATH) just to run the test suite. Off the top of my head I know this includes Ubuntu
2018 Dec 06
0
Re: Libvirt api for esx
On Wed, Dec 05, 2018 at 09:44:17PM +0530, ROHIT SINGH wrote: >Hi Martin, > >Could you please help me with below issue, I am not sure what’s wrong here. >Please find below code and error snippet. > >Thanks for help. > >Code Snippet: - > >from __future__ import print_function >import sys >import libvirt >SASL_USER = <username> >SASL_PASS =
2012 Dec 04
0
[LLVMdev] Minimum Python Version
Hi Sean, If there was a concrete need to move to a newer Python version in order to make lit Python 3 compatible, I would view that as a good reason to move forward. I have little experience writing Python 2 & 3 compatible code, so I'd need to see the patch to make lit Python 3 compatible before I could comment more. - Daniel On Tue, Dec 4, 2012 at 9:15 AM, Sean Silva <silvas at
2018 Dec 12
0
Re: Libvirt api for esx
Thanks Martin, It’s working now. Could you please help me with role of xml in libvirt api and what if I don’t want use of xml in my code. Please let me know. Thanks for help!! Regards Rohit Singh On Thu, 6 Dec 2018 at 11:24 PM, ROHIT SINGH <rohit.singh0908@gmail.com> wrote: > Thanks Martin for help. I will give it a shot. > > Regards > Rohit Singh > > On Thu, 6 Dec 2018
2012 Dec 04
3
[LLVMdev] Minimum Python Version
So, I just tried, and basically it's difficult to make progress due to the print statements (since they induce an immediate syntax error). Since 2.4 doesn't support `from __future__ import print_function`, the only alternative I guess is shimming in a print function. This is a maintenance effort that I don't want to do right now (and, TBQH, I feel that the proper maintainer should be
2012 Dec 04
0
[LLVMdev] Minimum Python Version
> several people already asked what are the concrete benefits of breaking support for end-of-life python versions? Generally I think the only compelling argument is "for a given level of maintenance effort, you either sacrifice support for old-dead versions, or new versions", and obviously new versions should be preferred. The question is how much does it cost to interoperate. On
2012 Dec 04
5
[LLVMdev] Minimum Python Version
On Tue, Dec 4, 2012, at 03:23 AM, Sean Silva wrote: > > several people already asked what are the concrete benefits of breaking support for end-of-life python versions? > > Generally I think the only compelling argument is "for a given level > of maintenance effort, you either sacrifice support for old-dead > versions, or new versions", and obviously new versions
2018 Dec 12
1
Re: Libvirt api for esx
On Wed, Dec 12, 2018 at 03:03:41PM +0530, ROHIT SINGH wrote: >Thanks Martin, It’s working now. >Could you please help me with role of xml in libvirt api and what if I >don’t want use of xml in my code. >Please let me know. > Libvirt uses XML for most of the APIs. Depends what you need to do you can transform it with xmltodict or use some higher level API. I'm not sure I can
2018 Dec 05
2
Re: Libvirt api for esx
Hi Martin, Could you please help me with below issue, I am not sure what’s wrong here. Please find below code and error snippet. Thanks for help. Code Snippet: - from __future__ import print_function import sys import libvirt SASL_USER = <username> SASL_PASS = <password> def request_cred(credentials, user_data): for credential in credentials: if credential[0] ==
2018 Dec 06
2
Re: Libvirt api for esx
Thanks Martin for help. I will give it a shot. Regards Rohit Singh On Thu, 6 Dec 2018 at 2:55 PM, Martin Kletzander <mkletzan@redhat.com> wrote: > On Wed, Dec 05, 2018 at 09:44:17PM +0530, ROHIT SINGH wrote: > >Hi Martin, > > > >Could you please help me with below issue, I am not sure what’s wrong > here. > >Please find below code and error snippet. > >
2018 Sep 30
0
IOS connections to Samba 4 worked for years, now authentication fails
On Sat, 29 Sep 2018 16:27:36 -0700 "Deft Developer" <dev at hymes.name> wrote: > I will do the best I can to provide all the needed info. > I will focus on 1 server, GABRIEL, and one share "garage" > It is a samba AD member server on a local subnet. > Here, samba was compiled from sources, release 4.8.3 . > Samba was built and installed on CentOS 7.5.1804