[issue44578] dict with more than two type parameters doesn't raise a TypeError

2021-07-07 Thread Michael
New submission from Michael : dict with three type parameters is legal (e.g., dict[str, str, str]), where I expected a TypeError. When using typing.Dict, it does raise a TypeError. Example in python 3.9: >>> from typing import Dict >>> Dict[str, str, str] # Raises a Type

[issue44578] dict with more than two type parameters doesn't raise a TypeError

2021-07-07 Thread Michael
Michael added the comment: Same for list btw Python 3.9.6 (default, Jul 7 2021, 11:41:04) [Clang 12.0.5 (clang-1205.0.22.9)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> list[str, str, str] list[str, s

[issue44578] dict/list with more than two type parameters doesn't raise a TypeError

2021-07-07 Thread Michael
Change by Michael : -- title: dict with more than two type parameters doesn't raise a TypeError -> dict/list with more than two type parameters doesn't raise a TypeError ___ Python tracker <https://bugs.pytho

[issue38227] Setting a signal handler gets multiprocessing.Pool stuck

2020-05-06 Thread Michael
Michael added the comment: Looks like a duplicate of my previous issue https://bugs.python.org/issue29759 Unfortunately some frameworks like Gunicorn are extensively using signal handlers for their internal purposes. -- nosy: +mapozyan

[issue38227] Setting a signal handler gets multiprocessing.Pool stuck

2020-05-06 Thread Michael
Michael added the comment: Reproducing issue with attached test (Python 3.8.2 on Ubuntu 16.04). -- Added file: https://bugs.python.org/file49130/mp-signal-bug-python3.8.py ___ Python tracker <https://bugs.python.org/issue38

[issue38227] Setting a signal handler gets multiprocessing.Pool stuck

2020-05-06 Thread Michael
Michael added the comment: Attached working patch. Tested with signal handler set in Lib/test/_test_multiprocessing.py: 2329a2330,2331 > def signal_handler(signum, frame): > pass 2335a2338 > cls.old_handler = signal.signal(signal.SIGTERM, signal_handler)

[issue29759] Deadlock in multiprocessing.pool.Pool on terminate

2017-07-05 Thread Michael
Michael added the comment: If `task_handler._state = TERMINATE` is done before call to _help_stuff_finish(), then the following loop `while task_handler.is_alive() and inqueue._reader.poll()` in that function won't work as `is_alive()` will obviously return

[issue29759] Deadlock in multiprocessing.pool.Pool on terminate

2017-07-05 Thread Michael
Michael added the comment: I found a couple of other cases when deadlock still occurs. 1. _help_stuff_finish may remove sentinels from the queue. Some of the workers will then never get a signal to terminate. 2. worker handler thread may be terminated too late, so it may spawn new workers

[issue29759] Deadlock in multiprocessing.pool.Pool on terminate

2017-03-08 Thread Michael
New submission from Michael: Following code snippet causes a deadlock on Linux: """ import multiprocessing.pool import signal def signal_handler(signum, frame): pass if __name__ == '__main__': signal.signal(signal.SIGTERM, signal_handler) pool =

[issue29759] Deadlock in multiprocessing.pool.Pool on terminate

2017-03-08 Thread Michael
Michael added the comment: This patch kind of solves the issue. Not a nice one, but perhaps the safest one. https://github.com/michael-a-cliqz/cpython/commit/1536c8c8cfc5a87ad4ab84d1248cb50fefe166ae -- ___ Python tracker <http://bugs.python.

[issue29759] Deadlock in multiprocessing.pool.Pool on terminate

2017-03-08 Thread Michael
Changes by Michael : -- type: -> behavior versions: +Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker <http://bugs.python.org/issu

[issue10769] ast: provide more useful range information

2012-04-19 Thread Michael
Michael added the comment: Hi, Attached is the updated patch by Sven Brauch from the original mailing list thread bringing column offset reporting for attributes in line with everything else. The offsets for bar before the patch: foo[bar] = 4 foo(bar) = 4 foo.bar = 0 After: foo[bar] = 4

[issue15659] using os.fork() and import user's modules results in errors

2012-08-14 Thread Michael
New submission from Michael: if I import any python script in the beginning of the code in then I haver next errors: Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File

[issue15659] using os.fork() and import user's modules results in errors

2012-08-14 Thread Michael
Michael added the comment: thanks David, scripts which I imported were relying on some librarary which I did not understand. I was able to get rid of it and I don't have these errors any more. It was bug in my program. Thank you again. -- resolution: -> fixed status: open -

[issue6389] os.chmod() documentation refers to non-existent documentation in stat

2009-06-30 Thread Michael
New submission from Michael : If you look at the documentation for os.chmod(), it says: "mode may take one of the following values (as defined in the stat module)..." and then lists a number of constants from the stat module (stat.S_ISUID, stat.S_ISGID, etc.) I cannot seem to

[issue17214] http.client.HTTPConnection.putrequest encode error

2015-10-25 Thread Michael
Michael added the comment: The patch issue17214 did fix this issue in my 3.4.2 install on Ubuntu LTS. It triggered however another bug: File "/usr/local/lib/python3.4/urllib/request.py", line 646, in http_error_302 path = urlparts.path if urlpaths.path else "/" NameE

[issue17214] http.client.HTTPConnection.putrequest encode error

2015-10-25 Thread Michael
Michael added the comment: I should have looked more closely. The typo is part of the patch. It should be corrected there. -- ___ Python tracker <http://bugs.python.org/issue17

AssertionError in pickle's memoize function

2005-01-02 Thread Michael Hohn
Hi, here is a code sample that shows the problem I ran into: test.py: = import pickle class aList(list): def __init__(self, arg): # w/o this call, pickle works... list.__init__(self, arg) pass A = aList([1,2]) B = aList([A, 3]) the_data = {'a'

[issue40170] [C API] Prepare PyTypeObject structure for a stable ABI: avoid accessing members in the public API

2022-01-28 Thread Michael Felt
Change by Michael Felt : -- nosy: -Michael.Felt ___ Python tracker <https://bugs.python.org/issue40170> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12029] Allow catching virtual subclasses in except clauses

2022-02-07 Thread Michael McCoy
Michael McCoy added the comment: Checking my comment history here, a past me was terribly bad at linking the correct PR on github.This is the correct link: https://github.com/python/cpython/pull/6461 On Mon, Feb 7, 2022 at 10:12 AM Guido van Rossum wrote: > > Guido van Rossum add

[issue46810] multiprocessing.connection.Client doesn't support ipv6

2022-02-20 Thread Michael Hupfer
New submission from Michael Hupfer : Hi there, connecting a multiprocessing.connection.Client to an ipv6 address is not possible, since the address family is not passed into the constructor of class SocketClient. The constructor determines the family by calling address_type(address), which

[issue1180] Option to ignore ~/.pydistutils.cfg

2007-09-19 Thread Michael Hoffman
Changes by Michael Hoffman: -- components: Distutils severity: normal status: open title: Option to ignore ~/.pydistutils.cfg type: rfe versions: Python 2.6 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2007-09-19 Thread Michael Hoffman
Changes by Michael Hoffman: -- title: Option to ignore ~/.pydistutils.cfg -> Option to ignore or substitute ~/.pydistutils.cfg __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1643369] function breakpoints in pdb

2007-09-19 Thread Michael Hoffman
Michael Hoffman added the comment: Agree with isandler. This is not a bug. -- nosy: +hoffman _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/iss

[issue1180] Option to ignore ~/.pydistutils.cfg

2007-09-19 Thread Michael Hoffman
New submission from Michael Hoffman: It would be useful if setup.py instances had an option to ignore ~/.pydistutils.cfg or substitute it with another file. For example, this would be highly useful to people who maintain a system site-packages directory along with one in their own home directory

[issue1186] optparse documentation: -- being collapsed to - in HTML

2007-09-21 Thread Michael Hoffman
New submission from Michael Hoffman: See <http://docs.python.org/lib/optparse-callback-example-6.html> where it says 'either "-" or "-" can be option arguments'. One of these should be --. The same error occurs several times on the same page. Not

[issue1190] Windows rants& sugestions.

2007-09-22 Thread Michael Lawrence
New submission from Michael Lawrence: TCL Perl , resources , sometimes with the python tool kit , i'd want certin compontents removed , namely tcl/tk ; on a custom Installer Do you have windows TCL/TK (YES/no) (Yes) and the gui option panel to repoiit items add perl ruby ponteirs etc.

[issue1186] optparse documentation: -- being collapsed to - in HTML

2007-09-24 Thread Michael Hoffman
Michael Hoffman added the comment: At the very least could you change the "--" to be the verbatim class that shows up properly beneath? There has to be another solution that would result in the docs at least being correct even if we can't get LaTeX to do exact

[issue1186] optparse documentation: -- being collapsed to - in HTML

2007-09-24 Thread Michael Hoffman
Michael Hoffman added the comment: Also, see http://bugs.python.org/issue798006 which shows how to fix a similar problem elsewhere in the docs. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

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

2007-10-16 Thread Michael Torrie
Michael Torrie added the comment: I had a situation where I was talking to a Sharp MFD printer. Their web server apparently does not serve chunked data properly. However the patch posted here put it in an infinite loop. Somewhere around line 525 in the python 2.4 version of httplib.py, I had

[issue1689617] Intel icc build fails with optimizations -O2

2007-11-10 Thread Michael Forbes
Michael Forbes added the comment: This appears to have been a bug with the intel compilers. With the latest version 10.1 20070913 everything seems to work. _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/iss

[issue12958] test_socket failures on Mac OS X

2011-09-18 Thread Michael Foord
Michael Foord added the comment: See issue 10548. There is some resistance to expectedFailure masking errors in setUp/tearDown as these aren't the place where you would normally expect the expected failure... -- ___ Python tracker

[issue10548] Error in setUp not reported as expectedFailure (unittest)

2011-09-18 Thread Michael Foord
Michael Foord added the comment: I think Twisted uses the tearDown to fail tests as well. As we have two use cases perhaps we should allow expectedFailure to work with failues in tearDown? (And if we do that it should cover setUp as well for symmetry or it becomes a morass of special cases

[issue12681] unittest expectedFailure could take a message argument like skip does

2011-10-07 Thread Michael Foord
Michael Foord added the comment: Well, it would be nice for the Python test suite, maybe not so useful for external users of the api. Something for regrtest rather than unittest I think. -- ___ Python tracker <http://bugs.python.org/issue12

[issue13357] HTMLParser parses attributes incorrectly.

2011-11-06 Thread Michael Brooks
New submission from Michael Brooks : Open the attached file "red_test.html" in a browser. The "bad" elements are blue because the style tag isn't parsed by any known browser. However, the HTMLParser library will incorrectly recognize them. -- compon

[issue13358] HTMLParser incorrectly handles cdata elements.

2011-11-06 Thread Michael Brooks
New submission from Michael Brooks : The HTML tag at the bottom of this page correctly identified has having cdata like properties and trigger set_cdata_mode(). Due to the cdata properties of this tag, the only way to end the data segment is with a closing tag, NO OTHER tag can close this

[issue13358] HTMLParser incorrectly handles cdata elements.

2011-11-06 Thread Michael Brooks
Changes by Michael Brooks : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue13358> ___ ___ Python-bugs-list mailing list Unsubscri

[issue13357] HTMLParser parses attributes incorrectly.

2011-11-06 Thread Michael Brooks
Michael Brooks added the comment: Yes, I am running the latest version, which is python 2.7.2. On Sun, Nov 6, 2011 at 12:14 PM, Ezio Melotti wrote: > > Ezio Melotti added the comment: > > Thanks for the report. > Could you try with the latest 2.7 and see if you can reproduc

[issue13358] HTMLParser incorrectly handles cdata elements.

2011-11-06 Thread Michael Brooks
Michael Brooks added the comment: Yes I am running python 2.7.2. On Sun, Nov 6, 2011 at 12:52 PM, Ezio Melotti wrote: > > Ezio Melotti added the comment: > > Have you tried with the latest 2.7? (see msg147170) > > -- > nosy: +ezio.melotti >

[issue13357] HTMLParser parses attributes incorrectly.

2011-11-06 Thread Michael Brooks
Michael Brooks added the comment: Python 2.7.3 is still affected by both of these issues. On Sun, Nov 6, 2011 at 12:56 PM, Ezio Melotti wrote: > > Ezio Melotti added the comment: > > I mean 2.7.3 (i.e. the development version). > You need to get a clone of Python as explain

[issue13358] HTMLParser incorrectly handles cdata elements.

2011-11-07 Thread Michael Brooks
Michael Brooks added the comment: This one should also have a priority change. Tested python 2.7.3 --MIke On Sun, Nov 6, 2011 at 12:54 PM, Michael Brooks wrote: > > Michael Brooks added the comment: > > Yes I am running python 2.7.2. > > On Sun, Nov 6, 2011 at 12:52 PM, Ez

[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

2011-11-07 Thread Michael Foord
Michael Foord added the comment: On OS X Lion, with XCode 4.2 installed, I find the following works (no need to install macports): ./configure CC=gcc-4.2 --prefix=/dev/null --with-pydebug -- nosy: +michael.foord ___ Python tracker <h

[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

2011-11-07 Thread Michael Foord
Michael Foord added the comment: Ah, it seems I have XCode 3.2.6 installed alongside XCode 4.2. -- ___ Python tracker <http://bugs.python.org/issue13241> ___ ___

[issue11812] transient socket failure to connect to 'localhost'

2011-11-08 Thread Michael Foord
Changes by Michael Foord : -- nosy: -michael.foord ___ Python tracker <http://bugs.python.org/issue11812> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13387] add exact_type argument to assertIsInstance

2011-11-12 Thread Michael Foord
Michael Foord added the comment: I think your proposed workaround is good enough and no extra effort to type than the suggested change to assertIsInstance. -1 on a new method I think the behaviour of isinstance is clear enough that people who misunderstand what assertIsInstance is doing

[issue13358] HTMLParser incorrectly handles cdata elements.

2011-11-17 Thread Michael Brooks
Michael Brooks added the comment: Has anyone else been able to verify this? On Mon, Nov 7, 2011 at 7:46 AM, Michael Brooks wrote: > > Michael Brooks added the comment: > > This one should also have a priority change. Tested python 2.7.3 > > --MIke > > On Sun, Nov 6, 2

[issue13358] HTMLParser incorrectly handles cdata elements.

2011-11-17 Thread Michael Brooks
Michael Brooks added the comment: Ok so until you fix this bug, i'll be overriding HTMLParser with my fix, becuase this is a blocking issue for my project. My HTMLParser must behave like a browser, period end of story. Thanks. On Thu, Nov 17, 2011 at 9:24 AM, Ezio Melotti wrote: >

[issue13358] HTMLParser incorrectly handles cdata elements.

2011-11-17 Thread Michael Brooks
Michael Brooks added the comment: Oah, then there is a misunderstanding. No browser will parse the html that is declared within a javascript variable, it must be treated as a continues data segment (with cdata properties) until the exit is encountered (and if this tag found anywhere, even

[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

2011-11-19 Thread Michael Foord
Michael Foord added the comment: Note that this works for me on a Macbook Air that has never had Snow Leopard, nor XCode 3 installed. As far as I can tell non-llvm gcc *is* installed by XCode 4.2: /usr/bin/gcc-4.2 -- ___ Python tracker <h

[issue10278] add time.wallclock() method

2011-11-25 Thread Michael Foord
Changes by Michael Foord : -- nosy: -michael.foord versions: +Python 3.3 -Python 3.2 ___ Python tracker <http://bugs.python.org/issue10278> ___ ___ Python-bug

[issue13492] ./configure --with-system-ffi=LIBFFI-PATH

2011-11-28 Thread Michael Kraus
New submission from Michael Kraus : It would be very helpful to have the ability to specify a LIBFFI-PATH during Python configuration via ./configure --with-system-ffi=LIBFFI-PATH We are using the Intel compiler to build Python, NumPy, SciPy, and Cython on a SuSE Linux Enterprise Server

[issue13561] os.listdir documentation should mention surrogateescape

2011-12-08 Thread Michael Foord
New submission from Michael Foord : Where os.listdir encounters undecodable bytes from the filesystem it uses the surrogateescape handler. As the resulting strings are invalid they can't be encoded without an errorhandler, and so can't be printed (for example). This should be

[issue11813] inspect.getattr_static doesn't get module attributes

2011-12-18 Thread Michael Foord
Michael Foord added the comment: I'd like to commit this patch. What's your real name Trundle, for the NEWS entry? -- assignee: -> michael.foord ___ Python tracker <http://bugs.pytho

[issue11178] Running tests inside a package by module name fails

2011-12-18 Thread Michael Foord
Michael Foord added the comment: No longer reproducable on CPython. Unfortunately still an issue with unittest2. -- resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue11764] inspect.getattr_static code execution w/ class body as non dict

2011-12-18 Thread Michael Foord
Changes by Michael Foord : -- resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/issue11764> ___ ___ Python-bugs-list

[issue11829] inspect.getattr_static code execution with meta-metaclasses

2011-12-18 Thread Michael Foord
Michael Foord added the comment: Andreas, is this still needed and valid? -- assignee: -> michael.foord ___ Python tracker <http://bugs.python.org/issu

[issue8313] message in unittest tracebacks

2011-12-23 Thread Michael Foord
Michael Foord added the comment: traceback patch looks good. Thanks for the unittest2 patch as well. -- ___ Python tracker <http://bugs.python.org/issue8

[issue13675] IDLE won't open if it can't read recent-files.lst

2011-12-29 Thread Michael Foord
Michael Foord added the comment: Thanks -- resolution: -> duplicate status: open -> closed ___ Python tracker <http://bugs.python.org/issue13675> ___ ___

[issue13675] IDLE won't open if it can't read recent-files.lst

2011-12-29 Thread Michael Foord
New submission from Michael Foord : Reported by a user. Reported on Windows but probably not Windows specific. If IDLE doesn't have permission to read the recent-files.lst file then it crashes. (When launched with pythonw.exe on Windows it silently fails to open with no error message t

[issue13718] Format Specification Mini-Language does not accept comma for percent value

2012-01-06 Thread Michael Kesper
New submission from Michael Kesper : http://docs.python.org/library/string.html#format-specification-mini-language mentions: Changed in version 2.7: Added the ',' option (see also PEP 378). PEP 378 tells me: The ',' option is defined as shown above for types 'd&

[issue13771] HTTPSConnection __init__ super implementation causes recursion error

2012-01-11 Thread Michael Mulich
New submission from Michael Mulich : While working on porting wsgi_intercept to Python 3 I came across a recursion issue with http.client.HTTPSConnection. The following is an lesser extraction of the traceback: Traceback (most recent call last): File ".../wsgi_intercept

[issue13777] socket: communicating with Mac OS X KEXT controls

2012-01-12 Thread Michael Goderbauer
New submission from Michael Goderbauer : Mac OS X provides a socket-based API to communicate with Kernel Extensions (KEXTs) called "KEXT Controls". For this, Mac OS X defines PF_SYSTEM as a new socket domain which supports the SYSPROTO_CONTROL protocol. Right now the PF_SYSTEM doma

[issue12166] object.__dir__

2011-05-24 Thread Michael Foord
New submission from Michael Foord : Implementing a custom __dir__ method is fiddly because there is no way of obtaining the standard list of attributes that dir would return. Moving the relevant parts of the dir implementation into object.__dir__ would allow a custom __dir__ to obtain the

[issue11798] Test cases not garbage collected after run

2011-05-26 Thread Michael Foord
Michael Foord added the comment: Sure, let's do it. Fabio, care to provide patch with tests and doc changes? (For 3.3.) -- ___ Python tracker <http://bugs.python.org/is

[issue11906] test_argparse failure in interactive mode

2011-05-27 Thread Michael Foord
Michael Foord added the comment: Unless Terry wants to contribute a fix I suggest closing this. -- ___ Python tracker <http://bugs.python.org/issue11906> ___ ___

[issue11906] test_argparse failure in interactive mode

2011-05-27 Thread Michael Foord
Michael Foord added the comment: > Interactive mode is an approved method of running Python code, along with > batch mode. That is not guaranteed for any particular piece of Python code in the standard library. In particular it is not amenable to test automation, so it is certainly

[issue11906] test_argparse failure in interactive mode

2011-05-27 Thread Michael Foord
Michael Foord added the comment: > it should run interactively as documented. Where is it documented that all tests will run from the IDLE prompt? I have *never* heard this claim before. I have nothing against tests supporting this, but those who want it to happen will have to do the w

[issue10884] pkgutil EggInfoDistribution requirements for .egg-info metadata

2011-06-05 Thread Michael Mulich
Michael Mulich added the comment: Looks like someone fixed this before distutils2 was merged into cpython as packaging. Thanks. -- resolution: -> works for me status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue10884] pkgutil EggInfoDistribution requirements for .egg-info metadata

2011-06-08 Thread michael mulich
michael mulich added the comment: Sure, I'll have a look. I'm only getting back into the swing of things, but hopefully I can get more involved. Trying to do one or two small tasks a night. -Michael Mulich (pumazi) On Mon, Jun 6, 2011 at 11:33 AM, Éric Araujo wrote: > > Ér

[issue8371] Add a command to download distributions

2011-06-09 Thread Michael Mulich
Changes by Michael Mulich : -- nosy: +michael.mulich ___ Python tracker <http://bugs.python.org/issue8371> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8501] --dry-run option doesn't work

2011-06-09 Thread Michael Mulich
Changes by Michael Mulich : -- nosy: +michael.mulich ___ Python tracker <http://bugs.python.org/issue8501> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8591] update mkpkg to latest coding standards

2011-06-09 Thread Michael Mulich
Changes by Michael Mulich : -- nosy: +michael.mulich ___ Python tracker <http://bugs.python.org/issue8591> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11880] add a {dist-info} category to distutils2

2011-06-09 Thread Michael Mulich
Changes by Michael Mulich : -- nosy: +michael.mulich ___ Python tracker <http://bugs.python.org/issue11880> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8668] Packaging: add a 'develop' command

2011-06-09 Thread Michael Mulich
Changes by Michael Mulich : -- nosy: +michael.mulich ___ Python tracker <http://bugs.python.org/issue8668> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12302] pysetup run test

2011-06-09 Thread Michael Mulich
New submission from Michael Mulich : A package's metadata (dist-info) should be available to it while running the test command (pysetup run test)? The use case: I've written a test for a function that is supposed to find the default configuration or one provided in a users loca

[issue12302] test command is not loading the distribution metadata

2011-06-09 Thread Michael Mulich
Changes by Michael Mulich : -- title: pysetup run test -> test command is not loading the distribution metadata ___ Python tracker <http://bugs.python.org/issu

[issue12302] test command is not loading the distribution metadata

2011-06-09 Thread Michael Mulich
Michael Mulich added the comment: The RESOURCES implement in install_distinfo command should probably be a separate case, no? -- ___ Python tracker <http://bugs.python.org/issue12

[issue12279] Add build_distinfo command to packaging

2011-06-10 Thread Michael Mulich
Changes by Michael Mulich : -- nosy: +michael.mulich ___ Python tracker <http://bugs.python.org/issue12279> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10530] distutils2 should allow the installing of python files with invalid syntax

2011-06-14 Thread Michael Foord
Michael Foord added the comment: Config options are for when developers can't make decisions. Given that there are valid use cases please just allow it. A --strict option is fine... (but no-one will use it I suspect) -- ___ Python tracker

[issue11218] pattern=None when following documentation for load_tests and unittest.main()

2011-06-14 Thread Michael Foord
Changes by Michael Foord : -- assignee: -> michael.foord ___ Python tracker <http://bugs.python.org/issue11218> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10530] distutils2 should allow the installing of python files with invalid syntax

2011-06-14 Thread Michael Foord
Michael Foord added the comment: Yes, allowing it by default. :-) -- ___ Python tracker <http://bugs.python.org/issue10530> ___ ___ Python-bugs-list mailin

[issue12314] regrtest checks (os.environ, sys.path, etc.) are hard to use

2011-06-15 Thread Michael Foord
Michael Foord added the comment: I don't think this is something that belongs in unittest - it's not something particularly useful (or at least particularly requested) outside of the python test suite. No reason that a WatchfulTestRunner couldn't l

[issue12341] Some additions to .hgignore

2011-06-15 Thread Michael Foord
Changes by Michael Foord : -- nosy: +michael.foord ___ Python tracker <http://bugs.python.org/issue12341> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12366] packaging.pypi.dist should abstract download errors.

2011-06-19 Thread Michael Mulich
New submission from Michael Mulich : packaging.pypi.dist should abstract download errors, especially those from external sources. Download errors are currently reported from urllib. We should probably be using packaging.errors.PackagingPyPIError in this situation. Other suggestions? Example

[issue12368] packaging.pypi.simple.Crawler assumes external download links are ok to follow

2011-06-19 Thread Michael Mulich
New submission from Michael Mulich : The packaging.pypi.simple.Crawler blindly follows external download URLs. The crawler should honor a list of allowed hosts (see also the hosts parameter) before attempting to download from an external source. Éric Araujo has also pointed out that

[issue12370] Use of super overwrites use of __class__ in class namespace

2011-06-19 Thread Michael Foord
New submission from Michael Foord : In Python 3 the following code prints "False" because the use of super() has caused the __class__ descriptor to be omitted from the class namespace. Remove the use of super and it prints "True". class X(object): def __init__(

[issue11763] assertEqual memory issues with large text inputs

2011-06-25 Thread Michael Foord
Michael Foord added the comment: The basic idea of the patch is good, but instead of introducing _MAX_LENGTH, maxDiff should be reused. -- ___ Python tracker <http://bugs.python.org/issue11

[issue11763] assertEqual memory issues with large text inputs

2011-06-25 Thread Michael Foord
Michael Foord added the comment: Sorry, ignore that. I see that the patch already passes maxDiff to truncate_str. -- ___ Python tracker <http://bugs.python.org/issue11

[issue11163] iter() documentation code doesn't work

2011-06-25 Thread Michael Grazebrook
Michael Grazebrook added the comment: Thank you. On 25/06/2011 13:38, Raymond Hettinger wrote: > Changes by Raymond Hettinger: > > > -- > resolution: -> fixed > status: open -> closed > > ___ > Python tracker >

[issue12376] unittest.TextTestResult.__init__ does not pass on its init arguments in super call

2011-06-27 Thread Michael Foord
Michael Foord added the comment: I have a feeling I added the arguments to TestResult.__init__ to allow it to be used as a silent test result directly in place of TextTestResult. I still need to check this. Not adding the arguments to the super call in TextTestResult would have been an

[issue12376] unittest.TextTestResult.__init__ does not pass on its init arguments in super call

2011-06-27 Thread Michael Foord
Changes by Michael Foord : -- assignee: -> michael.foord ___ Python tracker <http://bugs.python.org/issue12376> ___ ___ Python-bugs-list mailing list Unsubscri

[issue7117] Backport py3k float repr to trunk

2011-06-29 Thread Michael Foord
Michael Foord added the comment: Wondered if you guys had heard of some recent advances in the state of the art in this field. I'm sure you have, but thought I'd link it here anywhere. Quote taken from this article (which links to relevant papers): http://www.serpentine.com/blog/

[issue12526] packaging.pypi.Crawler and resulting objects have a circular API

2011-07-10 Thread Michael Mulich
New submission from Michael Mulich : The issue, as best I can describe it, is in how the a release list (packaging.pypi.dist.ReleaseList) looks up releases. Here is a simple example using a random package on PyPI. >>> crawler = Crawler() >>> projects = crawler.searc

[issue8639] Allow callable objects in inspect.getargspec

2011-07-11 Thread Michael Foord
Michael Foord added the comment: Doesn't seem like an unreasonable request. Nick / Benjamin, what do you think? -- ___ Python tracker <http://bugs.python.org/i

[issue8639] Allow callable objects in inspect.getfullargspec

2011-07-11 Thread Michael Foord
Michael Foord added the comment: I can produce a patch w/ tests and documentation for you to review Nick. -- ___ Python tracker <http://bugs.python.org/issue8

[issue12532] PyPI server index names with '/' in them

2011-07-11 Thread Michael Mulich
New submission from Michael Mulich : Forward slashes show up in a project's (packaging.pypi.dist.ReleaseList) name when using a crawler (packaging.pypi.simple.Crawler) against, say and Apache index page. The packaging.tests:/pypiserver/foo_bar_baz directory is a perfect example of this

[issue12532] PyPI server index names with '/' in them

2011-07-11 Thread Michael Mulich
Changes by Michael Mulich : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue12532> ___ ___ Python-bugs-list mailing list Unsubscri

[issue8668] Packaging: add a 'develop' command

2011-07-11 Thread Michael Mulich
Michael Mulich added the comment: After looking over the use cases, these are my findings and questions: * Cases 2, 3, 5 and 6 are strongly related. I'd suggest you condense them into a single use case. I agree with case 2 and 6 most, but have questions: ** Why wouldn't one si

[issue12279] Add build_distinfo command to packaging

2011-07-11 Thread michael mulich
michael mulich added the comment: We have to generate a RECORD, otherwise resource lookups in development and testing modes will fail or at least should fail. Yes, but that's not all. > 4) don’t add a build_distinfo command, just run install_distinfo to the build > dir from t

[issue12279] Add build_distinfo command to packaging

2011-07-11 Thread michael mulich
michael mulich added the comment: Gmail decided to strip the quotes... Grr... > So, what do we do? > 1) don’t generate RECORD at all → invalid PEP 376 We have to generate a RECORD, otherwise resource lookups in development and testing modes will fail or at least should fail.

  1   2   3   4   5   6   7   8   9   10   >