[issue28494] is_zipfile false positives

2018-01-30 Thread John Jolly
Change by John Jolly <jjo...@suse.com>: -- nosy: +gregory.p.smith ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue28494> ___ _

[issue28494] is_zipfile false positives

2018-01-30 Thread John Jolly
John Jolly <jjo...@suse.com> added the comment: Is there any chance that this will make it into 3.7 or is my reminder too late? -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32476] Add concat functionality to ElementTree xpath find

2018-01-30 Thread John Jolly
John Jolly <jjo...@suse.com> added the comment: I understand that the feature is likely too late, but I do not want it to get lost. Is there any way to make certain this feature is accepted for the next release? Do I just select the 3.8 version for this

[issue32476] Add concat functionality to ElementTree xpath find

2018-01-20 Thread John Jolly
Change by John Jolly <jjo...@suse.com>: -- pull_requests: +5098 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue32476] Add concat functionality to ElementTree xpath find

2018-01-12 Thread John Jolly
Change by John Jolly <jjo...@suse.com>: -- nosy: +eli.bendersky ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32476> ___ __

[issue32476] Add concat functionality to ElementTree xpath find

2018-01-01 Thread John Jolly
New submission from John Jolly <jjo...@suse.com>: The current implementation of the xpath specification in ElementTree does not allow for predicates that may contain both an apostrophe and a quote. Either one or the other is allowed, but escaping (either string escaping using the bac

[issue28494] is_zipfile false positives

2017-12-30 Thread John Jolly
John Jolly <jjo...@suse.com> added the comment: Fix submitted that evaluates the ECD structure and validates the first CD entry. The fix also handles empty zipfiles. IMO the purpose of this API is to *quickly* verify that the file is a valid zipfile. With this fix, the API only reads a

[issue28494] is_zipfile false positives

2017-12-30 Thread John Jolly
Change by John Jolly <jjo...@suse.com>: -- pull_requests: +4934 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue22908] ZipExtFile in zipfile can be seekable

2017-12-22 Thread John Jolly
John Jolly <jjo...@suse.com> added the comment: Please be gentle, this is my first submission to python. The use case for me was a recursive zip-within-a-zip situation. I wanted to allow the creation of a zipfile.ZipFile from an existing zipfile.ZipExtFile, but the lack of seek pre

Question on multiple Python users in one application

2016-10-06 Thread Jolly Good Spam
Hello. Please pardon a newbie question. I have a Windows multi-user program that can be used by an arbitrary number of users at once. They can work independently, or they can share data at the file or even variable level if they want. I want to give them the ability to write Python programs

Help %A in time.strftime(%A)

2007-12-19 Thread jolly
Hey guys, I'm following a tutorial on Python and I came across this in one of the examples. (Toggle Plain Text) import time today = time.localtime(time.time()) theDate = time.strftime(%A %B %d, today) print today print theDate import time today = time.localtime(time.time()) theDate =

Help %A in time.strftime(%A)

2007-12-19 Thread jolly
Hey guys, I'm following a tutorial on Python and I came across this in one of the examples. import time today = time.localtime(time.time()) theDate = time.strftime(%A %B %d, today) print today print theDate Result: (2007, 12, 20, 9, 48, 15, 3, 354, 1) Thursday December 20 can someone

NameError: name 'main' is not defined

2007-12-18 Thread jolly
hey guys, When i try to run my code I get an error. NameError name 'main is not defined' [code] if __name__ == __main__: main() filename = addbook.dat def main(): theMenu = ''' 1) Add Entry 2) Remove Entry 3) Find Entry 4) Quit and Save ''' theBook = {}

Re: NameError: name 'main' is not defined

2007-12-18 Thread jolly
thanks -- http://mail.python.org/mailman/listinfo/python-list

import

2007-07-06 Thread jolly
Hey guys, I'm rather new to python and i'm have trouble(as usual) I want to know if it is possible to change where 'import' looks this will save me clogging up my python directory Thanks -- http://mail.python.org/mailman/listinfo/python-list

NOOOOB

2007-05-22 Thread jolly
Hey guys, I want to begin python. Does anyone know where a good starting point is? Thanks, Jem -- http://mail.python.org/mailman/listinfo/python-list