[issue6399] Error reporting by logging.config.fileConfig()

2009-07-02 Thread Mike
New submission from Mike pyt...@amadron.com: Hi, I had a logging.conf file with the following logger def in it: [logger_Builder] level=DEBUG handlers=consoleStderr qualname=Builder propogate=0 And I couldn't understand why all my log messages were coming out twice. It took me four hours

[issue6399] Error reporting by logging.config.fileConfig()

2009-07-03 Thread Mike
Mike pyt...@amadron.com added the comment: Fair point. Agree that this is a feature request. Perhaps something like: logging.config.fileConfig(path, strict=False) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6399

[issue6399] Error reporting by logging.config.fileConfig()

2009-07-07 Thread Mike
Mike pyt...@amadron.com added the comment: Sorry, I only started learning Python a couple of weeks ago. Didn't know that there was a ConfigParser module. So this would really be a feature request of ConfigParser? Interesting you should mention Postel's Law. Being liberal about what you

[issue6399] Error reporting by logging.config.fileConfig()

2009-07-08 Thread Mike
Mike pyt...@amadron.com added the comment: Hi Vinay, I will bow to your greater expertise on this and will let this go. It looks like it will be far more easier and robust just to invent my own logging config file format and read it myself. Thanks for your help. Mike. -- status: open

[issue7121] ImportError of urllib.request http.client under PYTHONHOME/Lib

2009-10-13 Thread mike
New submission from mike mikez...@gmail.com: There's a python program in the attached file http.py, I import urllib.request in http.py, and urllib.request imports http.client. When I try to run http.py by command python http.py, the error is as below: Traceback (most recent call last

[issue9631] Python 2.7 installation issue for Linux gcc-4.1.0-3 (Fedora Core 5?)

2012-01-19 Thread mike
mike mikaelpetters...@gmail.com added the comment: Hi, I downloaded source and did the following instructions. We use Red Hat Enterprise Linux Server release 5.5. ./configure --prefix=/home/mike/python_rh_32 make make install I also changed the line in site.py from: s = os.path.join

[issue18428] IDLE startup error

2013-07-11 Thread Mike
New submission from Mike: Python used to run smoothly on my macbook, but since I opened the debugger yesterday, the IDLE window cannot be opened anymore. It shows an error message IDLE's subprocess didn't make connection. I tried to uninstall everything and download it again from the website

[issue18428] IDLE startup error

2013-07-12 Thread Mike
Mike added the comment: Thanks Ned, I have solved the issue by deleting all my previous py files on my computer. But I couldn't figure out what really triggered this error, as those files did not create any problems before. -- ___ Python tracker

[issue26413] python 3.5.1 uses wrong registry in system-wide installation

2016-02-22 Thread Mike
New submission from Mike: The installer for python 3.5.1 (observed with the x64-86 executable installer, assumed to happen with all installers) allows users to install python either just for themselves or do a system-wide installation (provided they have sufficient privileges). However, when

[issue29437] installation not listed for all users

2017-02-03 Thread Mike
New submission from Mike: When installing Python 3.6 using the official installer and selecting "install for all users" from an account with admin privileges, the installation completes successfully and it shows in the list of installed programs for that user. However, be

[issue30160] BaseHTTPRequestHandler.wfile: supported usage unclear

2017-04-26 Thread Mike
Changes by Mike <m...@mikepennisi.com>: -- pull_requests: +1407 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30160> ___ __

[issue30160] BaseHTTPRequestHandler.wfile: supported usage unclear

2017-04-25 Thread Mike
New submission from Mike: The documentation for BaseHTTPRequestHandler explicitly prohibits protocol violations when writing to the `wfile` stream: > BaseHTTPRequestHandler has the following instance variables: > > [...] > > **`wfile`** > > > Contains the output strea

[issue30160] BaseHTTPRequestHandler.wfile: supported usage unclear

2017-04-25 Thread Mike
Mike added the comment: That would certainly satisfy me! -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30160> ___ ___ Pyth

[issue30160] BaseHTTPRequestHandler.wfile: supported usage unclear

2017-05-24 Thread Mike
Mike added the comment: It's been about a month since I heard back, so I thought I'd comment here just in case this slipped of anyone's radar. Is there anything I can doto help this land? -- ___ Python tracker <rep...@bugs.python.org>

[issue30160] BaseHTTPRequestHandler.wfile: supported usage unclear

2017-05-01 Thread Mike
Mike added the comment: My CLA signature has been verified, but based on the most recent comments, I'm not sure if something needs to change in this patch. Is there anything I can doto help this land? -- ___ Python tracker <rep...@bugs.python.

[issue30160] BaseHTTPRequestHandler.wfile: supported usage unclear

2017-05-24 Thread Mike
Mike added the comment: My pleasure. And thank you for backporting on my behalf :) -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue36054] Way to detect CPU count inside docker container

2019-10-01 Thread Mike
Mike added the comment: Is this issue still being worked on as a core feature? I needed a solution for this using 2.7.11 to enable some old code to work properly/nicely in a container environment on AWS Batch and was forced to figure out what OpenJDK was doing and came up with a solution

[issue38812] Comparing datetime.time objects incorrect for TZ aware and unaware

2019-11-17 Thread Mike
Mike added the comment: Ok. I'll file a bug on pytz. Thanks! On Sat, Nov 16, 2019 at 11:18 PM Karthikeyan Singaravelan < rep...@bugs.python.org> wrote: > > Change by Karthikeyan Singaravelan : > > > -- > nosy: +p-ganssle > > __

[issue38812] Comparing datetime.time objects incorrect for TZ aware and unaware

2019-11-15 Thread Mike
New submission from Mike : import pytz import datetime tzaware_time1 = datetime.time(7,30,tzinfo=pytz.timezone("America/Denver")) tzaware_time2 = datetime.time(7,30,tzinfo=pytz.utc) tzunaware_time = datetime.time(7, 30) # This fails with exception: TypeError: can't compare of

[issue40581] scipy's differential_evolution bug

2020-05-09 Thread Mike
New submission from Mike : I have a random bug with scipy's optimize . I use it in the context of SageMath (Python 3.7.3). I checked 3 algorithms : shgo, dual_annealing and full_optimize. All don't work well (at all !). I optimise with a 3 parameters functions with given bounds

[issue40581] scipy's differential_evolution bug

2020-05-09 Thread Mike
Mike added the comment: ok thank you Christian. I will do. > Le 9 mai 2020 à 23:06, Christian Heimes a écrit : > > > Christian Heimes added the comment: > > SciPy and Sage are 3rd party extensions to CPython and not maintained by us. > Please report the issue

[issue7291] urllib2 cannot handle https with proxy requiring auth

2011-02-19 Thread Mike Beachy
Mike Beachy mbea...@gmail.com added the comment: I've been in contact w/ Barry Scott offline re: the monkey patch previously mentioned. I'm attaching a 2.7 maintenance branch patch that he has needed to extend, and plans to follow up on. -- Added file: http://bugs.python.org/file20798

[issue7291] urllib2 cannot handle https with proxy requiring auth

2011-02-19 Thread Mike Beachy
Mike Beachy mbea...@gmail.com added the comment: Attached to this comment (can you attach multiple files at once?) is the somewhat moldy 2.6.4 monkey patch, mercilessly ripped from my own code and probably not good for much. -- Added file: http://bugs.python.org/file20799/monkey_2_6_4

[issue11301] cookielib.LWPCookieJar.save() doesn't save cookies

2011-02-23 Thread Mike Cencula
New submission from Mike Cencula m...@cencula.com: I'm trying to use cookielib.LWPCookieJar.save() to save cookies from a website. The cookie file is created with a header line, but the cookies are not stored. Example program attached. Python version: 2.5.2 (r252:60911, Jan 24 2010, 14:53

[issue11301] cookielib.LWPCookieJar.save() doesn't save cookies

2011-02-23 Thread Mike Cencula
Mike Cencula m...@cencula.com added the comment: User error indeed. Adding ignore_discard=True, ignore_expires=True cured the issue. Thank you. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11301

[issue1204] readline configuration for shared libs w/o curses dependencies

2007-09-25 Thread Mike Beachy
New submission from Mike Beachy: For RHEL 3 (and it also appears RHEL 4 and 5) the libreadline shared lib has no specified lib requirement that satisfies the tgetent and related symbols. (These symbols are provided by ncursesw, ncurses, curses, termcap as noted in the python setup.py

[issue1274] doctest fails to run file based tests with 8bit paths

2007-10-12 Thread Mike Taylor
Changes by Mike Taylor: -- components: Tests severity: major status: open title: doctest fails to run file based tests with 8bit paths type: behavior versions: Python 2.5 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1274

[issue1663329] subprocess/popen close_fds perform poor if SC_OPEN_MAX is hi

2007-10-15 Thread Mike Klaas
Mike Klaas added the comment: This problem has also afflicted us. Attached is a patch which adds closerange(fd_low, fd_high) to the posix (and consequently os) module, and modifies subprocess to use it. Patch is against trunk but should work for 2.5maint. I don't really think

[issue1663329] subprocess/popen close_fds perform poor if SC_OPEN_MAX is hi

2007-10-15 Thread Mike Klaas
Mike Klaas added the comment: I see that some spaces crept in to the patch. I can fix that (and perhaps rename the function to start with an underscore) if desired. _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1663329

[issue1663329] subprocess/popen close_fds perform poor if SC_OPEN_MAX is hi

2007-10-15 Thread Mike Klaas
Mike Klaas added the comment: Finally, I did not include any platform-specific optimizations, as I don't have AIX or solaris boxes on which to test them (and they can easily be added later). An order-mag speedup on all *nix platforms is a good start

[issue1516330] Module uuid: functions for retrieving MAC addres

2007-10-31 Thread Mike Klaas
Mike Klaas added the comment: Is this meant to be inserted into uuid.py? It seems more like a snippet from unrelated code: code coventions do not follow PEP 8; there are no tests; code does not run as-is (references non-existent variable '_os'-- why no 'import os'?); etc. -- nosy

[issue1516327] Module uuid: reduce pickle footprint

2007-10-31 Thread Mike Klaas
Mike Klaas added the comment: Is the footprint of UUID an issue? Note that changing the pickle format of UUID will require code that can unpickle both versions, for compatibility. I don't really see the need. Also, no real patch provided. -- nosy: +klaas

[issue1705170] contextmanager eats StopIteration

2007-10-31 Thread Mike Klaas
Mike Klaas added the comment: Verified on 2.5.0. The problem stems from contextmanager.__exit__: def __exit__(self, type, value, traceback): if type is None: try: self.gen.next() except StopIteration: return else

[issue1773632] Remove references to _xmlrpclib from xmlrpclib.py

2007-10-31 Thread Mike Klaas
Mike Klaas added the comment: Patch applies to 2.5 cleanly, test_xmlrpc passes. -- nosy: +klaas _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1773632

[issue738948] Logic Variable Thread Synchronization

2007-10-31 Thread Mike Klaas
Mike Klaas added the comment: PEPs should be proposed on python-list and python-dev. This is a four- year-old idea that seems quite profound in the changes proposed. Recommend closing. -- nosy: +klaas Tracker [EMAIL PROTECTED] http

[issue737648] Error on handling nan

2007-11-06 Thread Mike Verdone
Mike Verdone added the comment: For the benefit of those who stumble here through Google, here's a workaround I've discovered for NaN testing. This is BAD: value == float('NaN') But this seems to work ok: str(value) == str(float('NaN')) -- nosy: +mike.verdone title: Error on handling

[issue1471] ioctl doesn't work properly on 64-bit OpenBSD

2007-12-05 Thread Mike Savory
Changes by Mike Savory: __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1471 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python

[issue1471] ioctl doesn't work properly on 64-bit OpenBSD

2007-12-05 Thread Mike Savory
Mike Savory added the comment: Similar issue seen in 64 bit OSX 10.5 File ./ajaxterm.py, line 418, in create fcntl.ioctl(fd, struct.unpack('i',struct.pack('I',termios.TIOCSWINSZ))[0], struct.pack(,h,w,0,0)) IOError: [Errno 25] Inappropriate ioctl for device $ python Python 2.5.1

[issue1663329] subprocess/popen close_fds perform poor if SC_OPEN_MAX is hi

2008-01-04 Thread Mike Klaas
Mike Klaas added the comment: Updated patch, now with documentation and test. Patch is against 2.6trunk, but probably will apply against 3.0 as well -- components: +Library (Lib) -Interpreter Core versions: +Python 2.6 -Python 2.5 Added file: http://bugs.python.org/file9070

[issue1966] infinite loop in httplib

2008-01-29 Thread Mike Klaas
New submission from Mike Klaas: There are a small number of sites that do not send the trailing \r\n when using chunked transfer encoding (say 1 in 500,000). This unfortunately, causes httplib to go into an infinite loop. Fixed by checking for EOF (3 line patch) -- components

[issue1966] infinite loop in httplib

2008-01-30 Thread Mike Klaas
Mike Klaas added the comment: I wouldn't advocate that it go in to 2.3/2.4. The only security issue is a possible DoS, but I think that is unlikely. There is already an attack vector for python code using (timeout-less) httplib by simply returning the response very slowly (1byte/sec

[issue2073] asynchat push always sends 512 bytes (ignoring ac_out_buffer_size)

2008-02-11 Thread Mike Coleman
New submission from Mike Coleman: In asynchat, 'push' doesn't specify 'buffer_size', so the default of 512 is used. This is bogus and causes poor performance--it should use the value of 'ac_out_buffer_size' instead. -- components: Library (Lib) messages: 62294 nosy: mkc severity

[issue2073] asynchat push always sends 512 bytes (ignoring ac_out_buffer_size)

2008-02-13 Thread Mike Coleman
Mike Coleman added the comment: The value is used there, but this is not effective in causing larger packets to be sent, which I noticed by watching with strace. I think the reason for this is that 'refill_buffer' will only make at most one call to simple_producer.more, and that call

[issue2073] asynchat push always sends 512 bytes (ignoring ac_out_buffer_size)

2008-02-13 Thread Mike Coleman
Mike Coleman added the comment: The other place I see the constant is in asyncore.py: class dispatcher_with_send(dispatcher): def __init__(self, sock=None, map=None): dispatcher.__init__(self, sock, map) self.out_buffer = '' def initiate_send(self): num_sent

[issue1739842] xmlrpclib can no longer marshal Fault objects

2008-02-18 Thread Mike Bonnet
Mike Bonnet added the comment: How can this be considered a new feature? Code that worked under python2.4 fails under python2.5 as a result of this bug. That is clearly a regression. I think that qualifies it for a backport to python2.5. _ Tracker [EMAIL

[issue1156430] doctest should support -m

2008-02-23 Thread Mike Beachy
Mike Beachy added the comment: This request was implemented in 1663234, so this case can be closed. -- nosy: +mbeachy _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1156430

[issue1729305] test_doctest fails when run in verbose mode

2008-02-24 Thread Mike Beachy
Mike Beachy added the comment: The basic issue here is that running in verbose mode echoes back the expected values from the file, so the results from non-ascii doctest files must be encoded before printing. It looks to me like the DocTestRunner class must grow an '_encoding' attribute to keep

[issue1729305] test_doctest fails when run in verbose mode

2008-02-24 Thread Mike Beachy
Mike Beachy added the comment: Here's a patch for test_doctest.py that checks the problem has been fixed. Added file: http://bugs.python.org/file9534/test_doctest.patch _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1729305

[issue1274] doctest fails to run file based tests with 8bit paths

2008-03-17 Thread Mike Taylor
Mike Taylor [EMAIL PROTECTED] added the comment: Hi, it was running on FC4 with UTF-32 support and was using the Japanese locale. The bug is reproducible using any doctest that is stored in a mixed character path. where it is in the Chandler tree is not easily pulled apart but if you really

[issue1274] doctest fails to run file based tests with 8bit paths

2008-03-17 Thread Mike Taylor
Mike Taylor [EMAIL PROTECTED] added the comment: Not in the system PATH but in the path where the file is stored: Here is the original traceback from the bug report for Chandler: Traceback (most recent call last): File /Development/osaf/chandler_石田リチャード/chandler/release/Library/Frameworks

[issue2073] asynchat push always sends 512 bytes (ignoring ac_out_buffer_size)

2008-03-18 Thread Mike Coleman
Mike Coleman [EMAIL PROTECTED] added the comment: [Tracker bounced this the first time...] I haven't run it, but just browsing the trunk source, it appears to still be present. In fact, asynchat.py and asyncore.py have apparently not been changed in two years. Andrew Kuchling would seem

[issue8844] Condition.wait() doesn't raise KeyboardInterrupt

2010-05-28 Thread Mike Hobbs
New submission from Mike Hobbs mho...@alvenda.com: Condition.wait() without a timeout will never raise a KeyboardInterrupt: cond = threading.Condition() cond.acquire() cond.wait() *** Pressing Ctrl-C now does nothing *** If you pass a timeout to Condition.wait(), however, it does behave

[issue8998] add crypto routines to stdlib

2010-06-14 Thread Mike Crute
Changes by Mike Crute mcr...@gmail.com: -- nosy: +mcrute ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8998 ___ ___ Python-bugs-list mailing list

[issue9133] Invalid UTF8 Byte sequence not raising exception/being substituted

2010-06-30 Thread Mike Lewis
New submission from Mike Lewis mikelikes...@gmail.com: When I do codecs.encode(codecs.decode('\xed\xbc\xad', 'utf8'), 'utf8') its not throwing an exception. '\xed\xbc\xad' is an invalid UTF8 byte sequence. It maps to the value U+DF2D which is a surrogate pair it seems. http://tools.ietf.org

[issue9133] Invalid UTF8 Byte sequence not raising exception/being substituted

2010-06-30 Thread Mike Lewis
Mike Lewis mikelikes...@gmail.com added the comment: Sorry, meant to add this part to the quote from the rfc: This leads to different results for character numbers above 0x; the CESU-8 encoding of those characters is NOT valid UTF-8

[issue9269] Cannot pickle self-referencing sets

2010-07-15 Thread mike bayer
mike bayer mike...@zzzcomputing.com added the comment: where is it defined that sets are not supposed to contain mutable items? such a requirement vastly limits the usefulness of sets. Consider that relational database rows are mutable. A result set containing multiple rows which each have

[issue9269] Cannot pickle self-referencing sets

2010-07-15 Thread mike bayer
mike bayer mike...@zzzcomputing.com added the comment: OK, more specifically, here's the kind of situation where items in a set are mutable: company = Session.query(Company).first() # company.employees is a set() company.employees # each employee references the parent company for e

[issue9405] crash when calling urllib.getproxies() under OSX with subprocess / particular memory usage

2010-07-28 Thread mike bayer
New submission from mike bayer mike...@zzzcomputing.com: I'm not optimistic that this will be reproducible elsewhere. I get a silent failure with 2.6 and a crash dialog with 2.7 with the following script. All elements are necessary, although the pkg_resources import may be arbitrary

[issue9405] crash when calling urllib.getproxies() under OSX with subprocess / particular memory usage

2010-07-28 Thread mike bayer
mike bayer mike...@zzzcomputing.com added the comment: right...so I would propose the function calls in question emit a warning or something when called in a child process. this would save lots of people many hours of grief. -- ___ Python tracker

[issue1274] doctest fails to run file based tests with 8bit paths

2010-07-31 Thread Mike Taylor
Mike Taylor bea...@gmail.com added the comment: wow - that is some old bug history ;) I'm surprised the patch is even close to being valid On Sat, Jul 31, 2010 at 21:47, Dan Buch rep...@bugs.python.org wrote: Dan Buch daniel.b...@gmail.com added the comment: @haypo - I'm not in favor

[issue9405] crash when calling urllib.getproxies() under OSX with subprocess / particular memory usage

2010-08-09 Thread mike bayer
mike bayer mike...@zzzcomputing.com added the comment: Yeah we are fine if I build the release2.7-maint branch.Also just noticed that this bug prevents really basic things, like using urllib2 from a Pylons application that's running in daemon mode. Pretty major, though unusual that I

[issue9649] wrong default for sort_keys in json module documentation

2010-08-20 Thread Mike Dirolf
New submission from Mike Dirolf m...@dirolf.com: The json module docs state that sort_keys defaults to True. From the source it looks like it actually defaults to False. Patch attached. -- assignee: d...@python components: Documentation files: sort_keys_json.patch keywords: patch

[issue9924] sqlite3 SELECT does not BEGIN a transaction, but should according to spec

2010-09-22 Thread mike bayer
New submission from mike bayer mike...@zzzcomputing.com: Copying this bug from the pysqlite tracker, at http://code.google.com/p/pysqlite/issues/detail?id=21 , as the issue has been opened for two days with no reply. (side node - should sqlite3 bugs be reported here or on the pysqlite tracker

[issue9924] sqlite3 SELECT does not BEGIN a transaction, but should according to spec

2010-09-22 Thread mike bayer
mike bayer mike...@zzzcomputing.com added the comment: My own comment here is that I'm supposing the late BEGIN behavior is to cut down on SQLite's file locking.I think a way to maintain that convenience for most cases, while allowing the stricter behavior that makes SERIALIZABLE

[issue9561] distutils: set encoding to utf-8 for input and output files

2010-10-31 Thread Mike Auty
Changes by Mike Auty mike.a...@gmail.com: -- nosy: +ikelos ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9561 ___ ___ Python-bugs-list mailing

[issue3861] distutils CCompiler._compile doesn't require lang keyword argument

2008-09-14 Thread Mike Auty
Mike Auty [EMAIL PROTECTED] added the comment: Sorry, scratch that, it turned out to be a patch added by a local packager. I don't seem to be able to close my own bug, but for anyone who's triaging this, please mark this as CLOSED/INVALID or similar. Sorry for the inconvenience

[issue3861] distutils CCompiler._compile doesn't require lang keyword argument

2008-09-14 Thread Mike Auty
Mike Auty [EMAIL PROTECTED] added the comment: You're absolutely right, it was a Gentoo patching issue. Thanks very much for the link to the bug, I would never have found it myself! 5:) I'm off to go try and convince them it's a bad idea to patch interfaces

[issue4340] xmlrpc.client - default 'SlowParser' not defined

2008-11-17 Thread Mike Watkins
New submission from Mike Watkins [EMAIL PROTECTED]: Running example code from docs: http://docs.python.org/dev/3.0/library/xmlrpc.client.html#example-of- client-usage z% python Python 3.0rc2+ (py3k:67152, Nov 7 2008, 16:48:55) [GCC 4.2.1 20070719 [FreeBSD]] on freebsd7 Type help, copyright

[issue4340] xmlrpc.client - default 'SlowParser' not defined

2008-11-19 Thread Mike Watkins
Mike Watkins [EMAIL PROTECTED] added the comment: Running the same code today passes, despite the fact I'm still running the same svn version. Bizarre. However the core reported issue - SlowParser being undefined in the module, remains. ___ Python tracker

[issue4556] cmp() function erroneously noted as gone in What's New

2008-12-05 Thread Mike Watkins
New submission from Mike Watkins [EMAIL PROTECTED]: What's new in 3.0 documentation says cmp() function is gone, yet it isn't: sys.version_info; cmp(1,1); cmp(1,2); cmp(2,1) (3, 0, 0, 'final', 0) 0 -1 1 -- assignee: georg.brandl components: Documentation messages: 77093 nosy

[issue998998] pickle bug - recursively memoizing class?

2008-12-06 Thread mike bayer
mike bayer [EMAIL PROTECTED] added the comment: This bug can be reproduced very easily: import pickle class MyClass(object): pass m = MyClass() m2 = MyClass() s = set([m]) m.foo = set([m2]) m2.foo = s print pickle.dumps(s) This bug is critical

[issue4731] suggest change to Failed to find the necessary bits to build these modules message

2008-12-23 Thread Mike Coleman
New submission from Mike Coleman m...@users.sourceforge.net: I was thrown by the Failed to find the necessary bits to build these modules message at the end of newer Python builds, and thought that this indicated that the Python executable itself was not built. That's arguably stupidity on my

[issue5053] http.client.HTTPMessage.getallmatchingheaders()

2009-01-25 Thread Mike Watkins
New submission from Mike Watkins pyt...@mikewatkins.ca: HTTPMessage.getallmatchingheaders() stopped working sometime after Python 3.0 release. In a recent (1 day ago) svn update the implementation says the method was copied from rfc822.message; the Python 3.x implementation is broken

[issue5053] http.client.HTTPMessage.getallmatchingheaders()

2009-01-25 Thread Mike Watkins
Mike Watkins pyt...@mikewatkins.ca added the comment: Trivial patch for http.client attached. -- keywords: +patch Added file: http://bugs.python.org/file12858/http.client.py.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue5053] http.client.HTTPMessage.getallmatchingheaders() always returns []

2009-01-26 Thread Mike Watkins
Changes by Mike Watkins pyt...@mikewatkins.ca: -- title: http.client.HTTPMessage.getallmatchingheaders() - http.client.HTTPMessage.getallmatchingheaders() always returns [] ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5053

[issue5053] http.client.HTTPMessage.getallmatchingheaders() always returns []

2009-01-26 Thread Mike Watkins
Mike Watkins pyt...@mikewatkins.ca added the comment: Re diffs, noted for the future. Re tests: # py3k-devel/Lib/test % grep -r getallmatchingheaders * ... Returns nothing, so not only does the email package need a test for this but so does http.client. Incidentally test_mailbox.py has

[issue5053] http.client.HTTPMessage.getallmatchingheaders() always returns []

2009-01-26 Thread Mike Watkins
Mike Watkins pyt...@mikewatkins.ca added the comment: Further investigation ( grep -r getallmatchingheaders Lib/* ) reveals that in addition to having no tests, and being implemented incorrectly in http.client, getallmatchingheaders() is called only once, in http.server; that code is also

[issue7754] decimal.Decimal 0.0**0.0 error

2010-01-21 Thread Mike Clark
New submission from Mike Clark undefinedsp...@gmail.com: Good behavior: 0.0**0.0 1.0 Bad behavior: Decimal('0.0')**Decimal('0.0') Traceback (most recent call last): File stdin, line 1, in module File /usr/lib/python2.6/decimal.py, line 2101, in __pow__ return context._raise_error

[issue6457] subprocess.Popen.communicate can lose data from output/error streams when broken input pipe occures

2010-01-21 Thread Mike Crute
Mike Crute mcr...@gmail.com added the comment: Bump. Updated the patch against trunk. -- nosy: +mcrute Added file: http://bugs.python.org/file15969/broken_pipe.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6457

[issue7922] Python 3's 2to3 does not handle non-ascii source files

2010-02-12 Thread mike bayer
New submission from mike bayer mike...@zzzcomputing.com: given the following Python 2 source file: # -*- encoding: utf-8 print 'bien mangé' It can be converted to Python 3 using 2's 2to3 tool: classic$ 2to3 test.py ... omitted ... --- test.py (original) +++ test.py

[issue7922] Python 3's 2to3 does not handle non-ascii source files

2010-02-12 Thread mike bayer
mike bayer mike...@zzzcomputing.com added the comment: yes, its handled: WARNING: couldn't encode test.py's diff for your terminal is that fix specific to 2to3 or is that just how print works in 3.2 ? -- ___ Python tracker rep...@bugs.python.org

[issue8193] test_zlib fails with zlib 1.2.4

2010-04-06 Thread Mike Kelly
Changes by Mike Kelly pi...@pioto.org: -- nosy: +pioto ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8193 ___ ___ Python-bugs-list mailing list

[issue8329] select.select() can return lists with identical id()'s

2010-04-06 Thread Mike Kent
New submission from Mike Kent mike.k...@sage.com: If select.select() returns two or more empty lists, these empty lists will all refer to the same list; that is, they will have identical id()'s. If you then have reason to alter one of the returned empty lists, you are altering all

[issue8329] select.select() can return lists with identical id()'s

2010-04-06 Thread Mike Kent
Changes by Mike Kent mike.k...@sage.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8329 ___ ___ Python-bugs-list mailing

[issue7291] urllib2 cannot handle https with proxy requiring auth

2010-04-13 Thread Mike Beachy
Mike Beachy mbea...@gmail.com added the comment: I have worked up a monkey patch for urllib2/httplib for the issue of setting the authentication using a Proxy(Basic|Digest)AuthHandler. The basic approach was to create a new httplib exception (ProxyTunnelError) and raise that with the http

[issue8503] smtpd module does not allow

2010-04-23 Thread mike s
New submission from mike s sucha...@kovagroup.ca: The SMTPServer supplied by the smtpd library allows clients to send mail to any domain. This makes the server attractive to spammers, thinking they have found an open relay. The patch below adds an accept_domain method to SMTPServer

[issue8503] smtpd module does not allow domain filtering

2010-04-23 Thread mike s
Changes by mike s sucha...@kovagroup.ca: -- title: smtpd module does not allow - smtpd module does not allow domain filtering ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8503

[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread mike s
Changes by mike s sucha...@kovagroup.ca: -- title: smtpd module does not allow domain filtering - smtpd SMTPServer does not allow domain filtering ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8503

[issue8503] smtpd SMTPServer does not allow domain filtering

2010-04-23 Thread mike s
mike s sucha...@kovagroup.ca added the comment: I don't think that is a suitable solution for this problem, because the expected SMTP behavior is to reject an unsuitable RCPT TO directly after it is proposed by the client. However, I think it would be a great idea to have such a method being

[issue852532] ^$ won't split on empty line

2008-04-14 Thread Mike Coleman
Mike Coleman [EMAIL PROTECTED] added the comment: I'd feel better about this bug being 'wont fix'ed if I had a sense that several people considered the patch and thought that it sucked. At the moment, it seems more like it just fell off of the end without ever being seriously contemplated

[issue2741] documentation -- do serversockets work with ipv6

2008-05-02 Thread Mike MacFaden
New submission from Mike MacFaden [EMAIL PROTECTED]: the url http://docs.python.org/lib/node633.html states 1) address_family The family of protocols to which the server's socket belongs. socket.AF_INET and socket.AF_UNIX are two possible values. would suggest including

[issue2742] example code does not work

2008-05-02 Thread Mike MacFaden
New submission from Mike MacFaden [EMAIL PROTECTED]: the url http://docs.python.org/lib/socket-example.html gives an example that uses socket.getaddrinfo that has this code HOST='' ... for res in socket.getaddrinfo(HOST, PORT, socket.AF_UNSPEC, socket.SOCK_STREAM, 0

[issue2741] documentation -- do serversockets work with ipv6

2008-05-02 Thread Mike MacFaden
Mike MacFaden [EMAIL PROTECTED] added the comment: Martin v. Löwis wrote: Martin v. Löwis [EMAIL PROTECTED] added the comment: I fail to see the issue. There are many other address families supported as well, such as AF_BLUETOOTH, AF_PACKET, AF_TIPC, and AF_NETLINK, depending on the system

[issue2741] documentation -- do serversockets work with ipv6

2008-05-05 Thread Mike MacFaden
Mike MacFaden [EMAIL PROTECTED] added the comment: so i suggest just removing this sentence -- AF_INET and socket.AF_UNIX are two possible values. this would imply that all socket address families are supported. but if that is not true just list the exceptions

[issue2741] documentation -- do serversockets work with ipv6

2008-05-05 Thread Mike MacFaden
Mike MacFaden [EMAIL PROTECTED] added the comment: then change 'possible values' to 'for example' __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2741 __ ___ Python-bugs-list

[issue2475] Popen.poll always returns None

2008-06-14 Thread Mike Lisanke
Mike Lisanke [EMAIL PROTECTED] added the comment: Isn't this a critical problem. The .poll() function serves as a means to check the status of the process started. When it continues to report 'None' to a process which has already terminated, it creates a false positive of a hung process. Dealing

[issue3192] exec(open(filename)) doesn't work

2008-06-24 Thread Mike Speciner
New submission from Mike Speciner [EMAIL PROTECTED]: In 2.5, exec(open(filename)), where filename refers to a file with python code, executes the code. In 2.5, open returns an open file, but in 3.0, open returns a stream, and so exec (which wants a string, file, or code object, not TextIOWrapper

[issue3192] exec(open(filename)) doesn't work

2008-06-24 Thread Mike Speciner
Mike Speciner [EMAIL PROTECTED] added the comment: I'm actually quite new to Python. My current interpreter of choice is PostScript, followed by Matlab, but I've been discouraged from using either one here at EMC. (PostScript because it's obscure, Matlab because it's expensive!) Meanwhile, I'm

[issue3192] exec(open(filename)) doesn't work

2008-06-24 Thread Mike Speciner
Mike Speciner [EMAIL PROTECTED] added the comment: Well, I think I found exec in bltinmodule.c, but execfile isn't in that file. [In the 3.0 tree.] ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3192

[issue3222] inf*inf gives inf, but inf**2 gives overflow error

2008-06-27 Thread Mike Speciner
New submission from Mike Speciner [EMAIL PROTECTED]: Tried this on wintel 32-bit (3.0b1 (r30b1:64403M, Jun 19 2008, 14:56:09) [MSC v.1500 32 bit (Intel)] -- messages: 68853 nosy: ms severity: normal status: open title: inf*inf gives inf, but inf**2 gives overflow error type: behavior

  1   2   3   4   5   6   7   >