How to make $100,000 in 20-90 days

2015-03-22 Thread Kristina C.
HOW TO MAKE 10 DOLLARS IN 20 -90 DAYS! Send $1.00 to each of the 6 names and addresses stated in the article. You then place your own name and address in the bottom of the list at #6, and post the article in at least 200 newsgroups. No catch, that was it. So after thinking it over, and

[issue23729] Import ElementTree documentation for namespaces and XPath

2015-03-22 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23729 ___

[issue23729] Import ElementTree documentation for namespaces and XPath

2015-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 000814bbc899 by Raymond Hettinger in branch '2.7': Issue 23729: Document ElementTree namespace handling and fix an omission in the XPATH predicate table. https://hg.python.org/cpython/rev/000814bbc899 --

[issue23740] http.client request and send method have some datatype issues

2015-03-22 Thread Martin Panter
Martin Panter added the comment: Summary of the main supported types as I see them, whether documented, undocumented, or only working by accident: * None * Bytes-like sequences, e.g. bytes(), bytearray. I believe Content-Length is actually automatically set for all these types. * Arbitrary

[issue21062] Evalute all import-related modules for best practices

2015-03-22 Thread Mark Lawrence
Mark Lawrence added the comment: Just a gentle reminder as it refers to zipimport and a patch was committed just a few days ago. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21062

[issue21315] email._header_value_parser does not recognise in-line encoding changes

2015-03-22 Thread Mark Lawrence
Mark Lawrence added the comment: Could someone formally review the patch please, it's only three additional lines of code and a new test. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21315

Re: Automation of Windows app?

2015-03-22 Thread vern . muhr
Check out Sikuli at www.sikuli.org. It is an amazing program, and it is scripted in Python (Jython actually)! Good luck. -- https://mail.python.org/mailman/listinfo/python-list

[issue23350] Content-length is incorrect when request body is a list or tuple

2015-03-22 Thread Demian Brecht
Demian Brecht added the comment: @Serhiy: Content-Length shouldn't be calculated for lists, tuples, and other non-bytes-compatible sequences. I'd agree with this if it wasn't relatively trivial to calculate. There's no reason that I can think of to exclude the auto-generated Content-Length

[issue23729] Import ElementTree documentation for namespaces and XPath

2015-03-22 Thread Martin Panter
Martin Panter added the comment: Hi Raymond, perhaps you didn’t see the comments on your second patch on Reitveld. E.g. fromstring() does not have an underscore. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23729

[issue23688] unnecessary copying of memoryview in gzip.GzipFile.write?

2015-03-22 Thread Wolfgang Maier
Wolfgang Maier added the comment: Here is a revised version of my patch addressing Serhiy's review comments. -- Added file: http://bugs.python.org/file38639/write_bytes_like_objects_v2.patch ___ Python tracker rep...@bugs.python.org

[issue23729] Import ElementTree documentation for namespaces and XPath

2015-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 88b9af268cca by Raymond Hettinger in branch '3.4': Issue 23729: Document ElementTree namespace handling and fix an omission in the XPATH predicate table. https://hg.python.org/cpython/rev/88b9af268cca -- nosy: +python-dev

[issue21526] Support new booleans in Tkinter

2015-03-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset e9d86c1de292 by Serhiy Storchaka in branch 'default': Issue #21526: Tkinter now supports new boolean type in Tcl 8.5. https://hg.python.org/cpython/rev/e9d86c1de292 -- nosy: +python-dev ___ Python

[issue21120] PyArena type is used in headers from the limited API

2015-03-22 Thread Mark Lawrence
Mark Lawrence added the comment: I'm not sure if this should be a compile error or an enhancement request, can someone please advise. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21120

[issue22163] max_wbits set incorrectly to -zlib.MAX_WBITS in tarfile, shouldn't be negative

2015-03-22 Thread Martin Panter
Martin Panter added the comment: I suspect the patch is wrong and the zlib documentation needs fixing instead. See https://docs.python.org/dev/library/zlib.html#zlib.decompress for a possible explanation of the negative sign, although it would make more sense for compress() which would

[issue16328] win_add2path.py sets wrong user path

2015-03-22 Thread Mark Lawrence
Mark Lawrence added the comment: Presumably we can look at this after the discussions about the installer scheduled for PyCon 2015? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16328

[issue23742] expandvars removes single quotes ( ' )

2015-03-22 Thread Manuel Vögele
New submission from Manuel Vögele: When executing os.path.expandvars(%SystemDrive%\\Foo'Bar) the function erases the ' returning 'C:\\FooBar' using Python 3.4.3 on Windows 7 -- components: Library (Lib) messages: 238968 nosy: manuel_v, serhiy.storchaka priority: normal severity:

[issue23740] http.client request and send method have some datatype issues

2015-03-22 Thread R. David Murray
R. David Murray added the comment: Yeah, if we're going to check the type for iterables to convert strings, we might as well check the type for read() as well. The bit about the len not being set except for str and bytes was me mis-remembering what I read in the code. (The isinstance check

[issue23725] update tempfile docs to say that TemporaryFile is secure

2015-03-22 Thread R. David Murray
R. David Murray added the comment: If the first word is a function name that does not start with a capital, the sentence can't start with a capital. Sometimes it is worthwhile to reword the sentence so you can start it with a capitalizable word, but sometimes it isn't. (I haven't reviewed

[issue23742] expandvars removes single quotes ( ' )

2015-03-22 Thread R. David Murray
R. David Murray added the comment: It apparently only loses unbalanced single quotes. -- components: +Windows -Library (Lib) nosy: +r.david.murray, steve.dower, tim.golden, zach.ware stage: - needs patch versions: +Python 3.5 ___ Python tracker

[issue23725] update tempfile docs to say that TemporaryFile is secure

2015-03-22 Thread Zbyszek Jędrzejewski-Szmek
Zbyszek Jędrzejewski-Szmek added the comment: Please start sentences with capital letters, specifically “mkstemp() and mkdtemp() are lower-level functions . . .”. This would make the sentence more convoluted... I think that with markup it is pretty clear that this is a function name and the

[issue23676] Add support of UnicodeTranslateError in standard error handlers

2015-03-22 Thread Martin Panter
Martin Panter added the comment: I think I saw your patch for Issue 18814 proposes to use UnicodeTranslateError. Is there any other case where it is used, either currently or in the past? All I know of it is the documentation, which says it is raised “during translating”. Experimenting with

[issue23725] update tempfile docs to say that TemporaryFile is secure

2015-03-22 Thread Martin Panter
Martin Panter added the comment: The current proposed text would be rendered something like this: ''' TemporaryFile, NamedTemporaryFile, TemporaryDirectory, SpooledTemporaryFile are high-level interfaces which provide automatic cleanup and can be used as context managers. mkstemp() and

[issue22163] max_wbits set incorrectly to -zlib.MAX_WBITS in tarfile, shouldn't be negative

2015-03-22 Thread Martin Panter
Martin Panter added the comment: Eduardo’s patch causes many tests to fail. Abbreviated test output: $ ./python -bWall -m test -v test_tarfile == ERROR: test_compare_members (test.test_tarfile.GzipStreamReadTest) ERROR:

[issue20059] Inconsistent urlparse/urllib.parse handling of invalid port values?

2015-03-22 Thread Martin Panter
Martin Panter added the comment: Patch v2 just changes a test to use “with self.assertRaises()”. The behaviour of urlparse() succeeding and then result.port failing is indeed odd and surprising. Hopefully documenting this behaviour will help with the “surprising” aspect. But changing it would

Re: Automation of Windows app?

2015-03-22 Thread Michael Torrie
On 03/20/2015 12:10 PM, Grant Edwards wrote: On 2015-03-20, Grant Edwards invalid@invalid.invalid wrote: I need to automate operation of a Windows application. I should have mentioned that I've found and am going to experiment a bit with pywinauto-0.4.0, but if there is anything else I

[issue5784] raw deflate format and zlib module

2015-03-22 Thread Martin Panter
Martin Panter added the comment: According to http://zlib.net/manual.html#Advanced, the deflateInit2(windowBits) parameter can be: * +8 to +15 to include a “zlib” header and trailer * −8 to −15 to write a raw Deflate stream with no header nor trailer * 16 + (8 to 15) to include a basic “gzip”

[issue23062] test_argparse --version test cases

2015-03-22 Thread Martin Panter
Martin Panter added the comment: Serhiy, there is already a test for that: class TestHelpVersionAction(HelpTestCase): Test the default help for the version action So I still think the test is redundant, unless it is made to exercise help=SUPPRESS, as Berker’s patch does. --

[issue22977] Unformatted “Windows Error 0x%X” exception message on Wine

2015-03-22 Thread Martin Panter
Martin Panter added the comment: V3 patch with suggested changes to the test case, though still completely untested by me. -- Added file: http://bugs.python.org/file38641/win-error-format-v3.patch ___ Python tracker rep...@bugs.python.org

[issue23725] update tempfile docs to say that TemporaryFile is secure

2015-03-22 Thread Zbyszek Jędrzejewski-Szmek
Zbyszek Jędrzejewski-Szmek added the comment: Actually they are not classes, so the proposed wording cannot be used. But indeed it sounds better with the and. v4: - one more and -- Added file:

[issue23743] Python crashes upon exit if importing g++ compiled mod after importing gcc compiled mod

2015-03-22 Thread matham
New submission from matham: I have encountered a situation where python crashes when python exits if one imports a c compiled extension followed by a cpp compiled extension (but not if imported in the reverse order). This is on windows with mingw (current using mingw-get install gcc g++

[issue20271] urllib.parse.urlparse() accepts wrong URLs

2015-03-22 Thread Martin Panter
Martin Panter added the comment: To me, the only difference between urlsplit() and urlparse() is that urlsplit() does not treat parameters following a semicolon specially. The documentation tends to agree with this view. So whatever exceptions are raised by urlparse() should also be raised by

Re: Automation of Windows app?

2015-03-22 Thread Rustom Mody
On Monday, March 23, 2015 at 6:32:26 AM UTC+5:30, Mark Lawrence wrote: On 22/03/2015 23:54, vern.muhr wrote: Check out Sikuli at www.sikuli.org. It is an amazing program, and it is scripted in Python (Jython actually)! Good luck. Only 2.7 again, when are we going to ban Luddites

Using Python to put a 27-year-old Macintosh on the web

2015-03-22 Thread Steven D'Aprano
http://www.keacher.com/1216/how-i-introduced-a-27-year-old-computer-to-the- web/ or http://tinyurl.com/ksqk5kt -- Steve -- https://mail.python.org/mailman/listinfo/python-list

<    1   2