Re: IBM python documentation? [was: RE: IBM SMF Export with Python]

2022-10-03 Thread David Crayford
ty that are actively ported FOSS to z/OS. Interestingly, this includes the zsh which I'm delighted about. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of David Crayford Sent: Monday, October 3, 2022 1:48 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IBM python

Re: IBM python documentation? [was: RE: IBM SMF Export with Python]

2022-10-03 Thread Farley, Peter x23353
ame Discussion List On Behalf Of David Crayford Sent: Monday, October 3, 2022 1:48 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IBM python documentation? [was: RE: IBM SMF Export with Python] On 3/10/22 07:18, Farley, Peter x23353 wrote: > Where, for instance, in the documentation that you l

Re: IBM python documentation?

2022-10-03 Thread Phil Smith III
Shmuel asked: > BTW, has usage shifted from ISO-8859-1 (Latin 1) to ISO-8859-15 (Latin-9) to > accomodate the Euro €? Not that I’ve noticed, though it may be that they’re really doing -15 and calling it -1. Have not looked at Encoding headers to see. Not to trivialize it—it’s an important

Re: IBM python documentation? [was: RE: IBM SMF Export with Python]

2022-10-03 Thread David Crayford
On 3/10/22 13:47, David Crayford wrote: Porting tools to support MVS data sets in trivial. I meant Porting tools to support MVS data sets is non trivial. -- For IBM-MAIN subscribe / signoff / archive access instructions, send

Re: IBM python documentation? [was: RE: IBM SMF Export with Python]

2022-10-02 Thread David Crayford
On 3/10/22 07:18, Farley, Peter x23353 wrote: Where, for instance, in the documentation that you linked to is there information on whether the python "open()" function for files will or will not support direct access to MVS datasets without transferring them down to the Unix file system?

Re: IBM python documentation? [was: RE: IBM SMF Export with Python]

2022-10-02 Thread David Crayford
The only z/OS specific library is a utility package for tagging files which is documented here https://www.ibm.com/docs/en/python-zos/3.9?topic=package-documentation-zos-util. Doc for disutils and building packages is here

Re: IBM python documentation? [was: RE: IBM SMF Export with Python]

2022-10-02 Thread David Crayford
On 3/10/22 07:18, Farley, Peter x23353 wrote: As the OP of the other thread on python documentation, let me answer that what I expected from IBM for python documentation was the same sort of Language Reference and Programmers Guide manuals as they provide for all of the other major

Re: IBM python documentation? [was: RE: IBM SMF Export with Python]

2022-10-02 Thread Farley, Peter x23353
As the OP of the other thread on python documentation, let me answer that what I expected from IBM for python documentation was the same sort of Language Reference and Programmers Guide manuals as they provide for all of the other major programming languages that they support. My understanding

Re: IBM python documentation?

2022-10-02 Thread Paul Gorlinsky
My motto has always been "Be reasonable! Do it my way." -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: IBM python documentation?

2022-10-02 Thread Matt Hogstrom
I’ve always said everyone wants there to be one standard: the problem is they all want it to be theirs Matt Hogstrom +1 (919) 656-0564 > On Oct 1, 2022, at 22:20, Phil Smith III wrote: > > But it feels kinda like https://xkcd.com/927/ .

Re: IBM python documentation?

2022-10-02 Thread Seymour J Metz
[dcrayf...@gmail.com] Sent: Saturday, October 1, 2022 2:01 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IBM python documentation? On 27/9/22 19:26, Seymour J Metz wrote: > By "enhanced ASCII" do you mean ISO-8859-1? UTF-8? "E. None of the above."? ISO8859-1 is more reliable. Th

Re: IBM python documentation?

2022-10-02 Thread Seymour J Metz
: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Tony Harminc [t...@harminc.net] Sent: Saturday, October 1, 2022 4:20 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IBM python documentation? On Sat, 1 Oct 2022 at 13:40, Phil Smith III wrote: > Jay Maynard wrote: > >OK

Re: IBM python documentation?

2022-10-02 Thread Seymour J Metz
List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of David Crayford [dcrayf...@gmail.com] Sent: Saturday, October 1, 2022 10:38 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IBM python documentation? On 2/10/22 01:40, Phil Smith III wrote: > Jay Maynard wrote: >> OK, so what kind of issues are there

Re: IBM python documentation?

2022-10-01 Thread Mike Schwab
Any text in any code page can be translated into UTF-8 (since it is a merge of all existing ASCII/EBCDIC code pages). A particular UTF-8 string can be converted into a code page IF, AND ONLY IF, all characters are from that code page. If you have any characters outside that code page, you get a

Re: IBM python documentation?

2022-10-01 Thread David Crayford
100% agreement. And it's not just interesting glyphs I've had problems with. Any code point > 0x7F can get interesting. On 2/10/22 11:09, Phil Smith III wrote: David Crayford expounded on some issues with UTF-8 *on z/OS* and _BPX_AUTOCVT=ALL. All legitimate, all real problems, but really z/OS

Re: IBM python documentation?

2022-10-01 Thread Phil Smith III
David Crayford expounded on some issues with UTF-8 *on z/OS* and _BPX_AUTOCVT=ALL. All legitimate, all real problems, but really z/OS issues, not UTF-8 issues. That is, these don't reflect problems with UTF-8 itself. What we see all the time is data that's ISO8859-1 and is treated as 7-bit ASCII

Re: IBM python documentation?

2022-10-01 Thread David Crayford
On 2/10/22 01:40, Phil Smith III wrote: Jay Maynard wrote: OK, so what kind of issues are there with UTF-8? Especially since it's pretty much the standard everywhere, these days? Yeah, that caught my eye too. I suspect the answer is that *mixing* UTF-8 and EBCDIC gets complicated because

Re: IBM python documentation?

2022-10-01 Thread Phil Smith III
Tony Harminc wrote: >There *was* something called UTF-EBCDIC, but IBM and UNICODE seem to have >abandoned it shortly after it was written. > > https://unicode.org/reports/tr16/tr16-7.2.html >I've never understood why there was so little interest

Re: IBM python documentation?

2022-10-01 Thread Tony Harminc
On Sat, 1 Oct 2022 at 13:40, Phil Smith III wrote: > Jay Maynard wrote: > >OK, so what kind of issues are there with UTF-8? Especially since it's > >pretty much the standard everywhere, these days? > > Yeah, that caught my eye too. I suspect the answer is that *mixing* UTF-8 > and EBCDIC gets

Re: IBM python documentation?

2022-10-01 Thread Phil Smith III
Jay Maynard wrote: >OK, so what kind of issues are there with UTF-8? Especially since it's >pretty much the standard everywhere, these days? Yeah, that caught my eye too. I suspect the answer is that *mixing* UTF-8 and EBCDIC gets complicated because you cannot always convert: e.g., if you

Re: IBM python documentation?

2022-10-01 Thread Jay Maynard
ou need to following compiler options: -q64 > > -qascii -qexportall. You may not need "exportall" if IBM have defined > > PyMODINIT_FUNC for the platform. > > > > > >> The new DSFS functionality may or may not relieve the need for an > MVS-spec

Re: IBM python documentation?

2022-10-01 Thread David Crayford
Monday, September 26, 2022 6:41 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IBM python documentation? On 27/9/22 00:34, Farley, Peter x23353 wrote: Thanks for the reminder about the zoautil_py functions, I did know about them but there are gaps -- e.g. ZOAU has no direct support for simple s

Re: IBM python documentation?

2022-09-27 Thread Seymour J Metz
f...@gmail.com] Sent: Monday, September 26, 2022 6:41 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IBM python documentation? On 27/9/22 00:34, Farley, Peter x23353 wrote: > Thanks for the reminder about the zoautil_py functions, I did know about them > but there are gaps -- e.g. ZOAU has no

Re: IBM python documentation?

2022-09-26 Thread David Crayford
dvantages. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of David Crayford Sent: Sunday, September 25, 2022 6:57 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IBM python documentation? On 26/9/22 07:34, Farley, Peter x23353 w

Re: IBM python documentation?

2022-09-26 Thread Colin Paice
hat remains to be seen. > > Peter > > -Original Message- > From: IBM Mainframe Discussion List On Behalf > Of Matt Hogstrom > Sent: Monday, September 26, 2022 8:28 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: IBM python documentation? > > If IIRC IBM loosely

Re: IBM python documentation?

2022-09-26 Thread Farley, Peter x23353
f Matt Hogstrom Sent: Monday, September 26, 2022 8:28 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IBM python documentation? If IIRC IBM loosely paired the IBM ZOAU to “assist Python”. https://community.ibm.com/community/user/ibmz-and-linuxone/blogs/austin-wells1/2020/12/11/using-ibm-open-enterprise

Re: IBM python documentation?

2022-09-26 Thread Matt Hogstrom
>> Charles >> >> -Original Message- >> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On >> Behalf Of David Crayford >> Sent: Sunday, September 25, 2022 6:57 PM >> To: IBM-MAIN@LISTSERV.UA.EDU >> Subject: Re: IB

Re: IBM python documentation?

2022-09-25 Thread Wayne Bickerdike
; > -Original Message- > > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > On Behalf Of David Crayford > > Sent: Sunday, September 25, 2022 6:57 PM > > To: IBM-MAIN@LISTSERV.UA.EDU > > Subject: Re: IBM python documentation? > > > > On

Re: IBM python documentation?

2022-09-25 Thread David Crayford
-MAIN@LISTSERV.UA.EDU] On Behalf Of David Crayford Sent: Sunday, September 25, 2022 6:57 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IBM python documentation? On 26/9/22 07:34, Farley, Peter x23353 wrote: I know Rocket's port of python has some documented enhancements to support MVS dataset access

Re: IBM python documentation?

2022-09-25 Thread Charles Mills
IBM-MAIN@LISTSERV.UA.EDU Subject: Re: IBM python documentation? On 26/9/22 07:34, Farley, Peter x23353 wrote: > I know Rocket's port of python has some documented enhancements to support > MVS dataset access among other things, but I have failed to find any > documentation on the

Re: IBM python documentation?

2022-09-25 Thread David Crayford
On 26/9/22 07:34, Farley, Peter x23353 wrote: I know Rocket's port of python has some documented enhancements to support MVS dataset access among other things, but I have failed to find any documentation on the IBM websites for an IBM-produced "python Programmers Guide" (or similar) that would

IBM python documentation?

2022-09-25 Thread Farley, Peter x23353
I know Rocket's port of python has some documented enhancements to support MVS dataset access among other things, but I have failed to find any documentation on the IBM websites for an IBM-produced "python Programmers Guide" (or similar) that would describe and provide examples for any