[issue15743] test_urllib2/test_urllib use deprecated urllib.Request methods

2012-08-20 Thread Jeff Knupp
Jeff Knupp added the comment: Yes, that was part of the original patch which was incorrectly uploaded. The current patch (2) should be correct wrt get_method. -- ___ Python tracker <http://bugs.python.org/issue15

[issue15752] change test_json's use of deprecated unittest function

2012-08-21 Thread Jeff Knupp
New submission from Jeff Knupp: patch to test_json to not use assert(Raises)Regexp, which has been deprecated in favor of assert(Raises)Regex. -- components: Tests files: json_deprecated.patch keywords: patch messages: 168750 nosy: Jeff.Knupp priority: normal severity: normal status

[issue15316] runpy swallows ImportError information with relative imports

2012-08-22 Thread Jeff Knupp
Changes by Jeff Knupp : -- nosy: +Jeff.Knupp ___ Python tracker <http://bugs.python.org/issue15316> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14255] tempfile.gettempdir() didn't return the path with correct case.

2012-10-20 Thread Jeff McNeil
Jeff McNeil added the comment: Yeah clearly the wrong behavior on Winders. I think that moving to 'normpath' instead of 'normcase' is likely the right thing to do. Patch is attached, so if someone with commit powers could review real quick I'll address whatever nee

[issue5004] socket.getfqdn() doesn't cope properly with purely DNS-based setups

2012-10-27 Thread Jeff McNeil
Jeff McNeil added the comment: Gave this a go myself... $ ./python Python 3.4.0a0 (default:57a33af85407, Oct 27 2012, 21:26:30) [GCC 4.4.3] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import socket >&g

[issue13403] Option for XMLPRC Server to support HTTPS

2012-10-28 Thread Jeff McNeil
Jeff McNeil added the comment: I've hacked this support in myself a few times with a simple socket wrap call in SimpleXMLRPCServer's __init__. I'd be happy to put a quick patch together if that's a viable approach. Is there any desire to support client authentication

[issue13403] Option for XMLPRC Server to support HTTPS

2012-10-28 Thread Jeff McNeil
Jeff McNeil added the comment: Attached... worked in the way I've done it in the past and updated documents. -- keywords: +patch Added file: http://bugs.python.org/file27773/ssl_xmlrpc_server.patch ___ Python tracker <http://bugs.py

[issue16357] SSLSocket created from SSLContext.wrap_socket doesn't include cert/keyfile

2012-10-29 Thread Jeff McNeil
New submission from Jeff McNeil: mcjeff@martian:~/cpython$ ./python -V Python 3.4.0a0 When an SSLSocket is created via SSLContext.wrap_socket, it is passed a _context parameter directly. SSLSocket.__init__ sets self.context at this point, but it does not set self.keyfile or self.certfile

[issue16357] SSLSocket created from SSLContext.wrap_socket doesn't include cert/keyfile

2012-10-29 Thread Jeff McNeil
Jeff McNeil added the comment: Ak! Yes, cut and paste error. Python 3.4.0a0 (default:57a33af85407, Oct 27 2012, 21:26:30) [GCC 4.4.3] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import ssl

[issue16357] SSLSocket created from SSLContext.wrap_socket doesn't include cert/keyfile

2012-10-29 Thread Jeff McNeil
Jeff McNeil added the comment: Updated to pass in the parent context only actually, as it doesn't look like all of the attributes on SSLSocket will be set if a context was initially passed in. -- Added file: http://bugs.python.org/file27784/ssl_context_2.

[issue21218] Test failure for test_ssl.test_default_ecdh_curve on OS X

2014-04-14 Thread Jeff Ramnani
New submission from Jeff Ramnani: The unittest, test_ssl.test_default_ecdh_curve, is failing on OS X (and FreeBSD 9). The test fails with the error message: """ == ERROR: test_default_ecdh_curve (test.test_ss

[issue21015] support SSL_CTX_set_ecdh_auto on newer OpenSSLs

2014-04-14 Thread Jeff Ramnani
Jeff Ramnani added the comment: > Really? Apple's packaging looks almost criminal here. Apple has deprecated their bundled version of OpenSSL. This issue has more details, http://bugs.python.org/issue17128 -- nosy: +jramnani ___ Python

[issue21060] Better error message for setup.py upload command without sdist

2014-04-15 Thread Jeff Ramnani
Jeff Ramnani added the comment: Attaching a patch with a (hopefully) more useful error message. I didn't find a good place to add this information in the "Distributing Python Modules" section of the docs, but let me know if you had a place in mind. -- keywords: +patch

[issue17449] dev guide appears not to cover the benchmarking suite

2014-04-15 Thread Jeff Ramnani
Jeff Ramnani added the comment: Now that bug #18586 is closed, could the Dev Guide point benchmarkers to the benchmarks repo and its README? http://hg.python.org/benchmarks/file/9a1136898539/README.txt -- nosy: +jramnani ___ Python tracker <h

[issue21409] setup.py check - should fail and retrun a non 0 exit code

2014-05-01 Thread Jeff Hinrichs
New submission from Jeff Hinrichs: python setup.py check python setup.py check --restructuredtext both incorrectly "warn" and don't "Fail" for things that will cause a failure when uploading to pypi. This is wrong. Additionally, they should return a non 0 exit co

[issue21409] setup.py check - should fail and retrun a non 0 exit code

2014-05-01 Thread Jeff Hinrichs
Jeff Hinrichs added the comment: example: (dhp)jlh@jlh-d520:~/Projects/dhp/src$ python setup.py check running check (dhp)jlh@jlh-d520:~/Projects/dhp/src$ python setup.py check --restructuredtext running check warning: check: Title underline too short. (line 2) warning: check: Could not finish

[issue21410] setup.py check --restructuredtext -- appears to pass if docutils not installed

2014-05-01 Thread Jeff Hinrichs
New submission from Jeff Hinrichs: if you run setup.py check --restructuredtext without docutils installed, it will appear to pass if you add the -s flag, it will error and inform you that docutils is not installed. So nothing is reported and return results are the same as a "pa

[issue20664] _findLib_crle and _get_soname broken on latest SunOS 5.11

2014-05-25 Thread Jeff Quast
Changes by Jeff Quast : Added file: http://bugs.python.org/file35363/opensolaris-ctypes-python-3.x.patch ___ Python tracker <http://bugs.python.org/issue20664> ___ ___

[issue20664] _findLib_crle and _get_soname broken on latest SunOS 5.11

2014-05-25 Thread Jeff Quast
Jeff Quast added the comment: Submitting fix to fallback to alternate '/usr/bin/dump' path, confirmed using SmartOS. As for the issues writing to /lib and /usr/lib from a zone, and the request for "An environment variable .. to override this functionality." I have

[issue10050] urllib.request still has old 2.x urllib primitives

2012-11-10 Thread Jeff McNeil
Jeff McNeil added the comment: Reverting of the len(block) back to 'bs' here aside, does it even make sense to include block information at all? That's the attempted read size, so it might not be an accurate representation of the size of the data actually read. Thus the

[issue10050] urllib.request still has old 2.x urllib primitives

2012-11-10 Thread Jeff McNeil
Jeff McNeil added the comment: Ah, disregard. I followed up on the other bug. The legacy interface indeed should have stayed consistant. -- ___ Python tracker <http://bugs.python.org/issue10

[issue16687] Fix small gramatical error and add reference link in hashlib documentation

2012-12-14 Thread Jeff Knupp
New submission from Jeff Knupp: Original text is: > Feeding string objects is to update is not supported Should be "... objects in to update" instead of "is to" Also, mark "GIL" as a :term: to provide a link to its definition, as it's used with

[issue15743] test_urllib2/test_urllib use deprecated urllib.Request methods

2012-12-14 Thread Jeff Knupp
Changes by Jeff Knupp : -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue15743> ___ ___ Python-bugs-list

[issue16702] Force urllib2_localnet test not to use http proxies

2012-12-17 Thread Jeff Knupp
New submission from Jeff Knupp: test_urllib2_localnet is concerned with testing connections only using 'localhost' or '127.0.0.1' hosts. If a user has the "http_proxy" environment variable set, these test will likely fail as the proxy won't have any idea whe

[issue16658] Missing "return" in HTTPConnection.send()

2012-12-17 Thread Jeff Knupp
Jeff Knupp added the comment: I'm assuming this is the patch you were looking for. However, there are a couple of unrelated issues with http.client.send that jumped out at me: 1. Encoding a file handed directly to send() seems wrong. If a client wants to send a file encoded using some

[issue16687] Fix small gramatical error and add reference link in hashlib documentation

2012-12-20 Thread Jeff Knupp
Jeff Knupp added the comment: Previous patch had unintentional local changes. Uploaded correct patch. -- Added file: http://bugs.python.org/file28382/new_patch.txt ___ Python tracker <http://bugs.python.org/issue16

[issue16687] Fix small gramatical error and add reference link in hashlib documentation

2012-12-20 Thread Jeff Knupp
Changes by Jeff Knupp : Removed file: http://bugs.python.org/file28318/patch.txt ___ Python tracker <http://bugs.python.org/issue16687> ___ ___ Python-bugs-list mailin

[issue16988] argparse: PARSER option for nargs not documented

2013-01-18 Thread Jeff Knupp
Jeff Knupp added the comment: This is not a bug. The 'PARSER' nargs choice is an implementation detail as a way to handle subparsers. The parser needs to know that the first value should be handled, but everything that follows will be handled by the subparser. By using a subpars

[issue16977] argparse: mismatch between choices parsing and usage/error message

2013-01-18 Thread Jeff Knupp
Jeff Knupp added the comment: Attached a patch. Rather than altering choices or making a special check for string instances, I just changed the if statement to if action.choices is not None and value not in list(action.choices): from if action.choices is not None and value not in

[issue16989] allow distutils debug mode to be enabled more easily

2013-01-18 Thread Jeff Knupp
Jeff Knupp added the comment: Patch uploaded. Note that updating the test_distutils.core test revealed that the test was importing DEBUG from the wrong module (which only existed because distutils.core use the 'from ... import DEBUG' form). I've corrected the import and u

[issue16977] argparse: mismatch between choices parsing and usage/error message

2013-01-18 Thread Jeff Knupp
Jeff Knupp added the comment: The only time this would be an issue is for infinite sequences via range or a generator, which doesn't work anyway. >>> p = argparse.ArgumentParser() >>> a = p.add_argument('a', choices=itertools.count(0), type=int) >>> p.

[issue19453] pydoc.py doesn't detect IronPython, help(foo) can hang

2013-10-31 Thread Jeff Hardy
Changes by Jeff Hardy : -- nosy: +jeff.hardy ___ Python tracker <http://bugs.python.org/issue19453> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20155] Regression test test_httpservers fails, hangs on Windows

2014-06-29 Thread Jeff Allen
Jeff Allen added the comment: Disabling the AV/firewall did not stop the symptoms when I was investigating originally. In order to get the unmodified test to pass, I had to stop the BFE (base filtering engine), which I think may have been given new rules or behaviours as a result of

[issue20155] Regression test test_httpservers fails, hangs on Windows

2014-01-06 Thread Jeff Allen
New submission from Jeff Allen: When I run: start python -m test.test_httpservers test_request_line_trimming reports ERROR, and the test hangs at test_version_none. If I run a copy of the test in which the latter test is skipped with @unittest.skipIf(sys.platform == "win32", &

[issue13866] {urllib, urllib.parse}.urlencode should not use quote_plus

2014-01-26 Thread Jeff Edwards
Jeff Edwards added the comment: It's interesting how long this issue has been around. It seems to be because the form-urlencoded spec is specified as url-percent-encoding EXCEPT for ' ' -> '+', which does seem to be unintuitive. To note, there are a few known ca

[issue20155] Regression test test_httpservers fails, hangs on Windows

2014-02-23 Thread Jeff Allen
Jeff Allen added the comment: Thanks for adding to the evidence here. As discussed above, disabling the security product (which is Bitdefender) on my PC didn't stop the problem for me, and I'm reluctant to uninstall. I narrowed it to the Windows Base Filtering Engine, but p

[issue20155] Regression test test_httpservers fails, hangs on Windows

2014-02-23 Thread Jeff Allen
Jeff Allen added the comment: Actual patch for your convenience. I'm not set up to build CPython from source, so I've tested this with my installed CPython 2.7.6, and it's clean. [As for keeping the tests in sync, yes that's our aim. Jython's Lib contains only the

[issue20155] Regression test test_httpservers fails, hangs on Windows

2014-03-04 Thread Jeff Allen
Jeff Allen added the comment: I worked out that the essence of the test is to insert an extra \n at the end of a GET request line. The request is syntactically invalid for HTTP. The \n\r\n appears like two blank lines, implying no headers, but the headers then follow where no data should be

[issue6909] python 3.1 - filecmp.cmp exception based on file name

2009-09-14 Thread jeff deifik
jeff deifik added the comment: Oops, you are correct, my mistake. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue6909> ___ ___ Py

[issue6909] python 3.1 - filecmp.cmp exception based on file name

2009-09-14 Thread jeff deifik
New submission from jeff deifik : I am calling filecmp.cmp on a two files, one of which has a name of './Julio_Iglesias-Un_Hombre_Solo-05-Qu\udce9_no_se_rompa_la_noche.mp3' I get an exception from filecmp.cmp saying: 'ascii' codec can't encode character '\udce9&#

[issue6909] python 3.1 - filecmp.cmp exception based on file name

2009-09-14 Thread jeff deifik
jeff deifik added the comment: Forgive all the print statements. Here is the result of running this: floup:files are ['./Julio_Iglesias-Un_Hombre_Solo-05-Qu\udce9_no_se_rompa_la_noche.mp3', '/cygdrive/j/music/bea/Julio_Iglesias-Un_Hombre_Solo-05-Qu\udce9_no_se_rompa_la_n

[issue6300] encode and decode should accept 'errors' as a keyword argument

2009-09-16 Thread Jeff Bradberry
Jeff Bradberry added the comment: This patch adds the requested behavior to the current 2.7 svn trunk. Both 'encoding' and 'errors' may be used as keyword arguments for encode() and decode(). -- keywords: +patch nosy: +jbradberry Added file: http://bugs.python.or

[issue6300] encode and decode should accept 'errors' as a keyword argument

2009-09-16 Thread Jeff Bradberry
Jeff Bradberry added the comment: As it turns out, someone had previously made this adjustment to str() and unicode(). My updated patch adds this behavior to unicode.decode and unicode.encode, adds a couple of tests to test_unicode.py, and updates the documentation to show that these functions

[issue6300] encode and decode should accept 'errors' as a keyword argument

2009-09-17 Thread Jeff Bradberry
Jeff Bradberry added the comment: Before: ~/python2.7$ ./python -mtimeit "u'Andr\202 x'.encode('ascii', 'replace')" 100 loops, best of 3: 1.8 usec per loop After: ~/python2.7-patched$ ./python -mtimeit "u'Andr\202 x'.encode('

[issue6300] encode and decode should accept 'errors' as a keyword argument

2009-09-18 Thread Jeff Bradberry
Jeff Bradberry added the comment: Ok, fixed. I am kind of vague, though, on the usefulness of str.encode and unicode.decode. -- Added file: http://bugs.python.org/file14925/python27.patch ___ Python tracker <http://bugs.python.org/issue6

[issue4610] Unicode case mappings are incorrect

2009-10-13 Thread Jeff Senn
Jeff Senn added the comment: Has there been any action on this? a PEP? I disagree that using ICU is good way to simply get proper unicode casing. (A heavy hammer for a small task...) I agree locales are a different issue (and would prefer optional arguments to the unicode object casing

[issue4610] Unicode case mappings are incorrect

2009-10-14 Thread Jeff Senn
Jeff Senn added the comment: > Feel free to upload it here. I'm fairly skeptical that it is > possible to implement casing "correctly" in a locale-independent > way. Ok. I will try to find time to complete it enough to be readable. Unicode (see sec 3.13) specifi

[issue4610] Unicode case mappings are incorrect

2009-10-14 Thread Jeff Senn
Jeff Senn added the comment: Yikes! I just noticed that u''.title() is really broken! It doesn't really pay attention to word breaks -- only characters that "have case". Therefore when there are (caseless) combining characters in a word it's really broke

[issue6412] Titlecase as defined in Unicode Case Mappings not followed

2009-10-14 Thread Jeff Senn
Jeff Senn added the comment: Referred to this from issue 4610... anyone following this might want to look there as well. -- nosy: +senn ___ Python tracker <http://bugs.python.org/issue6

[issue6412] Titlecase as defined in Unicode Case Mappings not followed

2009-10-14 Thread Jeff Senn
Jeff Senn added the comment: So, is it not considered a bug that: >>> "This isn't right".title() "This Isn'T Right" !?!?!? -- ___ Python tra

[issue7405] compiling python 3.1.1 using cygwin 1.7.0 and gcc 4.3.4

2009-11-27 Thread jeff deifik
New submission from jeff deifik : In order to compile 3.1.1 with the cygwin environment, it was necessary to edit Modules/main.c after running configure There are a few tests that still fail when running 'make test', but overall, python 3.1.1 works fine. Included is the co

[issue2054] add ftp-tls support to ftplib - RFC 4217

2009-02-22 Thread Jeff Oyama
Jeff Oyama added the comment: Just wondering, has anyone done a patch since Bill made the necessary changes to ssl.py in order to implement FTP TLS? If so, where can I find it? I would love to test it out. -- nosy: +jeffo ___ Python tracker <h

[issue2054] add ftp-tls support to ftplib - RFC 4217

2009-02-23 Thread Jeff Oyama
Jeff Oyama added the comment: Thank you Giampaolo, it works just as I was hoping, =] I tested it on glftpd using python 2.6.1. Added file: http://bugs.python.org/file13161/unnamed ___ Python tracker <http://bugs.python.org/issue2

[issue2054] add ftp-tls support to ftplib - RFC 4217

2009-02-24 Thread Jeff Oyama
Jeff Oyama added the comment: Actually I have encountered a possible bug. the close() method doesn't seem to actually close the connection... On Mon, Feb 23, 2009 at 11:56 PM, Jeff Oyama wrote: > > Jeff Oyama added the comment: > > Thank you Giampaolo, it works just as I

[issue2054] add ftp-tls support to ftplib - RFC 4217

2009-02-27 Thread Jeff Oyama
Jeff Oyama added the comment: Ok after examining it more closely, it appears to be a false alarm, my apologies ___ Python tracker <http://bugs.python.org/issue2

[issue5412] extend configparser to support [] syntax

2009-03-03 Thread Jeff Kaufman
New submission from Jeff Kaufman : This is a patch against the configparser in the cvs version of 3.1 to support [] notation: >>> import configparser_patched >>> config = configparser_patched.SafeConfigParser() >>> config.add_section("spam") >>> con

[issue5102] urllib2.py timeouts do not propagate across redirects for 2.6.1 (and 3.x?)

2009-06-12 Thread Jeff McNeil
Jeff McNeil added the comment: I ran into this problem this afternoon as well. The same issue appears to exist within the Basic & Digest Auth retry code (though it's much less likely to surface). I wound up making the suggested fixes to my local install so I'm attaching the tiny

[issue8820] IDLE not launching correctly

2010-06-03 Thread Jeff Craig
Jeff Craig added the comment: I can confirm this behaviour and error. On Windows Server 2008 R2 64-bit. -- nosy: +foxxtrot ___ Python tracker <http://bugs.python.org/issue8

[issue8820] IDLE not launching correctly

2010-06-03 Thread Jeff Craig
Jeff Craig added the comment: Further information, this was an issue for me in 2.6.4, but with 2.6.5 it appears to no longer be an issue. -- ___ Python tracker <http://bugs.python.org/issue8

[issue29081] time.strptime() return wrong result

2017-01-07 Thread Jeff Knupp
Jeff Knupp added the comment: I believe this is working as intended. Remember, the '%w' directive instructs strptime to consider 0 to be Sunday, while tm_wday considers 0 Monday. In 2016, the %W directive means that the first week (week #1) starts on Monday, January 4th. If you g

[issue29463] Add `docstring` attribute to AST nodes

2017-02-11 Thread Jeff Allen
Jeff Allen added the comment: Just terminology ... strictly speaking what you've done here is "add a *field* to the nodes Module, FunctionDef and ClassDef", rather than add an *attribute* -- that is, when one is consistent with the terms used in the ast module (https://do

[issue27427] Add new math module tests

2016-07-10 Thread Jeff Allen
Jeff Allen added the comment: It would be nice to see this considered alongside #26040. -- nosy: +jeff.allen ___ Python tracker <http://bugs.python.org/issue27

[issue26040] Improve coverage and rigour of test.test_math

2016-08-27 Thread Jeff Allen
Jeff Allen added the comment: Mark: Thanks for validating the additional cases so carefully. If you still want to apply it in stages then I suppose the change to the comparison logic could go first (untested idea), although that's also where I could most easily have made a mi

[issue26040] Improve coverage and rigour of test.test_math

2016-08-29 Thread Jeff Allen
Jeff Allen added the comment: Mark: Thanks for doing my homework. Points 1 and 3 I can readily agree with. I must take another look at to_ulps() with your patch on locally. I used the approach I did because I thought it was incorrect in exactly those corners where you prefer it. I'll t

[issue26040] Improve coverage and rigour of test.test_math

2016-08-29 Thread Jeff Allen
Jeff Allen added the comment: Ah, cunning: I can make sense of it in hex. >>> hex(to_ulps(expected)) '0x3ff0' >>> hex(to_ulps(got)) '0x3fec' >>> hex( to_ulps(got) - to_ulps(expected) ) '-0x4' ... and what you&#x

[issue17241] Python-2.3.5.exe file possibly corrupt

2013-02-19 Thread Jeff Mansfield
New submission from Jeff Mansfield: Python-2.3.5.exe seems to be corrupt. I’ve tried downloading Python-2.3.5.exe a number of times in the past week, and so have a few of my colleagues. It always transfers in an incomplete manner, resulting in only 4.7 out of 9.1 MB. I have tried from several

[issue17241] Python-2.3.5.exe file possibly corrupt

2013-02-19 Thread Jeff Mansfield
Jeff Mansfield added the comment: Ezio, It is what was in use on my old machine, and I don't want to move versions. Thanks, Jeff -- ___ Python tracker <http://bugs.python.org/is

[issue17383] Error in documentation /2/tutorial/modules.html#more-on-modules

2013-03-08 Thread Jeff Knupp
Jeff Knupp added the comment: I think Piotr's point is the wording of the last sentence is ambiguous. The second statement reads "It is customary *but not required* to place all import statements at the beginning of a module...". The third seems to state that regardless of whe

[issue17383] Possibly ambiguous phrasing in tutorial/modules#more-on-modules

2013-03-08 Thread Jeff Knupp
Jeff Knupp added the comment: Of the "two different things", the first (the scope of imported names) is never covered in the documentation. As a result, the text in question seems to imply an import statement can *only* be in module scope. >From the reader's perspectiv

[issue16709] unittest discover order is filesystem specific - hard to reproduce

2013-03-18 Thread Jeff Ramnani
Jeff Ramnani added the comment: I've added tests for this behavior by un-sorting the test inputs for test_find_tests, and adding comments that the results should be sorted for reliable test execution. Attaching an updated patch. -- nosy: +jramnani Added file: http://bugs.pytho

[issue16709] unittest discover order is filesystem specific - hard to reproduce

2013-03-18 Thread Jeff Ramnani
Jeff Ramnani added the comment: Fixed a spelling error. -- ___ Python tracker <http://bugs.python.org/issue16709> ___ ___ Python-bugs-list mailing list Unsub

[issue16709] unittest discover order is filesystem specific - hard to reproduce

2013-03-18 Thread Jeff Ramnani
Jeff Ramnani added the comment: Fixed a spelling error. (Part deux) -- Added file: http://bugs.python.org/file29462/issue16709-tests2.patch ___ Python tracker <http://bugs.python.org/issue16

[issue17483] In urlopen the check_hostname variable can never be False.

2013-03-19 Thread Jeff Knupp
Jeff Knupp added the comment: Was this discovered when you were trying "to tell urlopen not to check the hostname for https connections?" If so, that should be reflected in the title so others know what the observable effect is. Referencing specific variables is less useful both for

[issue2292] Missing *-unpacking generalizations

2013-04-05 Thread Jeff Kaufman
Jeff Kaufman added the comment: What would it take to get this moving again? -- nosy: +Jeff.Kaufman ___ Python tracker <http://bugs.python.org/issue2292> ___ ___

[issue17684] Skip tests in test_socket like testFDPassSeparate on OS X

2013-04-09 Thread Jeff Ramnani
New submission from Jeff Ramnani: The changeset for subtests in #16997 cause some tests in test_socket to fail on OS X. Specifically, they cause some tests that were marked as expected failures to be run and be marked as failures. I'm experiencing the same test failures as the OS X Mou

[issue17994] Change necessary in platform.py to support IronPython

2013-05-20 Thread Jeff Hardy
Changes by Jeff Hardy : -- nosy: +jeff.hardy ___ Python tracker <http://bugs.python.org/issue17994> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23342] run() - unified high-level interface for subprocess

2015-02-09 Thread Jeff Hammel
Jeff Hammel added the comment: A few observations in passing. I beg your pardon for not commenting after a more in depth study of the issue, but as someone that's written and managed several subprocess module front-ends, my general observations seem applicable. subprocess needs easie

[issue23287] ctypes.util.find_library needlessly call crle on Solaris

2015-07-21 Thread Jeff Quast
Jeff Quast added the comment: John, What do you think of the patches attached to http://bugs.python.org/issue20664 ? "crle is not needed at all because the default library path is a constant on Solaris" I don't believe this to be true, source? crle is absolutely needed to

[issue23287] ctypes.util.find_library needlessly call crle on Solaris

2015-07-21 Thread Jeff Quast
Jeff Quast added the comment: I looked over the focus on "default" path, thank you for clarifying! Sadly, I can't help you move either of these patches forward, best wishes! -- ___ Python tracker <http://bugs.pyt

[issue24725] test_socket testFDPassEmpty fails on OS X 10.11 DP with "Cannot allocate memory"

2015-11-18 Thread Jeff Ramnani
Jeff Ramnani added the comment: I'm still getting these test failures on OS X 10.11.1. Has a radar been filed with Apple? I'd submit one, but I don't know enough about the issue to create a good bug report. In the meantime, I'm attaching a patch to skip these tests

[issue22121] IDLE should start with HOME as the initial working directory

2016-01-31 Thread Jeff Allen
Jeff Allen added the comment: I'm also interested in a smooth experience for beginners. I have a factual observation with respect to Terry's comment: '''Windows icons have a Shortcut tab with a Start-in field. We should like to put %USERPROFILE% there, but this d

[issue26040] Improve coverage and rigour of test.test_math

2016-03-14 Thread Jeff Allen
Jeff Allen added the comment: Here is a patch that improves coverage and addresses the uneven accuracy. Required accuracy is now specified in ulps. Mostly, I have choses 1 ulp, since this passed for me on an x86 architecture (and also ARM), but this may be too ambitious. I have also

[issue26040] Improve coverage and rigour of test.test_math

2016-03-18 Thread Jeff Allen
Changes by Jeff Allen : Added file: http://bugs.python.org/file42190/stat_math.py ___ Python tracker <http://bugs.python.org/issue26040> ___ ___ Python-bugs-list mailin

[issue26040] Improve coverage and rigour of test.test_math

2016-03-19 Thread Jeff Allen
Jeff Allen added the comment: Thanks for the prompt acknowledgement and for accepting this to review. I have updated the coverage & tolerance demo program. Usage in the comments (in v3). I have also added the program I used to generate the extra test cases (needs mpmath -- easier to

[issue26040] Improve coverage and rigour of test.test_math

2016-03-19 Thread Jeff Allen
Changes by Jeff Allen : Removed file: http://bugs.python.org/file41526/stat_math.py ___ Python tracker <http://bugs.python.org/issue26040> ___ ___ Python-bugs-list mailin

[issue26040] Improve coverage and rigour of test.test_math

2016-03-19 Thread Jeff Allen
Changes by Jeff Allen : Added file: http://bugs.python.org/file42192/stat_math.py ___ Python tracker <http://bugs.python.org/issue26040> ___ ___ Python-bugs-list mailin

[issue26040] Improve coverage and rigour of test.test_math

2016-03-19 Thread Jeff Allen
Changes by Jeff Allen : Removed file: http://bugs.python.org/file42190/stat_math.py ___ Python tracker <http://bugs.python.org/issue26040> ___ ___ Python-bugs-list mailin

[issue26040] Improve coverage and rigour of test.test_math

2016-03-19 Thread Jeff Allen
Changes by Jeff Allen : Added file: http://bugs.python.org/file42191/extra_cmath_testcases.py ___ Python tracker <http://bugs.python.org/issue26040> ___ ___ Python-bug

[issue26956] About Idle-x version not updated for 1.13

2016-05-04 Thread Jeff Peters
New submission from Jeff Peters: The help| about idleX | popup still lists the version as 1.12 this throws off the check for updats functionality -- components: IDLE messages: 264838 nosy: Jeff Peters priority: normal severity: normal status: open title: About Idle-x version not

[issue23594] Wrong variable name in traceback

2015-03-05 Thread Jeff Zemla
New submission from Jeff Zemla: I've found a rather simple bug in the default CPython implementation on Mac OS X 10.9.5 1) Create a new .py file containing: def a(): print q x=5 2) Open Python and run using execfile() then a(). Receive error as expected: File "test.py"

[issue23594] Wrong variable name in traceback

2015-03-05 Thread Jeff Zemla
Jeff Zemla added the comment: In 3), "not" should be "now" -- ___ Python tracker <http://bugs.python.org/issue23594> ___ ___ Python-bugs-lis

[issue23599] single and double quotes stripped upon paste into interpreter

2015-03-06 Thread Jeff Doak
New submission from Jeff Doak: On MacBook. Copy/paste the following line into 3.4.2 interpreter session: [“Test”][‘Test’] Results in: [Test][Test] Same paste into 2.7.6 is as expected: [“Test”][‘Test’] -- components: Macintosh messages: 237389 nosy: Jeff Doak, ned.deily, ronaldoussoren

[issue23599] single and double quotes stripped upon paste into interpreter

2015-03-06 Thread Jeff Doak
Jeff Doak added the comment: I noticed they are smart quotes and came back to see David already mentioned it. As for Demian's question: 2.7.6: >>> print("{’Test’}") {’Test’} 3.4.2: >>> print("{Test}") {Test} It is upon paste that the

[issue23599] single and double quotes stripped upon paste into interpreter

2015-03-06 Thread Jeff Doak
Jeff Doak added the comment: I am in a standard Terminal session. I have a symbolic link for python 3.4: /usr/bin/python -> /opt/local/bin/python3.4 so I can run python... or the following: $ /opt/local/bin/python3.4 -c 'import sys;print(sys.version)' 3.4.2 (default, Oct 22 2014, 01

[issue23599] single and double quotes stripped upon paste into interpreter

2015-03-06 Thread Jeff Doak
Jeff Doak added the comment: Thanks Ned and everyone! It turns out that Ned was correct and it works fine now that I followed his instructions. -- ___ Python tracker <http://bugs.python.org/issue23

[issue23863] Fix EINTR Socket Module issues in 2.7

2015-04-03 Thread Jeff McNeil
New submission from Jeff McNeil: There are a collection of places in the socket module that do not correctly retry on EINTR. Updated to wrap those calls in a retry loop. However, when fixing connect calls, I noticed that when EINTR is retried on a socket with a timeout specified, the retry

[issue23863] Fix EINTR Socket Module issues in 2.7

2015-04-03 Thread Jeff McNeil
Jeff McNeil added the comment: mcjeff@mcjeff:~/cpython_clean$ hg summary parent: 95416:fe34dfea16b0 Escaped backslashes in docstrings. branch: 2.7 commit: 3 modified, 3 unknown update: (current) -- keywords: +patch nosy: +gregory.p.smith Added file: http://bugs.python.org/file38826

[issue23863] Fix EINTR Socket Module issues in 2.7

2015-04-04 Thread Jeff McNeil
Jeff McNeil added the comment: Whoops. Accidentally attached the wrong patch that I generated during testing. -- Added file: http://bugs.python.org/file38832/socket_eintr.1.patch ___ Python tracker <http://bugs.python.org/issue23

[issue23863] Fix EINTR Socket Module issues in 2.7

2015-04-08 Thread Jeff McNeil
Jeff McNeil added the comment: Missed check on _ex func. -- Added file: http://bugs.python.org/file38865/socket_eintr.2.patch ___ Python tracker <http://bugs.python.org/issue23

[issue23863] Fix EINTR Socket Module issues in 2.7

2015-04-08 Thread Jeff McNeil
Jeff McNeil added the comment: So, yeah, that's right. In the attached patch, I'm closing the file descriptor if the timeout/error happens on a non-blocking call. It fails with an EBADF on reconnect at that point, but it doesn't potentially leave an FD in the proc's file

<    1   2   3   4   >