PyCon.DE 2017 - Call for Proposals

2017-06-19 Thread Mike Müller
Call for Proposals -- The Call for Proposals for the PyCon.DE 2017 is open until July 30, 2017. Please submit your proposals here: https://www.papercall.io/pyconde2017 We’re looking for proposals on every aspect of Python: programming from novice to advanced levels, applications

EuroSciPy 2017, Aug. 28 - Sep.1, 2017 in Erlangen, Germany

2017-05-27 Thread Mike Müller
The 10th European Conference on Python in Science will take place in Erlangen, Germany from August 28 - September 1, 2017. More information can be found on the conference website: https://www.euroscipy.org/2017/ The EuroSciPy meeting is a cross-disciplinary gathering focused on the use and

[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

[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.

Re: Bigotry (you win, I give up)

2017-04-27 Thread Mike Reveile
On Thursday, April 27, 2017 at 9:36:26 PM UTC-7, Rustom Mody wrote: > On Friday, April 28, 2017 at 9:36:02 AM UTC+5:30, Mike Reveile wrote: > > On Wednesday, April 19, 2017 at 9:44:15 AM UTC-7, Rurpy wrote: > > > On 04/18/2017 04:34 PM, Chris Angelico wrote: > > > > O

Re: Bigotry (you win, I give up)

2017-04-27 Thread Mike Reveile
On Thursday, April 27, 2017 at 9:19:43 PM UTC-7, Rustom Mody wrote: > On Friday, April 28, 2017 at 9:36:02 AM UTC+5:30, Mike Reveile wrote: > > On Wednesday, April 19, 2017 at 9:44:15 AM UTC-7, Rurpy wrote: > > > On 04/18/2017 04:34 PM, Chris Angelico wrote: > > > > O

Re: Bigotry (you win, I give up)

2017-04-27 Thread Mike Reveile
On Wednesday, April 19, 2017 at 9:44:15 AM UTC-7, Rurpy wrote: > On 04/18/2017 04:34 PM, Chris Angelico wrote: > > On Wed, Apr 19, 2017 at 8:28 AM, Ben Finney > > wrote: > >> Chris Angelico writes: > >> <> Interesting thread... but volatile. I find

[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
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-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

[issue30008] OpenSSL 1.1.0 deprecated functions

2017-04-08 Thread Mike Gilbert
Mike Gilbert added the comment: Thanks for the reply. OpenSSL 1.1.0 added functions to control the SSL/TLS version used by SSL contexts created using TLS_method(). You might consider updating the code for existing Python branches to use these functions. SSL_CTX_set_min_proto_version

[issue30008] OpenSSL 1.1.0 deprecated functions

2017-04-06 Thread Mike Gilbert
New submission from Mike Gilbert: Some effort was made to port Python to OpenSSL 1.1.0 (see issue 26470). However, the code still uses several deprecated functions, and fails to compile against OpenSSL 1.1.0 if these functions are disabled. This may be replicated by building OpenSSL

Humanitarian Data Exchange (HDX) Python Library 1.0 released

2017-04-01 Thread Mike Rans
This is to announce the release of the HDX Python Library 1.0 which is designed to enable you to easily develop code that interacts with the Humanitarian Data Exchange platform. The major goal of the library is to make pushing and pulling data from HDX as simple as possible for the end user.

[issue29504] blake2: compile error with -march=bdver2

2017-02-08 Thread Mike Gilbert
Mike Gilbert added the comment: Downstream bug report: https://bugs.gentoo.org/show_bug.cgi?id=608586 -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue29504] blake2: compile error with -march=bdver2

2017-02-08 Thread Mike Gilbert
New submission from Mike Gilbert: When compiling python-3.6.0 with -march=bdver2, the blake2 module fails to build. In file included from /var/tmp/portage/dev-lang/python-3.6.0/work/Python-3.6.0/Modules/_blake2/impl/blake2s-round.h:70:0, from /var/tmp/portage/dev-lang/python

[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

[issue29315] \b requires raw strings or to be escaped. Update docs with that hint?

2017-01-18 Thread Mike Lissner
New submission from Mike Lissner: I just ran into a funny corner case I imagine others are aware of. When you write "\b" in Python, it is a single character: "\x08". So if you try to write a regex like: words = '\b(.*)\b' That won't work. But using a raw string will:

[issue29131] Calling printf from the cdll does not print the full string

2017-01-02 Thread mike peremsky
mike peremsky added the comment: I appreciate the feedback, but as I had originally mentioned. I am following the "Gray Hat Python - Python Programming for Hackers and Reverse Engineers" book and was attempting to use Python 3 instead of Python 2 (as was used in the book). The

[issue29131] Calling printf from the cdll does not print the full string

2017-01-01 Thread mike peremsky
New submission from mike peremsky: I am going throught he Gray Hat Python book and installed Python 3.7 (32-bit) on a windows x64 machine. The following code will only print the first character of the passed string argument. The same code run on Python 2.7 will print the correct string value

[issue16396] Importing ctypes.wintypes on Linux gives a traceback

2016-12-28 Thread Mike Place
Mike Place added the comment: +1 to getting this patch in. The fact that this raises a ValueError and not an ImportError is really annoying and we definitely see it as a bug. -- nosy: +Mike Place ___ Python tracker <rep...@bugs.python.org>

[issue29090] python34.dll crash

2016-12-27 Thread Mike Hobbs
New submission from Mike Hobbs: Only info (Windows event viewer): Faulting application python_cc.exe, version 0.0.0.0, faulting module python34.dll, version 3.4.3150.1013, fault address 0x001059b7 Note: python_cc.exe is renamed python.exe to identify it in task manager. OS is Windows XP SP3

Re: Parsing a single-level JSON file

2016-11-18 Thread mike . reider
the end result file looks like this cat fields.json {"myField1": {"id": "customfield_10600"}, "myField2": {"id": "customfield_11334"}, "myField3": {"id": "customfield_993434"}, etc etc -- https://mail.python.org/mailman/listinfo/python-list

Re: Parsing a single-level JSON file

2016-11-18 Thread mike . reider
On Friday, November 18, 2016 at 1:23:18 PM UTC-5, mike@gmail.com wrote: > hi all, > > Im reading in a JSON file that looks like this > > > [ >{ > "name":"myField1", > "searchable":true, > &

Parsing a single-level JSON file

2016-11-18 Thread mike . reider
hi all, Im reading in a JSON file that looks like this [ { "name":"myField1", "searchable":true, "navigable":true, "custom":true, "clauseNames":[ "cf[10190]", "Log Details" ], "orderable":true, "id":"customfield_10190",

[issue26388] Disabling changing sys.argv[0] with runpy.run_module(...alter_sys=True)

2016-10-29 Thread Mike Kaplinskiy
Mike Kaplinskiy added the comment: Hey Nick, Definitely agree that this refactor is big enough to try adding target modules. There's a somewhat hidden feature in the second patch that does this: `use_globals_from_sys_modules` takes `sys.globals` from the `sys.modules` entry for the module

[issue28535] round seems to provide floor, not proper rounding

2016-10-25 Thread Mike Williamson
New submission from Mike Williamson: Ran a test that I expected to pass. When the test failed, I was struck by the strange (incorrect) assertion claim when using unittest.assertAlmostEqual: AssertionError: 32.78 != 32.775 within 2 places Uhmm... yes it does! I delved in, discovering

[issue26388] Disabling changing sys.argv[0] with runpy.run_module(...alter_sys=True)

2016-10-23 Thread Mike Kaplinskiy
Mike Kaplinskiy added the comment: Hey Nick, Sorry for the long delay. Unfortunately Python isn't my main work language anymore so working on this has proved to be quite a context switch. I'm going to try to finish this up now. The attached patch implements a new pattern for wrapping runpy

Problem with install of Python 3.5.2 on Windows Vista

2016-10-05 Thread Mike Adams
The install seemed to be going well up to near the end when I got the msg 'Python has stopped working', I clicked the button then I got the msg 'Setup was successful'.  I then clicked 'IDLE' and it says it can't find 'api-msi-win-crt-runtime-11-1-0.dll'.  I checked Python Tracker and saw that

[issue28171] getopt.getopt error processing long_options

2016-09-15 Thread Mike Hagerty
Mike Hagerty added the comment: You win. It's not a bug, it's a feature ... that renders the module incorrect by any reasonable definition. argparse here I come! On Thu, Sep 15, 2016 at 3:20 PM, Steven D'Aprano <rep...@bugs.python.org> wrote: > > Steven D'Aprano added the commen

[issue28171] getopt.getopt error processing long_options

2016-09-15 Thread Mike Hagerty
Mike Hagerty added the comment: Huh ? "documented behaviour" ? How is silently failing to resolve input errors okay ? On Thu, Sep 15, 2016 at 3:04 PM, SilentGhost <rep...@bugs.python.org> wrote: > > SilentGhost added the comment: > > It's a documented behaviour:

[issue28171] getopt.getopt error processing long_options

2016-09-15 Thread Mike Hagerty
New submission from Mike Hagerty: Here's the relevant code: opts, args = getopt.getopt(sys.argv[1:], "ih", ["help", "f1Hz","startdate=", "ndays="]) >main.py -i --f1H --startdat=2016-08-22 --ndays 2 Here's what getopt returns into opts: opt

[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2016-09-09 Thread mike bayer
mike bayer added the comment: yep, that's what im doing in my approach. though longer term thing, I noticed it's very hard to find documentation on exactly when gc might run. E.g. would it ever run if I did something innocuous, like "self.thread_id = None" (probably not). J

[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2016-09-08 Thread mike bayer
mike bayer added the comment: SQLAlchemy suffered from this issue long ago as we use a Queue for connections, which can be collected via weakref callback and sent back to put(), which we observed can occur via gc.For many years (like since 2007 or so) we've packaged a complete copy

ANN: wxPython Cookbook

2016-08-26 Thread Mike Driscoll
m more consistent and updating them to be compatible with the latest versions of wxPython. I currently have nearly 300 pages of content! If you'd like to check out the funding campaign for the book, you can find it here: https://www.kickstarter.com/projects/34257246/wxpython-cookbook/ Thanks

[issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

2016-05-20 Thread Mike Taylor
Mike Taylor added the comment: The bug for Chrome to ship support of position: sticky is here: https://bugs.chromium.org/p/chromium/issues/detail?id=231752 -- it's in active development. But this patch fixes the jerky sidebar in Firefox as well

[issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

2016-05-20 Thread Mike Taylor
Mike Taylor added the comment: OK, so uh, somehow a few months escaped me before I could get to this. >_> (I've also just signed the Contributor Agreement with the PSF) -- keywords: +patch Added file: http://bugs.python.org/file42917/docs-sidebar

Re: Wanted Python programmer to join team

2016-05-20 Thread Mike Driscoll
ave had recruiters from within Company A bug me about their company, but when I asked about a salary range, they said that they wouldn't discuss that until a later stage but that I would be happy with it. How would they know? They don't know what I make or what would make me happy! I ignored them after

Re: Resources/pointers for writing maintable, testable Python

2016-05-19 Thread Mike Driscoll
On Thursday, May 19, 2016 at 11:23:53 AM UTC-5, Terry Reedy wrote: > On 5/19/2016 11:33 AM, Mike Driscoll wrote: > > On Wednesday, May 18, 2016 at 4:48:28 PM UTC-5, Andrew Farrell wrote: > >> Hi Jacob, > >> > >> You are probably looking for the book Test-Drive

Re: Python 3.5.1

2016-05-19 Thread Mike Driscoll
or IDLE. If there's not, then I'm guessing it didn't install correctly. I haven't had any problems installing Python 3.5 on my Windows PCs, although I have had issues getting it installed in certain locked down virtual environments. Try uninstalling and then reinstalling Python 3.5 Mike -- https

Re: Resources/pointers for writing maintable, testable Python

2016-05-19 Thread Mike Driscoll
http://pytest.org/latest/> > > Cheers! > Andrew Farrell I was under the impression that this book is primarily aimed at Python/Django web testing. I saw "Testing Python: Applying Unit Testing, TDD, BDD and Acceptance Testing" is getting good reviews too though. Mike -- https://mail.python.org/mailman/listinfo/python-list

[issue25942] subprocess.call SIGKILLs too liberally

2016-04-19 Thread Mike Pomraning
Mike Pomraning added the comment: Re: #2, I'd rather have a zombie than a hard kill on a child whose code I perhaps don't control. Zombies are a fact of life (er, a fact of undeath?) in UNIX process management, and are the historical and IMHO expected behavior

Re: good way to avoid recomputations?

2016-04-15 Thread Mike
On Tuesday, April 5, 2016 at 4:54:50 PM UTC-4, Maurice wrote: > Hi. I working on a project where I have 5 scripts loading the same file at > the very beginning so I would like to know the best way I can get this file > without having to compute it 5 times. > > I also perform, in all the

[issue25942] subprocess.call SIGKILLs too liberally

2016-04-14 Thread Mike Pomraning
Mike Pomraning added the comment: #2 and #4 are the only predictable and palatable options, I think. Ignore the patch that started this issue. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25942] subprocess.call SIGKILLs too liberally

2016-04-12 Thread Mike Pomraning
Mike Pomraning added the comment: Yes, standard UNIX terminal behavior is to map Ctrl-C to a SIGINT sent to the foreground process group, so that every member of a pipeline (e.g.) or hidden helper children processes can be terminated by the interactive user and have the chance to clean up

Strange urlopen error

2016-04-12 Thread Mike Driscoll
in Python 2? I am aware of PEP475, but we cannot upgrade to Python 3 right now. Thanks, Mike -- https://mail.python.org/mailman/listinfo/python-list

[issue25320] unittest loader.py TypeError when code directory contains a socket

2016-04-07 Thread Mike Miller
Mike Miller added the comment: Just as a side note, the patch also works for soft links that point to files that don't exist. Thanks for getting this fixed! -- nosy: +Mike Miller ___ Python tracker <rep...@bugs.python.org> <http://bugs.p

[issue26388] Disabling changing sys.argv[0] with runpy.run_module(...alter_sys=True)

2016-04-06 Thread Mike Kaplinskiy
Mike Kaplinskiy added the comment: ping -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26388> ___ ___ Python-bugs-list

[issue26690] PyUnicode_Decode breaks when Python / sqlite3 is built with sqlite 3.12.0

2016-04-04 Thread mike bayer
mike bayer added the comment: i realized this is probably with my build overall. let me do some more testing and ill reopen if i can confirm this more closely. -- resolution: -> works for me status: open -> closed ___ Python tracke

[issue26690] PyUnicode_Decode breaks when Python / sqlite3 is built with sqlite 3.12.0

2016-04-04 Thread mike bayer
New submission from mike bayer: So I really don't know *where* the issue is in this one, because I don't know enough about the different bits. Step 1: Save this C program to demo.c: #include static PyObject * unicode_thing(PyObject *self, PyObject *value) { char *str; Py_ssize_t

[issue26653] bisect raises a TypeError when hi is None

2016-03-30 Thread Mike Lenzen
Mike Lenzen added the comment: Sounds good, but then I think the docs could be clearer about this. I scratched my head at the function signature bisect.bisect_left(a, x, lo=0, hi=len(a)) because it isn't valid (in Python, maybe in C?), so I checked the source and saw hi=None. I'm not sure how

Re: ANN: Python 201 - Intermediate Python book

2016-03-30 Thread Mike Driscoll
KickStarter fan (having purchased > more games than was probably wise ;) . > > -- > ~Ethan~ You'll also get early access to the book so you'll get to see the chapters as soon as I'm done with them (most of the time). Mike -- https://mail.python.org/mailman/listinfo/python-list

Re: ANN: Python 201 - Intermediate Python book

2016-03-30 Thread Mike Driscoll
on's or Google's APIs. There will probably be some kind of chapter about Selenium / Web Driver too. I have some other ideas too. I hope that answered your question. Mike -- https://mail.python.org/mailman/listinfo/python-list

ANN: Python 201 - Intermediate Python book

2016-03-30 Thread Mike Driscoll
. It is also written with Python 3 in mind. Let me know if you have any questions. Thanks, Mike Driscoll -- https://mail.python.org/mailman/listinfo/python-list

[issue10682] With '*args' or even bare '*' in def/call argument list, trailing comma causes SyntaxError

2016-03-29 Thread Mike Lissner
Mike Lissner added the comment: This is an old issue, but where I run into it frequently is when I use the format function and string interpolation. For example, this throws a SyntaxError: "The name of the person is {name_first} {name_last}".format( **my_obj.__dict__, ) Becau

[issue26653] bisect raises a TypeError when hi is None

2016-03-27 Thread Mike Lenzen
New submission from Mike Lenzen: >>> bisect.bisect([1, 2, 3], 1, hi=None) TypeError: 'NoneType' object cannot be interpreted as an integer I'm assuming this is an error in the C implementation because the Python source has: if hi is None: hi = len(a) -- c

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2016-03-23 Thread mike bayer
mike bayer added the comment: @rian - your issue for this is http://bugs.python.org/issue9924. The implicit BEGIN in all cases will probably never be the default but we do need an option for this to be the case, in order to support SERIALIZABLE isolation

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2016-03-23 Thread mike bayer
mike bayer added the comment: @Rian - implicit transactions are part of the DBAPI spec. Looking at the original description, the purpose of this bug is to not *end* the transaction when DDL is received. So there's no solution for "database is locked" here, other than pysqli

ANN: Python 201 Book Kickstarter Campaign

2016-03-09 Thread Mike Driscoll
- httplib / urllib (client / server) - web scraping - Basics of Unicode (encoding and codecs) - Timing code (benchmarking) - Testing (unit tests, doc tests, mock, coverage) - Mike Driscoll Blog: http://blog.pythonlibrary.org Book: https://gumroad.com/l/bppWr -- https

[issue26511] Add link to id() built-in in comparison operator documentation for "is"

2016-03-08 Thread Mike Vertolli
New submission from Mike Vertolli: Here's the doc: https://docs.python.org/2/reference/expressions.html#is It would be great if this line: "The operators is and is not test for object identity: x is y is true if and only if x and y are the same object. x is not y yields the inverse

Re: Everything good about Python except GUI IDE?

2016-03-02 Thread Mike S via Python-list
On 2/27/2016 10:13 AM, wrong.addres...@gmail.com wrote: On Saturday, 27 February 2016 18:08:36 UTC+2, Dietmar Schwertberger wrote: On 27.02.2016 12:18, wrong.addres...@gmail.com wrote: Isn't there any good GUI IDE like Visual Basic? I hope there are some less well known GUI IDEs which I did

Re: Everything good about Python except GUI IDE?

2016-03-01 Thread Mike
On Saturday, February 27, 2016 at 6:19:21 AM UTC-5, wrong.a...@gmail.com wrote: > I have some VB forms with more than a hundred objects. If I cannot drag and > drop text boxes, list boxes, labels, etc., it will be too much work to create > that with several lines of code for each object. > >

Speech recognition and synthesi in Python

2016-02-25 Thread Mike S via Python-list
Pretty nice example code... https://ggulati.wordpress.com/2016/02/24/coding-jarvis-in-python-3-in-2016/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Computational Chemistry Analysis

2016-02-25 Thread Mike S via Python-list
On 2/25/2016 7:31 AM, Oscar Benjamin wrote: On 25 February 2016 at 01:01, Feagans, Mandy wrote: Hi! I am a student interested in conducting computational analysis of protein-ligand binding for drug development analysis. Recently, I read of an individual using a python

Python used in several places in LIGO effort

2016-02-24 Thread Mike S via Python-list
https://www.reddit.com/r/IAmA/comments/45g8qu/we_are_the_ligo_scientific_collaboration_and_we/czxnlux?imm_mid=0e0d97=em-data-na-na-newsltr_20160224 -- https://mail.python.org/mailman/listinfo/python-list

[issue26388] Disabling changing sys.argv[0] with runpy.run_module(...alter_sys=True)

2016-02-23 Thread Mike Kaplinskiy
Mike Kaplinskiy added the comment: So how might I get this patch committed? :) -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

good python tutorial

2016-02-22 Thread Mike S via Python-list
This site was recommended by a friend, it looks really well put together, I thought it might be of interest to people considering online tutorials. http://www.python-course.eu/index.php -- https://mail.python.org/mailman/listinfo/python-list

[issue26388] Disabling changing sys.argv[0] with runpy.run_module(...alter_sys=True)

2016-02-22 Thread Mike Kaplinskiy
Mike Kaplinskiy added the comment: Looks like by signed CLA just made it through, so that should be settled. For the other bugs, it seems that overloading run_module & run_path seems to be getting a bit cumbersome, so it might make sense to have some sort of Runner object that has things

[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

Re: Considering migrating to Python from Visual Basic 6 for engineering applications

2016-02-20 Thread Mike S via Python-list
On 2/19/2016 8:58 PM, Denis Akhiyarov wrote: On Wednesday, February 17, 2016 at 1:49:44 PM UTC-6, wrong.a...@gmail.com wrote: I am mostly getting positive feedback for Python. It seems Python is used more for web based applications. Is it equally fine for creating stand-alone *.exe's? Can the

[issue26388] Disabling changing sys.argv[0] with runpy.run_module(...alter_sys=True)

2016-02-20 Thread Mike Kaplinskiy
Changes by Mike Kaplinskiy <mike.kaplins...@gmail.com>: -- keywords: +patch Added file: http://bugs.python.org/file41981/patch.diff ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue26388] Disabling changing sys.argv[0] with runpy.run_module(...alter_sys=True)

2016-02-18 Thread Mike Kaplinskiy
New submission from Mike Kaplinskiy: For the purposes of pex (https://github.com/pantsbuild/pex), it would be useful to allow calling run_module without sys.argv[0] changing. In general, this behavior is useful if the script intends to re-exec itself (so it needs to know the original

[issue22062] Fix pathlib.Path.(r)glob doc glitches.

2016-02-15 Thread Mike Short
Changes by Mike Short <bmsh...@gmail.com>: Added file: http://bugs.python.org/file41933/pathlib.py.patch ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue22062] Fix pathlib.Path.(r)glob doc glitches.

2016-02-15 Thread Mike Short
Changes by Mike Short <bmsh...@gmail.com>: -- keywords: +patch Added file: http://bugs.python.org/file41932/pathlib.patch ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

Re: Cygwin and Python3

2016-02-11 Thread Mike S via Python-list
On 2/10/2016 11:46 PM, blindanag...@nowhere.net wrote: On 10/02/2016 23:05, Mike S wrote: On 2/10/2016 5:05 AM, Mark Lawrence wrote: [snip] Have you seen this? http://www.davidbaumgold.com/tutorials/set-up-python-windows/ I have now, but I'm perfectly happy with the free versions

[issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

2016-02-11 Thread Mike Taylor
Mike Taylor added the comment: Great, thanks Ezio! Will take a stab now. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24712> ___ __

[issue24303] OSError 17 due to _multiprocessing/semaphore.c assuming a one-to-one Pid -> process mapping.

2016-02-10 Thread Mike Frysinger
Mike Frysinger added the comment: i don't feel strongly about either version -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

Re: Cygwin and Python3

2016-02-10 Thread Mike S via Python-list
On 2/10/2016 5:05 AM, Mark Lawrence wrote: On 10/02/2016 03:39, Mike S via Python-list wrote: On 2/9/2016 7:26 PM, Larry Hudson wrote: On 02/09/2016 08:41 AM, Fillmore wrote: Hi, I am having a hard time making my Cygwin run Python 3.5 (or Python 2.7 for that matter). The command will hang

Re: from scipy.linalg import _fblas ImportError: DLL load failed: The specified module could not be found.

2016-02-09 Thread Mike S via Python-list
On 2/9/2016 1:33 AM, Mark Lawrence wrote: On 09/02/2016 04:22, Mike S via Python-list wrote: I have Python 3.4.4 installed on Windows 7, also IPython, scipy, numpy, statsmodels, and a lot of other modules, and am working through this tutorial http://www.analyticsvidhya.com/blog/2016/02/time

Re: Cygwin and Python3

2016-02-09 Thread Mike S via Python-list
On 2/9/2016 7:26 PM, Larry Hudson wrote: On 02/09/2016 08:41 AM, Fillmore wrote: Hi, I am having a hard time making my Cygwin run Python 3.5 (or Python 2.7 for that matter). The command will hang and nothing happens. Just curious... Since Python runs natively in Windows, why are you trying

Re: Install Error

2016-02-08 Thread Mike S via Python-list
On 2/3/2016 1:55 PM, Barrie Taylor wrote: Hi, I am attempting to install and run Python3.5.1 on my Windows machine. After installation on launching I am presented the attached error message. It reads: 'The program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your

Re: setup failed

2016-02-08 Thread Mike S via Python-list
On 2/4/2016 4:39 AM, Prince Thomas wrote: Hi I am an computer science engineer. I downloaded the python version 3.5.1.amd64 and just python 3.5.1. The problem is when I install the program setup is failed and showing 0*80070570-The file or directory is corrupted and unreadable. I install the

from scipy.linalg import _fblas ImportError: DLL load failed: The specified module could not be found.

2016-02-08 Thread Mike S via Python-list
n conflict between two modules. Thanks, Mike -- https://mail.python.org/mailman/listinfo/python-list

>>> %matplotlib inline results in SyntaxError: invalid syntax

2016-01-29 Thread Mike S via Python-list
;>> import matplotlib.pyplot as plt >>> %matplotlib inline SyntaxError: invalid syntax What am I doing wrong? Suggested reading? TIA, Mike -- https://mail.python.org/mailman/listinfo/python-list

Re: >>> %matplotlib inline results in SyntaxError: invalid syntax

2016-01-29 Thread Mike S via Python-list
On 1/28/2016 11:57 PM, Steven D'Aprano wrote: On Fri, 29 Jan 2016 06:04 pm, Mike S wrote: %matplotlib inline I get an error on the last line. I am running this code in Idle Python 3.4.4 Shell... Python 3.4.4 (v3.4.4:737efcadf5a6, Dec 20 2015, 19:28:18) [MSC v.1600 32 bit (Intel)] on win32

Re: When I need classes?

2016-01-13 Thread Mike S via Python-list
On 1/11/2016 3:45 PM, Travis Griggs wrote: On Jan 10, 2016, at 9:48 AM, Bernardo Sulzbach wrote: Essentially, classes (as modules) are used mainly for organizational purposes. Although you can solve any problem you would solve using classes without classes,

[issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

2016-01-11 Thread Mike Taylor
Mike Taylor added the comment: I can reproduce on Chrome and Firefox Nightly -- Carol, if I'd like to write a patch where would I do that? I see https://github.com/python/pythondotorg, but am not sure that's the right repo. Thanks! -- nosy: +Mike Taylor

[issue17633] zipimport's handling of namespace packages is incorrect

2016-01-09 Thread Mike Romberg
Mike Romberg added the comment: This patch modifies issue17633-hg.diff by adding changes suggested by the reviewers. Note. I did cleanup the use of __import__ outside of the area involved with issue17633 as it seemed low risk. The tests for issue17633 (and the refactored doTest/makeZip

[issue17633] zipimport's handling of namespace packages is incorrect

2016-01-04 Thread Mike Romberg
Mike Romberg added the comment: Yes. I can do this. I've not used hg before. But I bet I can figure it out. I'm assuming hg has a diff/pach genterator of some kind ('hg diff' perhaps). Lemme try and find the hg repository and check out a copy

[issue17633] zipimport's handling of namespace packages is incorrect

2016-01-04 Thread Mike Romberg
Mike Romberg added the comment: Try issue17633-hg.diff. Caution it was made after literally minutes of experience with hg. :) I checked out the source applied the changes, compiled and ran 'make test' (gdb still fails), and did an hg commit. The diff was made following the instructions

[issue25957] sockaddr_l2 lacks CID, address type (AF_BLUETOOTH sockets)

2015-12-28 Thread Mike Ryan
Mike Ryan added the comment: AF_BLUETOOTH also lacks support for hci_channel in sockaddr_hci for BTPROTO_HCI sockets: https://git.kernel.org/cgit/bluetooth/bluez.git/tree/lib/hci.h?h=5.37#n2340 This feature has been present in BlueZ since 2010: https://git.kernel.org/cgit/bluetooth/bluez.git

[issue25942] subprocess.call SIGKILLs too liberally

2015-12-28 Thread Mike Pomraning
Mike Pomraning added the comment: If I understand correctly, the _try_wait mechanics (or 3.5's syscall behavior) already handle EINTR the way we way: ignore it and try wait()ing again. So, this patch would kill only on a timeout, and never on another error like Ctrl-C

[issue25957] sockaddr_l2 lacks CID, address type (AF_BLUETOOTH sockets)

2015-12-26 Thread Mike Ryan
New submission from Mike Ryan: The AF_BLUETOOTH socket type lacks support for specifying CID and address type in sockaddr_l2. These structure members have been present since 2009 and 2012 respectively: https://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=3de95535 https://git.kernel.org

[issue25942] subprocess.call SIGKILLs too liberally

2015-12-24 Thread Mike Pomraning
New submission from Mike Pomraning: Python 3.3 introduces timeout support in subprocess.call, implemented by sending a SIGKILL if the Popen.wait is interrupted by a TimeoutExpired exception. However, the "except" clause is too broad, and will, for instance, trigger on a Keyboar

Re: how do I learn python ?

2015-11-19 Thread Mike S via Python-list
On 11/19/2015 1:00 AM, Michiel Overtoom wrote: On 18 Nov 2015, at 05:58, 夏华林 wrote: (nothing) You might want to start at https://www.python.org/about/gettingstarted/ PS. Leaving the body of an email or usenet article empty is considered bad form. Greetings, Thanks for

Re: Why won't this run?

2015-11-19 Thread Mike S via Python-list
On 11/15/2015 12:38 PM, jbak36 wrote: Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC v.1900 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. #this program says hello and asks for my name print:('Hello world!') Hello world! print:('What

[issue24421] Race condition compiling Modules/_math.c

2015-11-11 Thread Mike Gilbert
Changes by Mike Gilbert <floppymas...@gmail.com>: -- nosy: +floppymaster ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24421> ___

[issue25397] improve ac_cv_have_long_long_format GCC fallback

2015-10-13 Thread Mike Frysinger
New submission from Mike Frysinger: the ac_cv_have_long_long_format test has a nice compile-time fallback for gcc based compilers: CFLAGS="$CFLAGS -Werror -Wformat" AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include #include ]], [[ char *buffer;

[issue19372] configure and compile problems with older CentOS releases

2015-10-13 Thread Mike Frysinger
Mike Frysinger added the comment: time to close then ? -- nosy: +vapier ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19372> ___ __

[issue18148] Make of Python 3.2.2 fails on Solaris SPARC

2015-10-13 Thread Mike Frysinger
Mike Frysinger added the comment: if the current builds fail, please make sure to include the config.log file as that includes a cross-compile test for this setting -- nosy: +vapier ___ Python tracker <rep...@bugs.python.org> <http://bugs.p

<    1   2   3   4   5   6   7   8   9   10   >