[issue1205] urllib fail to read URL contents, urllib2 crash Python

2008-12-02 Thread John J Lee
John J Lee <[EMAIL PROTECTED]> added the comment: This is fixed in trunk r61034 by issue #900744 . Please use that issue for any discussion re whether this should be fixed in 2.5. -- nosy: +jjlee ___ Python tracker <[EMAIL PROTECTE

[issue1537445] urllib2 httplib _read_chunked timeout

2008-12-02 Thread John J Lee
John J Lee <[EMAIL PROTECTED]> added the comment: urlopen() raises URLError, .read() may raise other errors. I don't think that's a bug in itself, though no doubt: 1. The documentation of exceptions raised could and should be improved 2. The exceptions that can be raised

[issue1123695] attempting to use urllib2 on some URLs fails starting on 2.4

2008-12-02 Thread John J Lee
John J Lee <[EMAIL PROTECTED]> added the comment: Can somebody close this? It's fixed on trunk in #900744 . ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pyt

[issue4492] httplib code thinks it closes connection, but does not

2008-12-02 Thread John J Lee
New submission from John J Lee <[EMAIL PROTECTED]>: The fix for #900744 tried to close the connection when a bad chunk length was received. The comment inserted with that fix "close the connection as protocol synchronisation is probably lost" is incorrect: self.close() in _read_

[issue900744] catch invalid chunk length in httplib read routine

2008-12-02 Thread John J Lee
John J Lee <[EMAIL PROTECTED]> added the comment: The fix for this doesn't actually close the connection as the comment in the fix claims -- I've raised #4492 to track that. -- nosy: +jjlee ___ Python tracker <[EMAI

[issue1411097] httplib patch to make _read_chunked() more robust

2008-12-02 Thread John J Lee
John J Lee <[EMAIL PROTECTED]> added the comment: For the record, I think my worry in msg49366 was a non-issue: the only time .readline() will return "" is when the connection has closed (so I think the fix that eventually applied is correct). __

[issue1772481] urllib2 hangs with some documents.

2008-12-02 Thread John J Lee
John J Lee <[EMAIL PROTECTED]> added the comment: Please close: this is already fixed on trunk and release25-maint (r60747, issue #1966) (and on release26-maint, which was branched after the fix). -- nosy: +jjlee ___ Python tracker <[EMAIL

[issue4079] new urllib2.Request 'timeout' attribute needs to have a default

2008-12-02 Thread John J Lee
John J Lee <[EMAIL PROTECTED]> added the comment: This bug was known before the release -- unfortunately the original author of the patch didn't fix them in time. This and some other unresolved issues listed are listed on #2451. "Somebody" should raise bugs about the rest

[issue4079] new urllib2.Request 'timeout' attribute needs to have a default

2008-12-02 Thread John J Lee
Changes by John J Lee <[EMAIL PROTECTED]>: -- nosy: +facundobatista ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4079> ___ __

[issue4493] urllib2 doesn't always supply / where URI path component is empty

2008-12-02 Thread John J Lee
New submission from John J Lee <[EMAIL PROTECTED]>: As required by RFC 2616 section 3.2.2, for all HTTP requests sent by urllib2, the path component of the URI should be normalized to "/" before the Request-URI derived from it gets passed to httplib (or something functionally eq

[issue2464] urllib2 can't handle http://www.wikispaces.com

2008-12-02 Thread John J Lee
John J Lee <[EMAIL PROTECTED]> added the comment: I've raised #4493 about the issue I raised in my previous comment. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue4496] misleading comment in urllib2

2008-12-02 Thread John J Lee
New submission from John J Lee <[EMAIL PROTECTED]>: r54137 replaced a comment in urllib2.py with a misleading comment. The comment now implies the .insort() in question achieves the goal specified in the new comment. That's not true, which was the reason the original comment was t

[issue4496] misleading comment in urllib2

2008-12-02 Thread John J Lee
Changes by John J Lee <[EMAIL PROTECTED]>: -- components: +Library (Lib) nosy: +facundobatista versions: +Python 2.7, Python 3.0 ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue1401] urllib2 302 POST

2008-12-02 Thread John J Lee
John J Lee <[EMAIL PROTECTED]> added the comment: I think this was actually not a bug, and the fix should not have been applied. I guess this comment is just "for the record", as the fix is probably cruft that can't be removed now, since people will have started relying

[issue1660009] continuing problem with httplib multiple set-cookie headers

2009-02-09 Thread John J Lee
John J Lee added the comment: Why? ___ Python tracker <http://bugs.python.org/issue1660009> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue918368] urllib doesn't correct server returned urls

2009-02-09 Thread John J Lee
John J Lee added the comment: This bug refers to urllib. Issue 1153027 refers to urllib2. It's the same problem in each case, though. -- nosy: +jjlee ___ Python tracker <http://bugs.python.org/iss

[issue1153027] http_error_302() crashes with 'HTTP/1.1 400 Bad Request

2009-02-09 Thread John J Lee
John J Lee added the comment: This bug refers to urllib2. Issue 918368 refers to urllib. It's the same problem in each case, though. ___ Python tracker <http://bugs.python.org/issu

[issue918368] urllib doesn't correct server returned urls

2009-02-12 Thread John J Lee
John J Lee added the comment: Mike's list is missing one more character, "%" itself. So, the replacement should be: quote(newurl, safe="%/:=&?~#+!$,;'@()*[]") The replacement should be done in the .open() method, not

[issue918368] urllib doesn't correct server returned urls

2009-02-12 Thread John J Lee
John J Lee added the comment: A suitable test would be to derive a urllib.URLOpener subclass that has an open_spam(url) method which records the URL. Then call .open("spam://") in the test and verify that the URL has been quoted. ___ Python trac

[issue918368] urllib doesn't correct server returned urls

2009-02-12 Thread John J Lee
John J Lee added the comment: Uh, that should have beeen something like .open("spam://example.com/%2E/") of course. ___ Python tracker <http://bugs.python.or

[issue1372650] Cookie and multiple names

2009-02-13 Thread John J Lee
John J Lee added the comment: A patch for this bug is attached to issue1375011. ___ Python tracker <http://bugs.python.org/issue1372650> ___ ___ Python-bugs-list mailin

[issue1172011] BaseCookie does not call value_decode

2009-02-13 Thread John J Lee
Changes by John J Lee : -- nosy: -jjlee ___ Python tracker <http://bugs.python.org/issue1172011> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue991266] Cookie.py does not correctly quote Morsels

2009-02-13 Thread John J Lee
Changes by John J Lee : -- nosy: -jjlee ___ Python tracker <http://bugs.python.org/issue991266> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38708] parse_message_id in email module is very buggy / crashy

2019-11-05 Thread Dimitri John Ledkov
New submission from Dimitri John Ledkov : email module has recently got parse_message_id which is more strict now, then before. However, it's not programmed as defensively as expected. Given bogus message-id, it crashes with unbound local variable, or like accessing a non-existing

[issue38708] parse_message_id in email module is very buggy / crashy

2019-11-06 Thread Dimitri John Ledkov
Dimitri John Ledkov added the comment: Yes, issue38698 covers the UnboundLocalError, but doesn't cover inside get_msg_id there is also this gem: def get_msg_id(value): msg_id = MsgID() if value[0] in CFWS_LEADER: It should test value before accessing value[0] like

[issue44639] [sqlite3] Confusing typo "transation"

2021-07-14 Thread John M. Boger
New submission from John M. Boger : In the documentation for sqlite3.executescript() in python 3.9+, the pseudoword "transation" appears. I am reasonably sure "transaction" is meant, although it could be "translation". -- assignee: docs@python comp

[issue42414] unable to document fields of dataclass

2021-07-20 Thread John-Mark Gurney
John-Mark Gurney added the comment: Though this suggestion does work, I am not a fan of this solution. The issue is that it separates the doc from the definition. This works well if you have only a field fields in the class, But if you get 10-20+ fields, it moves away the docs and makes it

[issue42414] unable to document fields of dataclass

2021-07-20 Thread John-Mark Gurney
John-Mark Gurney added the comment: So, just looked at the patch, but it's missing the documentation part of it. Also, yes, you can add the doc as another line, but now that's two lines (yes, you can add semicolons to make it one line, but that might surprise some people). I

[issue44866] Inconsistent Behavior of int()

2021-08-08 Thread John Joseph Morelli
New submission from John Joseph Morelli : I first noticed this and reported it on the W3 Schools Tutorial, the section entitled "Add Two Numbers with User Input" There were many behaviors that I did not understand, but for this bug report, I will state that the input statements pr

[issue45733] importlib.abc.Traversable.name does not match

2021-11-05 Thread John-Mark Gurney
New submission from John-Mark Gurney : The documentation for Traversable.name says it is a method, not a property: https://docs.python.org/3/library/importlib.html#importlib.abc.Traversable.name The issue is that with Python 3.9.7 (default, Nov 1 2021, 11:26:33), using a standard posix

[issue39386] getting invalid data from async iterator

2020-01-18 Thread John-Mark Gurney
New submission from John-Mark Gurney : If I create a coro from an async iterator, then wait_for it w/ a timeout, but shielded, so it won't get canceled, and then await upon it, it returns invalid data. See the attached test case. The reason I do the following is to make sure that an

[issue12734] Request for property support in Python re lib

2021-01-26 Thread John Mark Vandenberg
Change by John Mark Vandenberg : -- nosy: +jayvdb ___ Python tracker <https://bugs.python.org/issue12734> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42825] Build libraries with "/OPT:REF" linker optimization on Windows

2021-02-04 Thread John Rey Osano
Change by John Rey Osano : -- components: +C API, Extension Modules, IO type: performance -> enhancement ___ Python tracker <https://bugs.python.org/issu

[issue43382] github CI blocked by the Ubuntu CI with an SSL error

2021-03-03 Thread Dimitri John Ledkov
Dimitri John Ledkov added the comment: Ubuntu 20.04+ compile OpenSSL with default security level set to 2, and further customized security level 2 to prohibit TLS below v1.2 and DTLS below v1.2. You can export custom openssl configuration that sets security level back to 1, which is

[issue43382] github CI blocked by the Ubuntu CI with an SSL error

2021-03-03 Thread Dimitri John Ledkov
Dimitri John Ledkov added the comment: BTW. It would be advisable for Python3 to start enforcing security level 2, and prohibit DTLS v1.1 and lower by default too. By configuring openssl library on the host with setting security level, and/or setting min versions (if openssl on the host

[issue42414] unable to document fields of dataclass

2020-11-19 Thread John-Mark Gurney
New submission from John-Mark Gurney : per: https://bugs.python.org/issue38401 There is not a way to document fields of a dataclass. I propose that instead of making a language change, that an additional parameter to the field be added in similar vein to property. This currently works

[issue42414] unable to document fields of dataclass

2020-11-20 Thread John-Mark Gurney
John-Mark Gurney added the comment: As I said, I expect it to work similar to how property works: ``` >>> class Foo: ... def getx(self): ... return 5 ... x = property(getx, doc='document the x property') ... >>> help(Foo) Help on class Foo in module __main__

[issue30924] RPM build doc_files needs files separated into separate lines

2017-07-13 Thread John 'Warthog9' Hawley
New submission from John 'Warthog9' Hawley: doc-files should break files up into multiple lines, as per RPM expectation when using %doc section of the RPM spec, it expects multiple files to be listed each on their own line. Currently what gets passed in is: %doc file1 file2 fi

[issue30924] RPM build doc_files needs files separated into separate lines

2017-07-13 Thread John 'Warthog9' Hawley
Changes by John 'Warthog9' Hawley : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue30924> ___ ___ Python-bugs-list maili

[issue30925] RPM build lacks ability to include other files similar to doc_files

2017-07-13 Thread John 'Warthog9' Hawley
New submission from John 'Warthog9' Hawley: Duplicate doc-files functionality, to inject files into bdist_rpm Enhancement to allow for files that are built outside of what's expected in setup.py to be injected into the bdist files_rpm listing so they are included in the resul

[issue34670] Add set_post_handshake_auth for TLS 1.3

2018-09-26 Thread Dimitri John Ledkov
Dimitri John Ledkov added the comment: Will this be backported to the 2.7 branch as well? Pretty please =) -- nosy: +xnox ___ Python tracker <https://bugs.python.org/issue34

[issue34818] test.test_ssl.ThreadedTests.test_tls1_3 fails in 2.7 with AttributeError: __exit__

2018-09-27 Thread Dimitri John Ledkov
New submission from Dimitri John Ledkov : test.test_ssl.ThreadedTests.test_tls1_3 fails in 2.7 with AttributeError: __exit__ When building python 2.7, update to 20180926 from the 2.7 branch, on Ubuntu 18.10 (cosmic) with OpenSSL 1.1.1 the test_ssl errors out like so

[issue34818] test.test_ssl.ThreadedTests.test_tls1_3 fails in 2.7 with AttributeError: __exit__

2018-09-27 Thread Dimitri John Ledkov
Dimitri John Ledkov added the comment: Similar client sockets are used in that file, but they are wrapped in extra `with closing(...) as s:` Is closing() wrapper missing in this test case? -- ___ Python tracker <https://bugs.python.

[issue34834] test_ssl.test_options does not correctly account for built-in ctx defaults with openssl 1.1.1

2018-09-28 Thread Dimitri John Ledkov
New submission from Dimitri John Ledkov : self.assertEqual(default, ctx.options) in test_options fails with openssl 1.1.1 as it does not correctly account for OP_ENABLE_MIDDLEBOX_COMPAT. It is not defined by the python2.7 ssl module either. either ssl.OP_ENABLE_MIDDLEBOX_COMPAT needs to be

[issue34834] test_ssl.test_options does not correctly account for built-in ctx defaults with openssl 1.1.1

2018-09-28 Thread Dimitri John Ledkov
Change by Dimitri John Ledkov : -- keywords: +patch pull_requests: +9022 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34834> ___ _

[issue34836] test_ssl.test_default_ecdh_curve needs no tls1.3 flag in 2.7, for now

2018-09-28 Thread Dimitri John Ledkov
New submission from Dimitri John Ledkov : test_default_ecdh_curve fails, as ssl.OP_NO_TLSv1_3 is not set on the context. and the test case can only work with non-tls1.3 connections. this indicates that the pull request that sprinkled ssl.OP_NO_TLSv1_3 everywhere was not backported, taking

[issue34836] test_ssl.test_default_ecdh_curve needs no tls1.3 flag in 2.7, for now

2018-09-28 Thread Dimitri John Ledkov
Change by Dimitri John Ledkov : -- keywords: +patch pull_requests: +9024 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34836> ___ _

[issue21810] SIGSEGV in PyObject_Malloc when ARENAS_USE_MMAP

2014-06-19 Thread John-Mark Bell
New submission from John-Mark Bell: In low-memory scenarios, the Python 2.7 interpreter may crash as a result of failing to correctly check the return value from mmap in new_arena(). This changeset appears to be the point at which this issue was introduced: http://hg.python.org/cpython/rev

[issue14621] Hash function is not randomized properly

2012-11-06 Thread John M Camara
John M Camara added the comment: How about using a secure hash algorithm that's implemented in HW when available. It doesn't eliminate the issue on systems that lack this support but at least it limits the scope of the problem. Of course some testing would need to be done to mak

[issue19875] test_getsockaddrarg occasional failure

2013-12-04 Thread John W. O'Brien
John W. O'Brien added the comment: For reference: CPython code comments showing that this may be an anticipated problem: http://hg.python.org/cpython/file/0830670a9d9d/Lib/test/support/__init__.py#l562 An example of another project that seems to have tackled this problem in the way neo

[issue1424148] urllib.FancyURLopener.redirect_internal looses data on POST!

2009-08-14 Thread John J Lee
John J Lee added the comment: This issue is not a bug, and should be closed. It was discussed at length many years ago (different bug tracker ticket), and resolved. Since then the same issue seems to come up every year or so, apparently raised by people who haven't checked the

[issue1424148] urllib.FancyURLopener.redirect_internal looses data on POST!

2009-08-15 Thread John J Lee
John J Lee added the comment: If you have a feature request, please open a separate ticket. This one is about an alleged bug. -- ___ Python tracker <http://bugs.python.org/issue1424

[issue4010] configure options don't trickle down to distutils

2009-08-21 Thread John P. Speno
John P. Speno added the comment: Hi. We encountered this issue on a Solaris 10 while building python 2.6.2. There's a problem with reptrov's patch from 2009-01-04. The LDFLAGS in the Makefile.pre.in patch need to be quoted also. Like so: LDFLAGS='$(LDFLAGS)' This allow

[issue4010] configure options don't trickle down to distutils

2009-08-21 Thread John P. Speno
John P. Speno added the comment: Furthermore, there's another bug in setup.py When extensions are built and CPPFLAGS (or other arguments) has multiple arguments, the order of the arguments are reversed. This is the wrong behavior. The specified directories should be used in the given

[issue6842] program run in interpreter, fails at command line

2009-09-05 Thread John Van Praag
New submission from John Van Praag : My platform: Win XP. Program fibo.py from the tutorial runs correctly in the interpreter. When I run it from the command line I get the following error: file "fibo.py" line 6 print(b, end=' ') ^ -- components: Wi

[issue7481] Failing to start a thread leaves "zombie" thread in "initial" state

2009-12-11 Thread John Mark Schofield
New submission from John Mark Schofield : SUMMARY: When you attempt to start a thread, and you're unable to (you get thread.error) it leaves a thread stuck in an "initial" state that never exits. (threading.enumerate() shows the threads and lists their status as "initial.&q

[issue1755841] Patch for [ 735515 ] urllib2 should cache 301 redir

2010-01-05 Thread John J Lee
John J Lee added the comment: To make sure I understood something Antoine said: By "per-request", I assume you mean the same kind of thing as the current use of .redirect_dict -- the multiple urllib2.Request instances that may result from a single request passed by the use

[issue1755841] Patch for [ 735515 ] urllib2 should cache 301 redir

2010-01-05 Thread John J Lee
John J Lee added the comment: > Yes,it currently does not handle chained redirects via cache. I dont know > RFC's stance on it. RFC does not say anything about 301 chained redirects I don't see anything in the RFC that prevents us caching chained 301 redirections. Cac

[issue8735] optparse: parse_args(values=...) does not set up default values

2010-05-16 Thread John W. Shipman
New submission from John W. Shipman : optparse's .parse_args() method has a 'values=...' keyword argument that is documented as: 'object to store option arguments in (default: a new instance of optparse.Values)' There is no description of what types this

[issue9029] errors='replace' works in IDLE, fails at Windows command line.

2010-06-18 Thread John Van Praag
New submission from John Van Praag : Platforms: Windows Vista Ultimate 64 bit Python v3.1.2 Goal is to read a tab-separated CSV file. Some records have garbage characters in them. The following code fragment works when the program is run in IDLE, but fails when run from the Windows command

[issue9126] errors='replace' does not work at Windows command line

2010-06-30 Thread John Van Praag
New submission from John Van Praag : The declaration errors='replace' works from within IDLE but not at the Windows command line. I am attaching a program and text file that demonstrate the problem. The error shows up at the Windows command line as follows: C:\Users\John\Docume

[issue9029] errors='replace' works in IDLE, fails at Windows command line.

2010-06-30 Thread John Van Praag
John Van Praag added the comment: I just now resubmitted, with a text file and program demonstrating the problem: Issue9126. I am new to submitting Python bug reports and I would like to do it right. I found I could only attach 1 file to the bug report. However, I had two files: The text file

[issue9126] errors='replace' does not work at Windows command line

2010-07-01 Thread John Van Praag
John Van Praag added the comment: According to the documentation of the open function: errors is an optional string that specifies how encoding and decoding errors are to be handled–this cannot be used in binary mode. Pass 'strict' to raise a ValueError exception if there is an enco

[issue2007] cookielib lacks FileCookieJar class for Internet Explorer

2010-07-10 Thread John J Lee
John J Lee added the comment: Suggest removing the comment that Terry refers to. That referenced MSIE code doesn't have an automated test, I've no idea whether it still works on modern Windows OSes, mechanize no longer supports use with urllib2, and I don't think that

[issue8975] Bug in cookiejar

2010-07-12 Thread John J Lee
John J Lee added the comment: This is a duplicate of issue3924 -- nosy: +jjlee ___ Python tracker <http://bugs.python.org/issue8975> ___ ___ Python-bugs-list m

[issue2277] MozillaCookieJar does not support Firefox3 cookie files

2010-07-12 Thread John J Lee
John J Lee added the comment: There is code in PyPI project mechanize that implements this feature. That code is marked experimental though, due to lack of testing. -- nosy: +jjlee ___ Python tracker <http://bugs.python.org/issue2

[issue2190] MozillaCookieJar ignore HttpOnly cookies

2010-07-12 Thread John J Lee
John J Lee added the comment: Is deprecation really necessary? lynx still uses that format. lynx doesn't write the header that MozillaCookieJar insists on being present, but a trivial subclass can read cookies files written by

[issue3704] cookielib doesn't handle URLs with / in parameters

2010-07-19 Thread John J Lee
John J Lee added the comment: My patch should be applied. -- ___ Python tracker <http://bugs.python.org/issue3704> ___ ___ Python-bugs-list mailing list Unsub

[issue3704] cookielib doesn't handle URLs with / in parameters

2010-07-20 Thread John J Lee
John J Lee added the comment: Hmm, I never tested with Python 3, though I assume the forward-port was straightforward. The patch was created against (2.x) trunk, so indeed it should be committed there also. Deselecting 2.6 since I assume no more maintenance backports will be made to 2.6

[issue27187] Relax __all__ location requirement in PEP 8

2016-06-02 Thread John Mark Vandenberg
Changes by John Mark Vandenberg : -- nosy: +jayvdb ___ Python tracker <http://bugs.python.org/issue27187> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27187] Relax __all__ location requirement in PEP 8

2016-06-07 Thread John Mark Vandenberg
John Mark Vandenberg added the comment: The revised text says __dunder__ should appear before any imports, however __future__ imports must appear first for obvious reasons. Does this need to be mentioned in the pep? -- ___ Python tracker <h

[issue27494] 2to3 parser failure caused by a comma after a generator expression

2016-07-12 Thread John Mark Vandenberg
Changes by John Mark Vandenberg : -- nosy: +jayvdb ___ Python tracker <http://bugs.python.org/issue27494> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27364] Deprecate invalid unicode escape sequences

2016-08-23 Thread John Mark Vandenberg
Changes by John Mark Vandenberg : -- nosy: +jayvdb ___ Python tracker <http://bugs.python.org/issue27364> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23168] test_file2k.py depends on sys.stdin being unseekable

2015-01-05 Thread Dimitri John Ledkov
Dimitri John Ledkov added the comment: > Removing a test when it doesn't pass is not the correct way to fix a test... Whilst I agree, this is not what was done in http://bugs.python.org/issue14853 . There it was concluded that the test itself is bogus and tests essentially

[issue23170] test_uuid test_ifconfig_getnode fails with Temporary failure in name resolution

2015-01-05 Thread Dimitri John Ledkov
New submission from Dimitri John Ledkov: Building 3.4.2, running testsuite on linux, test_uuid test_ifconfig_getnode fails as following: [365/388] test_uuid Warning -- sys.path was modified by test_site test test_uuid failed -- Traceback (most recent call last): File "/builddir/build/

[issue23170] test_uuid test_ifconfig_getnode fails with Temporary failure in name resolution

2015-01-05 Thread Dimitri John Ledkov
Dimitri John Ledkov added the comment: The source code matches 3.4.2 tarball exactly. There is no arp_getnode test that I can see. 316@unittest.skipUnless(os.name == 'posix', 'requires Posix') 317def test_ifconfig_getnode(self): 318node = uuid._ifconfig_get

[issue23170] test_uuid test_ifconfig_getnode fails with Temporary failure in name resolution

2015-01-05 Thread Dimitri John Ledkov
Dimitri John Ledkov added the comment: I guess this is related to http://bugs.python.org/issue17293 however I get a test-suite fail / exception there with 3.4.2 on Linux. -- ___ Python tracker <http://bugs.python.org/issue23

[issue17293] uuid.getnode() MAC address on AIX

2015-01-05 Thread Dimitri John Ledkov
Dimitri John Ledkov added the comment: I'm getting socket.gaierror from test_ifconfig_getnode / uuid._ifconfig_getnode() on python 3.4.2 on Linux, in a no network environment. Thus i'd like to see these try:/excepts: to be ported back to 3.4 branch, if they haven't been already

[issue1322] Deprecate platform.dist() and platform.linux_distribution() functions

2015-05-26 Thread Dimitri John Ledkov
Dimitri John Ledkov added the comment: Why not change them to parse os-release files as defined by http://www.freedesktop.org/software/systemd/man/os-release.html A lot of things use these functions to check what one is running on, despite the problems, and do different things at install

[issue1322] Deprecate platform.dist() and platform.linux_distribution() functions

2015-05-26 Thread Dimitri John Ledkov
Dimitri John Ledkov added the comment: Note that things have changed in this space, since the issue was opened in 2007. -- ___ Python tracker <http://bugs.python.org/issue1

[issue24425] Installer Vender Issue

2015-06-25 Thread John Laurence Poole
John Laurence Poole added the comment: I attempted to install on Windows Server 2008 R2 Service Pack 1 and had the same problems. I thought it might be proxy since I'm behind a firewall, but setting the usual values did not allow the program to overcome whatever it is that PIP is h

[issue24667] OrderedDict.popitem() raises KeyError

2015-07-19 Thread John Mark Vandenberg
Changes by John Mark Vandenberg : -- nosy: +John.Mark.Vandenberg ___ Python tracker <http://bugs.python.org/issue24667> ___ ___ Python-bugs-list mailing list Unsub

[issue19003] email.generator.BytesGenerator corrupts data by changing line endings

2015-09-18 Thread John Mark Vandenberg
Changes by John Mark Vandenberg : -- nosy: +John.Mark.Vandenberg ___ Python tracker <http://bugs.python.org/issue19003> ___ ___ Python-bugs-list mailing list Unsub

[issue25350] Stronger type enforcement (feature request)

2015-10-08 Thread John Michael Lafayette
New submission from John Michael Lafayette: With a lot of languages, I can tell that the type I am getting is an instance of the declared type I'm assigning it to. Example: Cat c = Factory.make("cat" Animal d = Factory.make("dog") Python: val c = Factory.make("ca

[issue25374] Deficiencies in type hint usage in Python standard libraries

2015-10-10 Thread John Michael Lafayette
New submission from John Michael Lafayette: I love the new type hint feature in Jetbrains IDE (PEP 0484). Now when my user defined methods return a value, I can press (Crtl+space) and see the type of that value and all its methods. Also, when I pass the wrong type in, I get a warning. Oddly

[issue25494] Four quotes used to begin docstring

2015-10-27 Thread John Mark Vandenberg
New submission from John Mark Vandenberg: Introduced in the initial version of statistics was """" starting a docstring https://hg.python.org/cpython/annotate/685e044bed5e/Lib/statistics.py#l380 Somewhere the fourth quote is dropped, as it doesnt appear in the docs: https

[issue25494] Four quotes used to begin docstring

2015-10-27 Thread John Mark Vandenberg
John Mark Vandenberg added the comment: The additional quotation mark is shown in help() >>> help(statistics.median_grouped) Help on function median_grouped in module statistics: median_grouped(data, interval=1) "Return the 50th percentile (median) of grouped c

[issue25494] Four quotes used to begin docstring

2015-10-27 Thread John Mark Vandenberg
John Mark Vandenberg added the comment: Thank you for clarifying that. Does that mean that this issue should not be assigned to docs@python and should not have a Component of 'Documentation'? -- ___ Python tracker <http://bugs.python.o

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2015-10-28 Thread John Mark Vandenberg
John Mark Vandenberg added the comment: Not surprising also occurs on Python 3.2, 3.3, & 3.6. I'm not sure whether fixes like this are suitable to be merged into 3.2/3.3.(is there a document describing this?) -- nosy: +John.Mark.Vandenberg versions: +Python 3.2, Python 3.3, P

[issue25502] unnecessary re-imports

2015-10-28 Thread John Mark Vandenberg
New submission from John Mark Vandenberg: The following four modules re-import another module unnecessarily as it is already imported in the global scope. Lib/getpass.py : msvcrt Lib/pickletools.py : sys Lib/smtplib.py : sys PC/testpy.py : os In each case, the import being removed in the

[issue25486] Resurrect inspect.getargspec() in 3.6

2015-10-28 Thread John Mark Vandenberg
Changes by John Mark Vandenberg : -- nosy: +John.Mark.Vandenberg ___ Python tracker <http://bugs.python.org/issue25486> ___ ___ Python-bugs-list mailing list Unsub

[issue25503] inspect.getdoc does find inherited property __doc__

2015-10-28 Thread John Mark Vandenberg
New submission from John Mark Vandenberg: inspect.getdoc's helper _finddoc raises an AttributeError on encountering a property, which is silently discarded. >>> class Foo(object): ... @property ... def foo(self): ... """foobar.""" ...

[issue25503] inspect.getdoc does find inherited property __doc__

2015-10-28 Thread John Mark Vandenberg
Changes by John Mark Vandenberg : -- nosy: +serhiy.storchaka ___ Python tracker <http://bugs.python.org/issue25503> ___ ___ Python-bugs-list mailing list Unsub

[issue25502] unnecessary re-imports

2015-10-28 Thread John Mark Vandenberg
Changes by John Mark Vandenberg : Added file: http://bugs.python.org/file40886/re-imports.diff ___ Python tracker <http://bugs.python.org/issue25502> ___ ___ Python-bug

[issue25504] undefined name 'modules' in Tools/freeze/checkextensions_win32.py

2015-10-28 Thread John Mark Vandenberg
New submission from John Mark Vandenberg: All versions of Tools/freeze/checkextensions_win32.py have had an error due to accessing 'modules.sourceFiles' instead of 'module.sourceFiles'. https://hg.python.org/cpython/diff/8e9d5e5103f5/Tools/freeze/checkextensions_win32.

[issue25505] undefined name 'window' in Tools/scripts/fixdiv.py

2015-10-28 Thread John Mark Vandenberg
New submission from John Mark Vandenberg: Tools/scripts/fixdiv.py 's `FileContext.truncate` has used `window` since it was created, when it is supposed to use self.window. https://hg.python.org/cpython/annotate/60f290a7eae8/Tools/scripts/fixdiv.py#l195 `truncate` is unused, so an altern

[issue25505] undefined name 'window' in Tools/scripts/fixdiv.py

2015-10-28 Thread John Mark Vandenberg
Changes by John Mark Vandenberg : Added file: http://bugs.python.org/file40889/fixdiv-remove-truncate.diff ___ Python tracker <http://bugs.python.org/issue25505> ___ ___

[issue25506] test_pprint reuses test_user_dict

2015-10-29 Thread John Mark Vandenberg
New submission from John Mark Vandenberg: test_pprint defined test_user_dict twice, once for UserDict, and the second for UserList. -- components: Library (Lib), Tests files: test_pprint-fix.diff keywords: patch messages: 253663 nosy: John.Mark.Vandenberg, serhiy.storchaka priority

[issue25506] test_pprint reuses test_user_dict

2015-10-29 Thread John Mark Vandenberg
John Mark Vandenberg added the comment: Sorry; the first patch includes unrelated fixes. -- Added file: http://bugs.python.org/file40892/test_pprint-fix.diff ___ Python tracker <http://bugs.python.org/issue25

[issue25505] undefined name 'window' in Tools/scripts/fixdiv.py

2015-10-29 Thread John Mark Vandenberg
Changes by John Mark Vandenberg : -- nosy: +serhiy.storchaka ___ Python tracker <http://bugs.python.org/issue25505> ___ ___ Python-bugs-list mailing list Unsub

<    7   8   9   10   11   12   13   >