[issue46043] Python Launcher Not Opening Files.

2021-12-11 Thread Nicholas Bond
Nicholas Bond added the comment: I am on macOS 12 and it still doesn't work when Terminal.app is open. -- ___ Python tracker <https://bugs.python.org/issue46

[issue46043] Python Launcher Not Opening Files.

2021-12-10 Thread Nicholas Bond
New submission from Nicholas Bond : Python launcher opens its preferences and no terminal or Tkinter application opens. It appears as something was launched because for a fraction of a second, I see a window and then the icon glides back to its position on the desktop. However, python files

[issue43769] ipaddress module takes bytes input as valid ip address

2021-04-07 Thread Philip Bond
Philip Bond added the comment: Thanks Eric. -- ___ Python tracker <https://bugs.python.org/issue43769> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43769] ipaddress module takes bytes input as valid ip address

2021-04-07 Thread Philip Bond
Philip Bond added the comment: To replicate ./cidr-gen.py google.com You will see the IP variable is a Russian IP but that was a red herring, I initially thought its was a compromised module. -- ___ Python tracker <https://bugs.python.

[issue43769] ipaddress module takes bytes input as valid ip address

2021-04-07 Thread Philip Bond
New submission from Philip Bond : Hi I came across an issue with the ipaddress module where it doesent raise a ValueError when passed a non IP address. Example see attached file use tabs for indents and that doesent work with the form. What happens is it when it takes b'PING' as the call

[issue39547] hmac.new() default parameter change not mentioned in changelog

2020-02-03 Thread Will Bond
New submission from Will Bond : When running code on Python 3.8 that previous was running 3.3, I ran into the issue that the default value for the digestmod parameter of hmac.new() has been changed to backwards-incompatible value. I generally would have expected such a break to show up

[issue38821] argparse calls ngettext with deprecated non-integer value

2019-11-16 Thread Federico Bond
New submission from Federico Bond : The call to 'ngettext' in 'ArgumentParser._match_argument' (Lib/argparse.py) uses a non-integer value, which causes it to fail with a nonsensical exception. Non-integer values were deprecated in bpo-28692. This happens because the 'default' error message

[issue37839] makesetup Doesn't Handle Defines with Equal Sign

2019-08-13 Thread Will Bond
New submission from Will Bond : Using 3.8.0b3 on macOS. I'm doing a custom compile with (heavy) modifications to Modules/Setup.local. Whenever I add a define rule to a module line that includes an equal sign, e.g.: _sqlite3 -DMODULE_NAME=_sqlite3 _sqlite/module.c _sqlite/cache.c _sqlite

[issue6721] Locks in python standard library should be sanitized on fork

2014-04-22 Thread Forest Bond
Changes by Forest Bond for...@alittletooquiet.net: -- nosy: +forest_atq ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6721 ___ ___ Python-bugs

[issue3244] multipart/form-data encoding

2012-06-25 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Hi Senthil Kumaran, Thanks for the feedback patch. I agree having support in urllib probably makes some sense. But why not implement basic support elsewhere and then tie it into urllib so those of us using something else can also use

[issue3244] multipart/form-data encoding

2012-05-24 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Sure thing. I'll send it via e-mail later today. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244

[issue3244] multipart/form-data encoding

2012-05-24 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Okay, Contributor Agreement sent. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244

[issue3244] multipart/form-data encoding

2011-08-11 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Hi, Johannes. You can assume the Python license for this patch. -Forest -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244

[issue3244] multipart/form-data encoding

2011-02-15 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Hi, Sorry for the long delay. I have tested against a Python web application using restish via various WSGI web servers (CherryPy, wsgiref) and I have not seen problems. It may cause problems with other server-side implementations

[issue3244] multipart/form-data encoding

2011-02-15 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Looks like bgamari and I stepped on each other's requests. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244

[issue3244] multipart/form-data encoding

2011-02-15 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Hi, So is the following enough to get this applied? If so, I'm game. * Review RFC and enforce Content-Encoding: binary if applicable [checat]. * Generate CR+LF line endings [checat]. * Review RFC and address line-splitting and header

[issue9621] Graphviz output for 2to3 fixer patterns

2010-12-02 Thread Matt Bond
Matt Bond gmattb...@gmail.com added the comment: Sorry for the delay in responding, and for getting this patch cleaned up and submitted. While I was going through my code to submit it, I found a couple of additional issues with it. Then I ended up becoming very busy with my grad courses

[issue9621] Graphviz output for 2to3 fixer patterns

2010-09-29 Thread Matt Bond
Matt Bond gmattb...@gmail.com added the comment: Huh. I must have diffed the wrong version of my code - how embarrassing! I'll update the attached patch later this week. Thanks for catching that. -- ___ Python tracker rep...@bugs.python.org http

[issue9621] Graphviz output for 2to3 fixer patterns

2010-09-22 Thread Matt Bond
Matt Bond gmattb...@gmail.com added the comment: As requested, attached is the output for the fix_buffer fixer, as an example of the kind of output this patch can produce. -- Added file: http://bugs.python.org/file18968/fix_buf_pytree_1.png

[issue9621] Graphviz output for 2to3 fixer patterns

2010-09-21 Thread Matt Bond
Matt Bond gmattb...@gmail.com added the comment: Éric, When I was working with 2to3 this summer I was running it via python3, so I think the patch should work - however, if I've submitted it to the wrong place or the wrong branch, where should I be looking at to ensure my code does work

[issue9621] Graphviz output for 2to3 fixer patterns

2010-08-16 Thread Matt Bond
New submission from Matt Bond gmattb...@gmail.com: As part of my GSoC project working on 2to3, I've created a script which will allow compiled fixer patterns to be visualized using graphviz. This would be useful for debugging and understanding exactly how patterns are matched. I've written

[issue3244] multipart/form-data encoding

2010-06-04 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: I haven't yet touched Python 3.0, and may not have time to dig in at the moment. It wouldn't be suitable to provide a patch against 2.7? -- ___ Python tracker rep...@bugs.python.org http

[issue3244] multipart/form-data encoding

2010-06-04 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Okay, I'll submit against py3k. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244

[issue3244] multipart/form-data encoding

2010-06-04 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Should the module be called rfc2388 or should it go into email.mime as formdata? It seems odd to put something HTML/HTTP related into email.mime, but maybe that would be fine. In any case, httplib docs should probably point

[issue3244] multipart/form-data encoding

2010-06-04 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: As http.formdata? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244 ___ ___ Python

[issue3244] multipart/form-data encoding

2010-06-04 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Hi, Patch attached. Let me know what needs fixing. I had to fix a bug in email.encoders for my tests to pass. I have not run the full test suite at this point (need to build py3k to do that, maybe I'll have time later today

[issue3244] multipart/form-data encoding

2010-06-04 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Éric, Sorry, I just read your message. I'll post a new patch with a module docstring. I believe cgi.FieldStorage is only useful for parsing (i.e. on the server side). MIMEMultipartFormData is for generating multipart/form-data

[issue3244] multipart/form-data encoding

2010-06-04 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Here's a new patch. -- Added file: http://bugs.python.org/file17547/http_formdata.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244

[issue3244] multipart/form-data encoding

2010-06-04 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Hm, there is one issue. The example in the docstring wouldn't work. You have to get the headers *after* the body, because the boundary isn't generated until the body has been. So this would work: body = msg.get_body() headers

[issue3244] multipart/form-data encoding

2010-06-04 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: New patch: * Renames class to FormData. * Replaces method get_body with get_request_data to simplify semantics. * Drops changes to email.encoders. I'll create a new ticket to deal with that bug. Note that tests here fail without

[issue8896] email.encoders.encode_base64 sets payload to bytes, should set to str

2010-06-04 Thread Forest Bond
New submission from Forest Bond for...@alittletooquiet.net: Ran into this while tackling issue3244. Encoded payload members should not be bytes. In the case of base64, we should have an ascii string. -- components: Library (Lib) files: python-email-encoders-base64-str.patch keywords

[issue3244] multipart/form-data encoding

2010-06-04 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: See issue8896 for email.encoders fix. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244

[issue3244] multipart/form-data encoding

2010-06-04 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: I don't think Python trunk has the encoders issue, as that is related to the base64 moving to the bytes type. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3244

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2010-06-04 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Attaching patch from reported duplicate issue8896. -- nosy: +forest_atq Added file: http://bugs.python.org/file17551/python-email-encoders-base64-str.patch ___ Python tracker rep

[issue8896] email.encoders.encode_base64 sets payload to bytes, should set to str

2010-06-04 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Duplicate. See issue4768. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8896

[issue4768] email.generator.Generator object bytes/str crash - b64encode() bug?

2010-06-04 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Note that my patch is roughly the same as the original posted by haypo. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4768

[issue3244] multipart/form-data encoding

2010-06-03 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Hi, I believe the attached implementation is reasonable. I'm not sure if it should be called email.mime.formdata, rfc2388, etc. I'd be happy to attach a proper patch with tests given some quick feedback. Thanks, Forest

[issue3244] multipart/form-data encoding

2010-06-03 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Oh, hm, looks like I left a hard-coded name=files in attach_file. I'll fix that in the patch after I've received any other feedback. -- ___ Python tracker rep...@bugs.python.org http

[issue8029] bug in 2to3 dealing with print FOO, followed by sys.stdout.write('')

2010-04-07 Thread Matt Bond
Matt Bond bo...@uoguelph.ca added the comment: I've attached a patch that fixes this particular idiom as well as a problem with the handling of bare 'print' statements. It also includes updated tests for these issues. -- keywords: +patch nosy: +zxaos Added file: http://bugs.python.org

[issue7527] Standard Library documentation fails to mention that string.Formatter, etc. are new in Python 2.6

2009-12-16 Thread Forest Bond
New submission from Forest Bond for...@alittletooquiet.net: This page: http://docs.python.org/library/string.html ... should mention that the Formatter class and any associated functions are new in Python 2.6. -- assignee: georg.brandl components: Documentation messages: 96493 nosy

[issue7527] Standard Library documentation fails to mention that string.Formatter, etc. are new in Python 2.6

2009-12-16 Thread Forest Bond
Forest Bond for...@alittletooquiet.net added the comment: Ah, I didn't see it there. Oh well, do what seems right. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7527

[issue1488934] file.write + closed pipe = no error

2009-10-07 Thread Forest Bond
Changes by Forest Bond for...@alittletooquiet.net: -- nosy: +forest_atq versions: +Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1488934

[issue3751] str.rpartition fails silently with unicode argument

2008-09-01 Thread Forest Bond
New submission from Forest Bond [EMAIL PROTECTED]: Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type help, copyright, credits or license for more information. u'/foo/bar'.rpartition(u'/') (u'/foo', u'/', u'bar') '/foo/bar'.rpartition(u'/') (u