[issue6911] Document changes in asynchat

2011-03-14 Thread Jeff Ramnani

Jeff Ramnani  added the comment:

This patch could no longer be applied cleanly on the 2.7 branch.

I have updated the patch so it applies cleanly to commit 22f991bb9b0b on the 
2.7 branch.

--
nosy: +jramnani
Added file: http://bugs.python.org/file21116/asynchat-docs.patch

___
Python tracker 
<http://bugs.python.org/issue6911>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11254] distutils doesn't byte-compile .py files to __pycache__ during installation

2011-03-14 Thread Jeff Ramnani

Jeff Ramnani  added the comment:

This patch applies cleanly as of rev 89af3880ca57 on branch default.

After applying the patch, I had two unit test failures when running,
"/python.exe -m test -v test_distutils", on OS X 10.6.  The tests were failing 
because they were not looking in the __pycache__ directory for byte-compiled or 
optimized files.

Attaching an updated patch that fixes the unit tests that were breaking.

--
nosy: +jramnani
Added file: http://bugs.python.org/file21146/issue11254.patch

___
Python tracker 
<http://bugs.python.org/issue11254>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8158] Docstring of optparse.OptionParser incomplete

2011-03-14 Thread Jeff Ramnani

Jeff Ramnani  added the comment:

I've read through the doc and the code.  All keyword arguments for 
OptionParser.__init__() are in the documentation for branches 2.7 and default 
(as of ecc176488349).

Does that mean this issue can be closed?

--
nosy: +jramnani

___
Python tracker 
<http://bugs.python.org/issue8158>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9362] Make exit/quit hint more novice friendly

2011-03-14 Thread Jeff Ramnani

Jeff Ramnani  added the comment:

I've checked Lib/site.py and it tells the user to use 'Ctrl-Z' to exit the 
prompt when they are running Windows.

Perhaps this means we can close the ticket, since discussion on this issue 
seems to have dissipated?

--
nosy: +jramnani

___
Python tracker 
<http://bugs.python.org/issue9362>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11254] distutils doesn't byte-compile .py files to __pycache__ during installation

2011-03-28 Thread Jeff Ramnani

Jeff Ramnani  added the comment:

I've reviewed your patch and it looks good.  I appreciate the review and 
cleanup.

The tests succeed for me after applying your patch.  I also tested with 
PYTHONOPTIMIZE and PYTHONDONTWRITEBYTECODE and got the output I expected.

--

___
Python tracker 
<http://bugs.python.org/issue11254>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8158] Docstring of optparse.OptionParser incomplete

2011-03-30 Thread Jeff Ramnani

Jeff Ramnani  added the comment:

You are correct.

I have added 'description' to the docstring of the OptionParser class for 2.7 
and default (python3 tip).

Here is the patch for python3 tip.

--
keywords: +patch
Added file: http://bugs.python.org/file21486/issue8151-default.patch

___
Python tracker 
<http://bugs.python.org/issue8158>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8158] Docstring of optparse.OptionParser incomplete

2011-03-30 Thread Jeff Ramnani

Jeff Ramnani  added the comment:

Attaching the same patch for 2.7.

--
Added file: http://bugs.python.org/file21487/issue8151-2.7.patch

___
Python tracker 
<http://bugs.python.org/issue8158>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7719] distutils: ignore .nfsXXXX files

2012-03-13 Thread Jeff Ramnani

Jeff Ramnani  added the comment:

I've updated SilentGhost's patch to include a test and documentation.

--
nosy: +jramnani
Added file: http://bugs.python.org/file24828/issue7719-nfs_silly_rename.patch

___
Python tracker 
<http://bugs.python.org/issue7719>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2018-02-11 Thread Jeff Ramnani

Jeff Ramnani  added the comment:

I think the error message you suggested is better than the one in the current 
patch.  I've added a new patch with your improved message.

I haven't submitted or updated a patch since the migration to GitHub.  I can 
open a PR over on GitHub if that would make it easier for you.

--
Added file: https://bugs.python.org/file47437/issue21060-py38.patch

___
Python tracker 
<https://bugs.python.org/issue21060>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7719] distutils: ignore .nfsXXXX files

2012-05-21 Thread Jeff Ramnani

Jeff Ramnani  added the comment:

Hynek,

I would indeed like to update this patch.  I will make the updates you have 
suggested.

--

___
Python tracker 
<http://bugs.python.org/issue7719>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7719] distutils: ignore .nfsXXXX files

2012-05-21 Thread Jeff Ramnani

Jeff Ramnani  added the comment:

Attached the updated patch.  I have added a .nfs file to test_prune_file_list 
in test_sdist.  I've also cleaned up the documentation to read a little better 
(IMO).

--
Added file: http://bugs.python.org/file25668/issue7719-nfs_silly_rename.patch

___
Python tracker 
<http://bugs.python.org/issue7719>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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_ssl.ThreadedTests)
--
Traceback (most recent call last):
  File "/Users/jramnani/code/cpython/Lib/test/test_ssl.py", line 2596, in 
test_default_ecdh_curve
context.set_ciphers("ECDH")
ssl.SSLError: ('No cipher can be selected.',)

--
"""

It looks to be related to issue, #21015 (changesets 3b81d1b3f9d1 and 
869277faf3dc).


OS Info:
* Version: OS X 10.9.2
* OpenSSL version: OpenSSL 0.9.8y 5 Feb 2013


The problem looks like OpenSSL on OS X is reporting that it has ECDH when it 
does not.

Python 3.5.0a0 (default:8cf384852680, Apr 14 2014, 13:32:46)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.38)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>> ssl.HAS_ECDH
True

--
components: Tests
messages: 216138
nosy: jramnani
priority: normal
severity: normal
status: open
title: Test failure for test_ssl.test_default_ecdh_curve on OS X
versions: Python 3.4, Python 3.5

___
Python tracker 
<http://bugs.python.org/issue21218>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 tracker 
<http://bugs.python.org/issue21015>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
nosy: +jramnani
Added file: http://bugs.python.org/file34898/issue21060-py35.patch

___
Python tracker 
<http://bugs.python.org/issue21060>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue17449>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/file29461/issue16709-tests.patch

___
Python tracker 
<http://bugs.python.org/issue16709>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue16709>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 Mountain Lion buildbot.  
`Here's an example build failure (Build 1058). 
http://buildbot.python.org/all/builders/AMD64%20Mountain%20Lion%20%5BSB%5D%203.x/builds/1058`_

Per issue #12958 I believe these tests should be skipped on OS X.

I'm attaching a patch which skips the offending tests on OS X.

--
components: Tests
files: skip-fd-socket-tests-osx.patch
keywords: patch
messages: 186474
nosy: jramnani
priority: normal
severity: normal
status: open
title: Skip tests in test_socket like testFDPassSeparate on OS X
type: behavior
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file29762/skip-fd-socket-tests-osx.patch

___
Python tracker 
<http://bugs.python.org/issue17684>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 as was done in issue 
#12958.

--
keywords: +patch
nosy: +jramnani
Added file: http://bugs.python.org/file41069/issue-24725.patch

___
Python tracker 
<http://bugs.python.org/issue24725>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13472] devguide doesn’t list all build dependencies

2015-04-14 Thread Jeff Ramnani

Jeff Ramnani added the comment:

So, the devguide has been updated since this issue was opened.  The Quick Start 
section now has a link to build documentation, which includes information about 
build dependencies.  Is this sufficient to call this bug closed?

--
nosy: +jramnani

___
Python tracker 
<http://bugs.python.org/issue13472>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com