[issue20974] email module docs say not compatible with current python version

2014-03-18 Thread Jim Jewett
New submission from Jim Jewett: http://docs.python.org/3.4/library/email.html#package-history The table ends with email version 5.1, distributed with Python 3.2, and compatible with Python 3.0 to 3.2. Since Python 3.3 and 3.4 also distribute 5.1.0, I'm betting that the actual compatib

[issue1599254] mailbox: other programs' messages can vanish without trace

2014-03-18 Thread Jim Jewett
Jim Jewett added the comment: OK, if I understand *that* correctly, (1) The locking mechanism doesn't really work, and that is too complicated to fix in this issue. A new issue would be fine. (2) The locking failure messes up the Table Of Contents, but that is too comprehensive a c

[issue11352] Update cgi module doc

2014-03-20 Thread Jim Jewett
Jim Jewett added the comment: I have now also looked at cgi-doc.patch, and it is not strictly documentation changes. I have no informed opinion on the the additional changes, but I don't think they should go in as "doc change". -- ___

[issue21181] Inconsistent Definition of collections.namedtuple.__dict__ in _source

2014-04-08 Thread Jim Peterson
New submission from Jim Peterson: The result returned by somenamedtuple._source seem inconsistent, in that it defines __dict__ as: __dict__ = property(_asdict) even though it imports property as: from builtins import property as _property and the namedtuple fields are defined using

[issue19385] dbm.dumb should be consistent when the database is closed

2014-04-23 Thread Jim Jewett
Jim Jewett added the comment: _check_closed sounds like you expect it to be closed, and might even assert that it is closed, except that you want the check run even in release mode and/or it might fail. Since being closed is actually the unexpectedly broken state, I would prefer that you

[issue19385] dbm.dumb should be consistent when the database is closed

2014-04-23 Thread Jim Jewett
Jim Jewett added the comment: I think the requested timing regression was for the non-broken case. When the database has NOT been closed, and keys() still works, will it be way slower than before? Note that I am not asking you to do that test (though the eventual committer might); the

[issue19714] Add tests for importlib.machinery.WindowsRegistryFinder

2014-04-23 Thread Jim Jewett
Jim Jewett added the comment: Pinging Martin ... earlier comments seem to have been completed. -- nosy: +Jim.Jewett ___ Python tracker <http://bugs.python.org/issue19

[issue16104] Compileall script: add option to use multiple cores

2014-04-25 Thread Jim Jewett
Jim Jewett added the comment: ProcessPoolExecutor already defaults to using cpu_count if max_workers is None. Consistency with that might be useful too. (and a default of 1 to mean nothing in parallel is sensible...) -- nosy: +Jim.Jewett

[issue21362] concurrent.futures does not validate that max_workers is proper

2014-04-28 Thread Jim Jewett
Jim Jewett added the comment: I confirm the bug. The patch looks good. -- nosy: +Jim.Jewett ___ Python tracker <http://bugs.python.org/issue21362> ___ ___ Pytho

[issue1599254] mailbox: other programs' messages can vanish without trace

2014-04-28 Thread Jim Jewett
Jim Jewett added the comment: pinging David Watson: What is the status? If I understand correctly, (and I may well not), you have already opened other issues for parts of this, and (only) the final patch is ready for patch (and hopefully) commit review. Is this correct

[issue20974] email module docs say not compatible with current python version

2014-04-28 Thread Jim Jewett
Jim Jewett added the comment: I don't know for sure if the compatibility claims are correct, but the patch looks good. -- stage: -> commit review ___ Python tracker <http://bugs.python.org

[issue16104] Compileall script: add option to use multiple cores

2014-04-28 Thread Jim Jewett
Jim Jewett added the comment: Trying to put bounds on the disagreements. Does anyone disagree with any of the following: (1) compileall currently runs single-threaded in a single process. (2) This enhancement intends to allow parallelization by process. (3) Users MAY need to express

[issue6839] zipfile can't extract file

2014-04-30 Thread Jim Jewett
Jim Jewett added the comment: I'm leaving it as "needs patch" because it isn't clear exactly what a committer should do. I think the current intent is to make the changes listed in zipfile_???_filename_mismatch_v2.patch (which are not listed as reviewable -- but th

[issue6839] zipfile can't extract file

2014-04-30 Thread Jim Jewett
Jim Jewett added the comment: Presumably the stacklevel applies to all versions; verifying that it warns about the right code location is important enough to require a test case. -- ___ Python tracker <http://bugs.python.org/issue6

[issue6839] zipfile can't extract file

2014-04-30 Thread Jim Jewett
Jim Jewett added the comment: On Wed, Apr 30, 2014 at 3:05 PM, Adam Polkosnik wrote: > test.zip up there is the test case for this change. Is there any other test > case needed? ah; I see the confusion. test.zip is test *data*. When I asked for a test *case*, I meant something that e

[issue6839] zipfile can't extract file

2014-04-30 Thread Jim Jewett
Jim Jewett added the comment: On Wed, Apr 30, 2014 at 3:11 PM, Adam Polkosnik > I've got some test cases where the zlib_forward_slash.patch doesn't cut it. My recommendation (and I could be convinced otherwise) would be to replace if fname_str != zinfo.orig_filename:

[issue6839] zipfile can't extract file

2014-05-02 Thread Jim Jewett
Jim Jewett added the comment: On Fri, May 2, 2014 at 1:14 AM, Adam Polkosnik > The problems documented here are related to two cases (both apparently > arriving from world of windows): Good! I had thought you had even more! > 1. two relative paths with inverted slash in one of t

[issue21492] email.header.decode_header sometimes returns bytes, sometimes str

2014-05-13 Thread Jim Minter
New submission from Jim Minter: Python 3.3.2 (default, Mar 5 2014, 08:21:05) [GCC 4.8.2 20131212 (Red Hat 4.8.2-7)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import email.header &g

[issue19385] dbm.dumb should be consistent when the database is closed

2014-05-13 Thread Jim Jewett
Jim Jewett added the comment: Did you try 3.5 without the patch, in case the issue is not with his code? On May 13, 2014 7:23 AM, "Serhiy Storchaka" wrote: > > Serhiy Storchaka added the comment: > > Claudiu, your benchmark is broken, it measure a no-op.

[issue21539] pathlib's Path.mkdir() should allow for "mkdir -p" functionality

2014-05-19 Thread Jim Garrison
New submission from Jim Garrison: As of Python 3.2, `os.makedirs()` takes `exist_ok` as a keyword argument. If set to true, the function does not raise an error if the directory already exists. This makes the function's behavior similar to `mkdir -p` on the UNIX commandline. (See

[issue6167] Tkinter.Scrollbar: the activate method needs to return a value, and set should take only two args

2014-06-02 Thread Jim Jewett
Jim Jewett added the comment: I'm still not seeing why these changes are sufficiently desirable to justify the code churn. Nor am I seeing test or doc changes that would explain the advantages of the new way, and prevent future regressions. I agree that the changes would make the signa

[issue21667] Clarify status of O(1) indexing semantics of str objects

2014-06-10 Thread Jim Jewett
Jim Jewett added the comment: I think the new wording is an improvement, but keeping the changes minimal left it in an awkward in-between state. Proposal: A string is a sequence of Unicode code points. Strings can include any sequence of code points, including some which are semantically

[issue21667] Clarify status of O(1) indexing semantics of str objects

2014-06-10 Thread Jim Jewett
Jim Jewett added the comment: And even my rewrite showed path dependency; a slight further improvement is to re-order encoding ahead of bytes. I also added a paragraph that I hope answers the speed issue. Proposal: A string is a sequence of Unicode code points. Strings can include any

[issue12561] Compiler workaround for wide string constants in Modules/getpath.c (patch)

2014-06-13 Thread Jim Jewett
Jim Jewett added the comment: Following up on Mark Lawrence's comment: http://bugs.python.org/issue12572 is collecting the patches required to compile under HP/UX, and the patch there supersedes those on this issue. Closing. -- nosy: +Jim.Jewett resolution: -> duplicat

[issue21719] Returning Windows file attribute information via os.stat()

2014-06-13 Thread Jim Jewett
Jim Jewett added the comment: Added version 3.5; is 3.4 somehow still correct? Set stage to patch review as there are still comments to deal with, but it looks pretty close to commit review. -- nosy: +Jim.Jewett stage: -> patch review versions: +Python

[issue21749] pkgutil ImpLoader does not support frozen modules

2014-06-13 Thread Jim Jewett
Jim Jewett added the comment: As best I can tell, this renames the original get_code to _get_code, and then delegates to it after handling the imp.PY_FROZEN case ... why not just add imp.PY_FROZEN to the if/elif chain in the original method? I also note that the call to self._fix_name doesn&#

[issue21748] glob.glob does not sort its results

2014-06-13 Thread Jim Jewett
Jim Jewett added the comment: I agree with R. David Murray, but it may be worth adding a clarification sentence (or an example with sorted) to the documentation. Changing status to Pending, in hopes that any doc changes would be quick. -- nosy: +Jim.Jewett resolution: -> not a

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-06-13 Thread Jim Jewett
Jim Jewett added the comment: (1) The patch is just to docs, not code, so I'm not entirely sure that I understood it properly. (2) The new semantics are a huge mess to explain. This might be because the old semantics were bad, but the result is the same. I think it would be bette

[issue21753] subprocess shell=True on Windows character escaping

2014-06-13 Thread Jim Jewett
New submission from Jim Jewett: Inspired by https://mail.python.org/pipermail/python-dev/2014-June/135029.html and the following thread. """ Normal Windows behavior: >hg status --rev ".^1" M mercurial\commands.py ? pysptest.py >hg status --rev .^

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-06-13 Thread Jim Jewett
Jim Jewett added the comment: Removing the existing behavior will almost certainly not be accepted, because of backwards compatibility. Adding new functionality is generally acceptable. Doing that through a new keyword that defaults to the old behavior is fairly common, and generally better

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2014-06-14 Thread Jim Jewett
Jim Jewett added the comment: On Jun 14, 2014 4:05 AM, "Aymeric Augustin" > preserving the same behavior by default That is a requirement, because of backwards compatibility. > providing more control for users who need a different behavior, for instance people who use SQLite a

[issue16383] Python 3.3 Permission Error with User Library on Windows

2012-11-01 Thread Jim Pattee
New submission from Jim Pattee: Python 3.3 Permission Error with User Library on Windows I have certain scripts that run without error on Python 2.7 and 3.2. With Python 3.3 they get a "Permission Error". This does not occur with every script. The difference seems to be that the o

[issue16383] Python 3.3 Permission Error with User Library on Windows

2012-11-01 Thread Jim Pattee
Jim Pattee added the comment: Python 3.3 (64bit) Traceback (most recent call last): File "file-py\astyle-protected.py", line 157, in process_files() File "file-py\astyle-protected.py", line 30, in process_files get_header_variables(header_variables, header_p

[issue16383] Python 3.3 Permission Error with User Library on Windows

2012-11-02 Thread Jim Pattee
Jim Pattee added the comment: The problem is not file permissions nor the install. I did some further testing. The problem actually occurs with the library calls at lines 23 and 25. I changed these lines to eliminate the library call by just hard coding the file path. Change from: line 23

[issue16383] Python 3.3 Permission Error with User Library on Windows

2012-11-03 Thread Jim Pattee
Jim Pattee added the comment: You have been in contact with my friends at Mensa. Further information: Just branching into the library causes a problem with permissions when opening files, even if the library just immediately returns. Opening the file in the library, before returning to the

[issue16864] sqlite3.Cursor.lastrowid isn't populated when executing a SQL REPLACE statement

2013-01-04 Thread Jim Minter
New submission from Jim Minter: sqlite3 doesn't populate the lastrowid member of the Cursor object when a SQL REPLACE statement is executed. The following snippet doesn't work as I would expect: cursor = db.execute("REPLACE INTO table(column) VALUES ('datum')") pr

[issue18874] Add a new tracemalloc module to trace memory allocations

2013-11-27 Thread Jim Jewett
Jim Jewett added the comment: These comments refer to http://hg.python.org/cpython/file/5c9af8194d3b/Doc/library/tracemalloc.rst which is newer than the current patches. I believe I have consolidated the still-open issues that I see (including those that aren't mine) for this file:

[issue18874] Add a new tracemalloc module to trace memory allocations

2013-11-27 Thread Jim Jewett
Jim Jewett added the comment: Drat: forgot one at line 277 .. function:: get_traced_memory() Get the current size and maximum size of memory blocks traced by the :mod:`tracemalloc` module as a tuple: ``(size: int, max_size: int)``. I have a tendency to read "maximum size" a

[issue8110] subprocess.py doesn't correctly detect Windows machines

2014-06-20 Thread Jim Jewett
Jim Jewett added the comment: It would be good to have the library work unchanged on both implementations. If subprocess only failed later, it would be less good, as the stdlib would then set an example that doesn't actually succeed. Note that the attached patch (by flox) does NOT impl

[issue8110] subprocess.py doesn't correctly detect Windows machines

2014-06-20 Thread Jim Jewett
Jim Jewett added the comment: (The above concerns -- other than whether it is sufficient to work -- do not apply to the change at https://bitbucket.org/ironpython/ironlanguages/commits/b6bb2a9a7bc5/ ) -- ___ Python tracker <http://bugs.python.

[issue21800] Implement RFC 6855 (IMAP Support for UTF-8) in imaplib.

2014-06-23 Thread Jim Jewett
Changes by Jim Jewett : -- stage: -> needs patch type: -> enhancement ___ Python tracker <http://bugs.python.org/issue21800> ___ ___ Python-bugs-list

[issue22000] cross type comparisons clarification

2014-07-17 Thread Jim Jewett
New submission from Jim Jewett: https://docs.python.org/3.5/library/stdtypes.html says "Objects of different types, except different numeric types, never compare equal." Despite the location, this seems to strong a statement, because of subclasses and classes which define __eq__

[issue22001] containers "same" does not always mean "__eq__".

2014-07-17 Thread Jim Jewett
New submission from Jim Jewett: https://docs.python.org/3.5/reference/expressions.html#not-in Containers are permitted to (and generally do) read "same as" as "is or __eq__), which can be confusing -- particularly in the section defining __eq__. Several suggested changes:

[issue22001] containers "same" does not always mean "__eq__".

2014-07-20 Thread Jim Jewett
Jim Jewett added the comment: Ah... "be the same object or compare equal" sounds much better. I don't want "same" to sound like an informal wording for equal, because getting rid of the confusion over NaN and similar objects is the whole point of the revision. On the

[issue22028] Python 3.4.1 Installer ended prematurely (Windows msi)

2014-07-21 Thread Jim Conyngham
New submission from Jim Conyngham: Python will not install on my Windows 7 (64-bit) OS. I have repeatedly tried the install with variations (specifying an install directly vs. taking the default; running as admininstrator vs. not; with and without logging) and with multiple downloads python

[issue22199] Embedding Python documentation error

2014-08-14 Thread Jim Carroll
New submission from Jim Carroll: On the page https://docs.python.org/2/extending/embedding.html#compiling-and-linking-under-unix-like-systems The documentation makes the following reference: "...(use sysconfig.get_makefile_filename() to find its location)..." But this is incorrect.

[issue19998] Python 2.7.6 fails to build _ctypes on GCC 2.x toolchain

2013-12-16 Thread Jim Carroll
New submission from Jim Carroll: When building Python 2.7.6 on older GCC 2.x, the _ctypes module fails to build. The failure is caused due to a header file reference to __builtin_expect (the author expected this to be available when the module was built with gcc, but did not take into account

[issue19998] Python 2.7.6 fails to build _ctypes on GCC 2.x toolchain

2013-12-17 Thread Jim Carroll
Jim Carroll added the comment: As requested, I've opened the issue with the libffi project: https://github.com/atgreen/libffi/issues/63 -- ___ Python tracker <http://bugs.python.org/is

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread Jim Jewett
Jim Jewett added the comment: Many people will not realize that the interactive help is affected by inspect or pydoc; it would be courteous to mention this. (Viewing http://docs.python.org/dev/whatsnew/3.4.html#summary-release-highlights ) In the highlights (table of contents?) section

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread Jim Jewett
Jim Jewett added the comment: I do not think it is sufficient to mention the help change under "Other Language Changes", because the people who know to look at that level of detail (let alone that particular location) are not the ones who will b

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread Jim Jewett
Jim Jewett added the comment: "(If the installation has Internet access, it is of course possible to upgrade pip to a release more recent than the bundled pip by using the bundled pip command itself once it is installed.)" --> "(If the installation has Internet acces

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread Jim Jewett
Jim Jewett added the comment: "wave can now write output to unssekable files. " --> "wave can now write output to unseekable files. " -- ___ Python tracker <http://

[issue19861] Update What's New for Python 3.4

2014-03-11 Thread Jim Jewett
Jim Jewett added the comment: Changes in the Python API: "If you use pyvenv in a script and desire that pip not be installed, you must add --wihtout-pip to your command invocation." --> "If you use pyvenv in a script and desire that pip not be installed, you must add --w

[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

2009-07-15 Thread Jim Garrison
Jim Garrison added the comment: Also needed here. While pretty-printing should be able to insert non-significant whitespace BETWEEN xml elements, it should never alter the content of (i.e. insert whitespace into) existing text elements. -- nosy: +jgarrison

[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

2009-07-16 Thread Jim Garrison
Jim Garrison added the comment: To clarify: ... it should never alter the content of (i.e. insert whitespace into) existing text elements that contain non-whitespace characters. -- ___ Python tracker <http://bugs.python.org/issue4

[issue6710] hotshot stats load causes TypeError when multiple files are loaded

2009-08-15 Thread Jim Fulton
New submission from Jim Fulton : I've attached a script that demonstrates the problem. When run with Python 2.5, it outputs statistics. When run with Python 2.6.2 it generates a TypeError: python2.6 hotshotbug.py Traceback (most recent call last): File "hotshotbug.py&qu

[issue6710] hotshot stats load causes TypeError when multiple files are loaded

2009-08-15 Thread Jim Fulton
Jim Fulton added the comment: Fred might be interested. :) -- nosy: +fdrake ___ Python tracker <http://bugs.python.org/issue6710> ___ ___ Python-bugs-list mailin

[issue4111] Add DTrace probes

2009-09-17 Thread Jim Baker
Changes by Jim Baker : -- nosy: +jbaker ___ Python tracker <http://bugs.python.org/issue4111> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue5397] PEP 372: OrderedDict

2009-03-01 Thread Jim Jewett
Jim Jewett added the comment: I would try to make it more explicit that updates do not reset the order, but deleting a item and re-inserting it *does*. (So it isn't the first insertion of the key, it is the first that hasn't yet been followed by a deletion.) Maybe change:

[issue5397] PEP 372: OrderedDict

2009-03-01 Thread Jim Jewett
Jim Jewett added the comment: I would also recommend strengthening some of the tests with regard to ordering stability across update vs delete-and-reinsert. TestOrderedDict.test_update does verify that updated items are not moved to the end, but the comment suggests it is only checking that

[issue5402] MutableMapping code smell (see OrderedDict)

2009-03-01 Thread Jim Jewett
New submission from Jim Jewett : Copy of issue 5397 In python 3, UserDict (and DictMixin) are gone; presumably they should be replaced by either a dict subclass or the ABC MutableMapping. Unfortunately, there doesn't seem to be a clean way to inherit from both. In python 2.x, you

[issue5117] os.path.relpath problem with root directory

2009-03-04 Thread Jim Blandy
Jim Blandy added the comment: In case the behavior requested here is controversial, here's an example of where it would be nice to have relpath(x, '/') return a path for x that is relative to the root directory: The 'oprofile' system profiler for Linux profiles everyth

[issue5432] plistlib contains unescaped hex sequence in doc string

2009-03-06 Thread Jim Correia
New submission from Jim Correia : The module doc string contains an example with hex escape sequences (see below). They are converted to their literal values by pydoc, which results in an unexpected encoding for the output of pydoc. (raw string, or proper escaping solves the problem

[issue5568] self.writer.closed() extraneous parens in BufferedRWPair of io module

2009-03-26 Thread Jim Olson
New submission from Jim Olson : import io # Corrected a typo in Python261/Lib/io.py at line 1167 # return self.writer.closed() ==> return self.writer.closed # in #@property #def closed(self): #return self.writer.closed #also: shouldn't ascii strings still work in Pyth

[issue5568] self.writer.closed() extraneous parens in BufferedRWPair of io module

2009-03-26 Thread Jim Olson
Changes by Jim Olson : -- components: +Library (Lib) ___ Python tracker <http://bugs.python.org/issue5568> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1641] asyncore delayed calls feature

2009-04-02 Thread Jim Fulton
Jim Fulton added the comment: > Looking back, I think Zope and Medusa should have adopted and evolved > their own copy of asynchat a long time ago... This statement is puzzling. No big deal, but I'm curious why you say this. --

[issue1641] asyncore delayed calls feature

2009-04-02 Thread Jim Fulton
Jim Fulton added the comment: For the record, afaict, Zope wasn't broken by this. Supervisor isn't part of Zope. -- ___ Python tracker <http://bugs.python.

[issue1641] asyncore delayed calls feature

2009-04-02 Thread Jim Fulton
Jim Fulton added the comment: On Apr 2, 2009, at 1:27 PM, Guido van Rossum wrote: > > Guido van Rossum added the comment: > > [Guido] >>> Looking back, I think Zope and Medusa should have adopted and >>> evolved >>> their own copy of asynchat a long

[issue1641] asyncore delayed calls feature

2009-04-02 Thread Jim Fulton
Jim Fulton added the comment: On Apr 2, 2009, at 3:35 PM, Josiah Carlson wrote: > > Josiah Carlson added the > comment: > > I'm not defending the documentation, I'm merely reposting it. > > The documentation for asyncore says, "The full set of meth

[issue5674] distutils fails to find Linux libs (lib.....so.n)

2009-04-02 Thread Jim Garrison
New submission from Jim Garrison : Trying to build 3.1a1 on Fedora 9, the following extensions get skipped even though the requisite packages are installed _dbm _gdbm _hashlib _sqlite3 _ssl bz2 readline zlib

[issue5824] SocketServer.DatagramRequestHandler Broken under Linux

2009-04-23 Thread Jim Dennis
New submission from Jim Dennis : .../lib/python2.*/SocketServer.py in class DatagramRequestHandler contains the following comment: # XXX Regrettably, I cannot get this working on Linux; # s.recvfrom() doesn't return a meaningful client address. This is a poor way to documen

[issue5824] SocketServer.DatagramRequestHandler Broken under Linux

2009-04-23 Thread Jim Dennis
Jim Dennis added the comment: Addendum: What I said about the default sendto() in finish() causing a loop in server_forever() was wrong. I'd seen that behavior in an experimental variation of the code. The exceptions raised (and deficiencies in documentation) are the

[issue1855] Codepage unset in msilib.init_database()

2009-05-17 Thread Jim Wilson
Jim Wilson added the comment: It's been more than a year. I'll work a little longer on the SetProperty(...) example, but here's the "confirming evidence". A related problem is 1884, but I simply don't remember the context and long ago deleted the code in disgust

[issue1884] msilib.SetProperty(msilib.PID_CODEPAGE, '1252') raises 0x65d = type mismatch

2009-05-17 Thread Jim Wilson
Jim Wilson added the comment: I hope this helps. It's Greek to me now. -- Added file: http://bugs.python.org/file14002/bar.py ___ Python tracker <http://bugs.python.org/i

[issue1884] msilib.SetProperty(msilib.PID_CODEPAGE, '1252') raises 0x65d = type mismatch

2009-05-17 Thread Jim Wilson
Jim Wilson added the comment: Well, I violated the admonition of the Great Satan: "PID_CODEPAGE must be first." (or words to that effect). It turns out not to make a difference. Revised (conforming) source attached. -- Added file: http://bugs.python.org/file14

[issue1943] improved allocation of PyUnicode objects

2009-05-30 Thread Jim Jewett
Jim Jewett added the comment: There were a number of patches to support sharing of data between unicode objects. (By Larry Hastings?) They were rejected because (a) they were complicated, and (b) it was possible to provoke pathological memory retention. -- nosy: +jimjjewett

[issue6094] Python fails to build with Subversion 1.7

2009-05-30 Thread Jim Jewett
Jim Jewett added the comment: Would this patch mean that users of pre-1.7 subversion would get build failures? Is it possible to support both forms of wording? -- nosy: +jimjjewett ___ Python tracker <http://bugs.python.org/issue6

[issue9220] Modules no longer usable as context managers

2010-07-10 Thread Jim Fulton
New submission from Jim Fulton : In python 2.7 a module can't be used as a context manager. For example, given the module, t.py: def __enter__(*args): print 'enter', args def __exit__(*args): print 'exit', args In Python 2.6: >>

[issue9220] Modules no longer usable as context managers

2010-07-10 Thread Jim Fulton
Jim Fulton added the comment: On Sat, Jul 10, 2010 at 4:08 PM, Éric Araujo wrote: > > Éric Araujo added the comment: > > Confirmed: http://docs.python.org/reference/datamodel#specialnames > Closing. Sorry! (BTW, using import hackery and a custom module type, you > could

[issue28968] xml rpc server fails with connection reset by peer error no 104

2016-12-22 Thread Jim Jewett
Jim Jewett added the comment: When I see a message like that, it normally means there is a firewall getting in my way. -- nosy: +Jim.Jewett ___ Python tracker <http://bugs.python.org/issue28

[issue29126] Fix comments about _PyThreadState_Current

2016-12-31 Thread Jim Nasby
New submission from Jim Nasby: Attached patch fixes two comments in dictobject.c referring to no longer exposed _PyThreadState_Current variable. I also tweaked the grammar for that issue in NEWS, since it came up in my search. Apologies if that's considered gratuitous

[issue29057] Compiler failure on Mac OS X - sys/random.h

2017-01-05 Thread Jim Nasby
Jim Nasby added the comment: This is still affecting me on 2.7, even with the new changes. 3.7 seems to be OK (I'm getting a different error on 3.7, but it seems unrelated to this.) OS X 10.11.6. -- nosy: +Jim Nasby ___ Python tracker

[issue29057] Compiler failure on Mac OS X - sys/random.h

2017-01-05 Thread Jim Nasby
Jim Nasby added the comment: I take it back... turns out I was building with the unsupported macports gcc. -- ___ Python tracker <http://bugs.python.org/issue29

[issue29428] Doctest documentation unclear about multi-line fixtures

2017-02-02 Thread Jim DeLaHunt
New submission from Jim DeLaHunt: I just had a problem with doctests. It manifested as an error that occurred when I did >>> import StringIO in my doctest. After some investigation, I realised that my actual problem was that the doctest library documentation https://docs.python.org/

[issue29428] Doctest documentation unclear about multi-line fixtures

2017-02-03 Thread Jim DeLaHunt
Jim DeLaHunt added the comment: Marco, thank you for your prompt comment. However, > Maybe you are running the doctest with Python 3. The StringIO module is no > more available in Python 3, so your doctest will fail on Python 3 Please let me be clear. This issue is not abo

[issue29428] Doctest documentation unclear about multi-line fixtures

2017-02-03 Thread Jim DeLaHunt
Jim DeLaHunt added the comment: Marco, thank you for the suggestion to watch Raymond Hettinger's talk. > I suggest you to watch this talk of Raymond Hettinger, before going on: > > https://www.youtube.com/watch?v=voXVTjwnn-U That video is 63 minutes long, and a lot of those min

[issue29428] Doctest documentation unclear about multi-line fixtures

2017-02-03 Thread Jim DeLaHunt
Jim DeLaHunt added the comment: Marco and David, thank you again for your prompt replies. Let me respond to both of your comments on the doctest module documentation itself. [Marco] > The example in section 26.3.3.2 [1], before the compound statement (the if/else), contains two sim

[issue29428] Doctest documentation unclear about multi-line fixtures

2017-02-04 Thread Jim DeLaHunt
Jim DeLaHunt added the comment: Marco, thank you for the suggestion of a howto. That is a good idea. In parallel, I was thinking of some howto content that I would like to see documented. • How to decide what to test with doctests and what with unittests. I have a feeling that the sweet

[issue29428] Doctest documentation unclear about multi-line fixtures

2017-02-08 Thread Jim DeLaHunt
Jim DeLaHunt added the comment: Marco: > To have a wide view, usually it is a good idea to start from the beginning: > > https://groups.google.com/forum/#!msg/comp.lang.python/DfzH5Nrt05E/Yyd3s7fPVxwJ Thank you, that is a very interesting thread. Clearly the creator of doctests, T

[issue29510] gitignore settings files for Eclipse IDE

2017-02-09 Thread Jim DeLaHunt
New submission from Jim DeLaHunt: The Eclipse IDE, and its relatives pydev and LiClipse, store settings in the root of a repository. It would be nice for the master .gitignore file to ignore these files, so that individual developers don't have to do this. I am preparing a GitHub

[issue29510] gitignore settings files for Eclipse IDE

2017-02-09 Thread Jim DeLaHunt
Jim DeLaHunt added the comment: A fix is in GitHub cpython PR #75. -- pull_requests: +26 ___ Python tracker <http://bugs.python.org/issue29510> ___ ___ Python-bug

[issue29510] gitignore settings files for Eclipse IDE

2017-02-09 Thread Jim DeLaHunt
Changes by Jim DeLaHunt : -- type: -> enhancement ___ Python tracker <http://bugs.python.org/issue29510> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue29510] gitignore settings files for Eclipse IDE

2017-02-09 Thread Jim DeLaHunt
Jim DeLaHunt added the comment: I'm now looking at cpython as retrieved from Mercurial by Eclipse. It appears to be concerned by the presence of .project which is also an Eclipse settings file. It might be reasonable to extend the scope of this issue to include telling Mercurial to i

[issue29510] gitignore settings files for Eclipse IDE

2017-02-09 Thread Jim DeLaHunt
Jim DeLaHunt added the comment: gitignore_global is a great idea. I had not heard of it before. But here it is: https://help.github.com/articles/ignoring-files/ . This instruction also has a link to a gist with a lot of helpful global ignores. I understand your reluctance to add entries for

[issue29510] gitignore settings files for Eclipse IDE

2017-02-09 Thread Jim DeLaHunt
Jim DeLaHunt added the comment: I have set up a global gitignore, and it works for me. % git config --global core.excludesfile ~/.gitignore_global (Amusingly, I had _already- set a global gitignore, but I had forgotten it existed, and it didn't ignore these IDE files.) I agree that we s

[issue29520] Documentation uses deprecated "defindex.html" Sphinx template

2017-02-09 Thread Jim DeLaHunt
New submission from Jim DeLaHunt: When I build the documentation on the current CPython code, there is a deprecation warning on the console. = (beginning of output) % make html sphinx-build -b html -d build/doctrees -D latex_elements.papersize= . build/html Running Sphinx v1.5.2

[issue29521] Minor warning messages when compiling documentation

2017-02-10 Thread Jim DeLaHunt
New submission from Jim DeLaHunt: When I build the documentation on the current CPython code, there are various error and warning messages on the console. Here's what my build output looks like. I've marked the messages I'm concerned about with a numbered >>0>> p

[issue29520] Documentation uses deprecated "defindex.html" Sphinx template

2017-02-10 Thread Jim DeLaHunt
Jim DeLaHunt added the comment: The other warnings in the "make html" output are the subject of http://bugs.python.org/issue29521 . -- ___ Python tracker <http://bugs.python.o

[issue29521] Minor warning messages when compiling documentation

2017-02-10 Thread Jim DeLaHunt
Jim DeLaHunt added the comment: Thanks, Martin, for your suggestions. In Misc/NEWS, I've respelled the ``char *`` as you suggested. In faq/windows.rst, I've used your wording from the discussion in http://bugs.python.org/issue29387 . Pull Request 76 https://github.com/python/cpyth

[issue29387] Tabs vs spaces FAQ out of date

2017-02-10 Thread Jim DeLaHunt
Jim DeLaHunt added the comment: I just created Pull Request 76 https://github.com/python/cpython/pull/76 to address http://bugs.python.org/issue29521 . In faq/windows.rst, I've used your wording from the discussion in of this bug. I may have address this issue completely, in fact.

<    1   2   3   4   5   6   7   8   >