[issue19534] normalize() in locale.py fails for sr_RS.UTF-8@latin

2013-11-09 Thread Mike FABIAN
Mike FABIAN added the comment: I think the patch I attach here is a better fix than the patch in http://bugs.python.org/msg202469 because it makes the normalize() function behave more logical overall, with this patch, my test program prints: mfabian@ari:/local/mfabian/src/cpython (2.7-mike

[issue19534] normalize() in locale.py fails for sr_RS.UTF-8@latin

2013-11-09 Thread Mike FABIAN
Mike FABIAN added the comment: The patch http://bugs.python.org/file32552/0001-Issue-19534-fix-normalize-in-locale.py-to-make-it-wo.patch is against the current HEAD of the 2.7 branch, but Python 3.3 has exactly the same problem, the same patch fixes it for python 3.3 as well

Re: how to load test a web app?

2013-11-06 Thread Mike Williams
package. Have a look at selenium and sauce labs: http://www.seleniumhq.org/ https://saucelabs.com/ Mike -- https://mail.python.org/mailman/listinfo/python-list

Advanced Python Workshop at PyCon Ireland 2013, October 11, 2013

2013-09-23 Thread Mike Müller
http://www.meetup.com/pythonireland/events/135877222/ Instructor: Mike Müller This workshop is for intermediate Python programmers who would like to make it onto the advanced level. Learn how to take full advantage of this powerful language. Python offers several advanced concepts

Course: Python per programmatori (Italian) in Bologna, November 25 - 27, 2013

2013-09-23 Thread Mike Müller
(Leipzig) Python for Scientists and Engineers (English) Bologna - Italy Dublin - Ireland Katowice - Poland Leipzig - Germany More information at http://www.python-academy.com -- Dr.-Ing. Mike Müller, M.Sc. - Geschäftsführer (CEO) - Python Academy GmbH Co. KG Zur Schule 20 04158 Leipzig Germany Sitz

[issue19024] Document asterisk (*), splat or star operator

2013-09-17 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: +mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19024 ___ ___ Python-bugs-list mailing list

[issue18918] help('FILES') finds no documentation

2013-09-17 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: +mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18918 ___ ___ Python-bugs-list mailing list

[issue18855] Inconsistent README filenames

2013-09-17 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: +mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18855 ___ ___ Python-bugs-list mailing list

[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

[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

[issue16809] Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)

2013-06-29 Thread Mike Gilbert
Changes by Mike Gilbert floppymas...@gmail.com: -- nosy: +floppymaster ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16809 ___ ___ Python-bugs

[ANN] Training: Python for Non-Programmers, Leipzig, Germany July 9 - 12, 2013

2013-06-27 Thread Mike Müller
Python for Non-Programmers == What: Python for Non-Programmers - Learn programming from scratch When: July 9 - 12, 2013 Where: Python Academy, Leipzig, Germany Instructor: Mike Müller (eight years of Python training experience) Details: http://www.python-academy.com

ANN: Training - Einstieg in Django (German), 15. - 17. Juli 2013

2013-06-25 Thread Mike Müller
This announcement is in German because the training is offered in German. We do offer an English version [1]. Einstieg in Django == Was: Praktischer Einstieg in die Entwicklung von Web-Anwendungen mit Django Wann: 15. - 17. Juli 2013 Wo: Python Academy, Leipzig Wer: Markus

ANN: Training - Django für Fortgeschrittene (German), 18. - 20. Juli 2013

2013-06-25 Thread Mike Müller
This announcement is in German because the training is offered in German. We do offer an English version [1]. Django für Fortgeschrittene === Was: Tiefes Eintauschen in Django Wann: 18. - 20. Juli 2013 Wo: Python Academy, Leipzig Wer: Markus Zapke-Gründemann Details:

Pywart: The problem with Rick Johnson

2013-06-12 Thread Mike Hansen
Is Rick Johnson the alter ego of Xah Lee, or is he the result of a cross breeding experiement with a troll by Saruman at Isengard?-- http://mail.python.org/mailman/listinfo/python-list

[ANN] Training: Advanced Python at EuroPython, Florence, July 6 - 7, 2013

2013-06-03 Thread Mike Müller
Advanced Python === What: Advanced Python - Who is afraid of metaclasses? When: July 6 - 7, 2013 Where: at EuroPython 2013, Florence, Italy Instructor: Mike Müller (eight years of Python training experience) Details: https://ep2013.europython.eu/conference/talks/advanced-python-2 You

Course: Python for Programmers in Katowice, Poland, May 27 - 29, 2013

2013-05-06 Thread Mike Müller
Python for Programmers in Katowice == Date: May 27 - 29, 2013 Location: Katowice, Poland Language: English Link: http://www.python-academy.com/courses/python_course_programmers.html Instructor: Mike Müller (eight years of Python training experience) Three days

Course: Advanced Python in Katowice, Poland, May 30 - June 1, 2013

2013-05-06 Thread Mike Müller
Advanced Python in Katowice === Date: May 30 - June 1, 2013 Location: Katowice, Poland Language: English Link: http://www.python-academy.com/courses/specialtopics/python_course_advanced.html Instructor: Mike Müller (eight years of Python training experience) Dive deep

Course: Python per programmatori (Italian) in Bologna, September 11 - 13, 2013

2013-05-06 Thread Mike Müller
(Leipzig) Content-Management mit Plone (German) 04.11.-06.11.2013 (Leipzig) Introduction to Django (English) 07.11.-09.11.2013 (Leipzig) Advanced Django (English) More information at http://www.python-academy.com -- Dr.-Ing. Mike Müller, M.Sc. - Geschäftsführer (CEO) - Python Academy GmbH Co

[issue9682] socket.create_connection error message for domain subpart with invalid length is very confusing

2013-05-05 Thread Mike Milkin
Mike Milkin added the comment: Moved the conditional logic out of the method. There are no tests for ToASCII function and I was not comfortable making changes to it without adding tests. -- Added file: http://bugs.python.org/file30139/Issue9682-5513.patch

[issue9682] socket.create_connection error message for domain subpart with invalid length is very confusing

2013-04-27 Thread Mike Milkin
Mike Milkin added the comment: Dave, let me know what you think of the tests, ill fix the rest of your comments. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9682

[issue9682] socket.create_connection error message for domain subpart with invalid length is very confusing

2013-04-22 Thread Mike Milkin
Mike Milkin added the comment: There are a few of interesting parts. 1.) I noticed that the ToASCII class is not tested. 2.) I had some unreachable branches due to concatenation of constant variable ace_prefix. 3) I also found it weird that we only check the max of labels[-1], but decided

[issue9682] socket.create_connection error message for domain subpart with invalid length is very confusing

2013-04-22 Thread Mike Milkin
Changes by Mike Milkin mmil...@gmail.com: Removed file: http://bugs.python.org/file29850/Issue9682-full.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9682

[issue9682] socket.create_connection error message for domain subpart with invalid length is very confusing

2013-04-22 Thread Mike Milkin
Changes by Mike Milkin mmil...@gmail.com: Removed file: http://bugs.python.org/file29984/Issue9682.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9682

[issue9682] socket.create_connection error message for domain subpart with invalid length is very confusing

2013-04-22 Thread Mike Milkin
Changes by Mike Milkin mmil...@gmail.com: Added file: http://bugs.python.org/file29985/Issue9682-42213.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9682

[issue9682] socket.create_connection error message for domain subpart with invalid length is very confusing

2013-04-21 Thread Mike Milkin
Mike Milkin added the comment: Sure ill modify the patch, thanks for the feedback. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9682

[issue17795] backwards-incompatible change in SysLogHandler with unix domain sockets

2013-04-21 Thread Mike Lundy
Mike Lundy added the comment: I've tested in our full dev setup, and it seems to work fine; I've also tested on my laptop, no problems there either. Unfortunately, that's python 2.7.4 in both cases. I don't really have a python3 setup I can bump up to test

[issue17795] backwards-incompatible change in SysLogHandler with unix domain sockets

2013-04-20 Thread Mike Lundy
Mike Lundy added the comment: It doesn't fix it unless I change the configuration (and in some cases the code) for every SyslogHandler across all of our projects, plus every single library we use. Google around For SysLogHandler /dev/log socktype and then compare with SysLogHandler /dev/log

[issue17795] backwards-incompatible change in SysLogHandler with unix domain sockets

2013-04-20 Thread Mike Lundy
Mike Lundy added the comment: On top of your patch? Yeah, I think so. (I wrote it the way I did so it could handle syslog configuration changes, but that's kind of an uncommon case). Thanks! -- ___ Python tracker rep...@bugs.python.org http

[issue17795] backwards-incompatible change in SysLogHandler with unix domain sockets

2013-04-19 Thread Mike Lundy
New submission from Mike Lundy: The changed merged from http://bugs.python.org/issue16168 causes a regression in SysLogHandler behavior. The socktype of /dev/log is dependent on syslog configuration, and the fallback behavior (trying SOCK_DGRAM and then SOCK_STREAM if the former failed

[issue17353] Plistlib outputs empty data tags when deeply nested

2013-04-16 Thread Mike Milkin
Mike Milkin added the comment: Adding tests. -- Added file: http://bugs.python.org/file29894/issue-17357-tests.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17353

[issue17668] re.split loses characters matching ungrouped parts of a pattern

2013-04-14 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: +mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17668 ___ ___ Python-bugs-list mailing list

[issue9682] socket.create_connection error message for domain subpart with invalid length is very confusing

2013-04-14 Thread Mike Milkin
Mike Milkin added the comment: I did not mean to take the decode out of the previos patch. Sorry for the spam. -- Added file: http://bugs.python.org/file29850/Issue9682-full.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue9682] socket.create_connection error message for domain subpart with invalid length is very confusing

2013-04-14 Thread Mike Milkin
Changes by Mike Milkin mmil...@gmail.com: Removed file: http://bugs.python.org/file29834/Issue9682-full.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9682

[issue17353] Plistlib outputs empty data tags when deeply nested

2013-04-14 Thread Mike Milkin
Mike Milkin added the comment: Looks like plistlib.writePlistToString is no loger in the plistlib. -- nosy: +mmilkin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17353

[issue17353] Plistlib outputs empty data tags when deeply nested

2013-04-14 Thread Mike Milkin
Mike Milkin added the comment: Yep you are correct. plistlib.readPlistFromBytes(plistlib.writePlistToBytes({'test': plistlib.Data(b'aa')})) {'test': Data(b'aa')} plistlib.readPlistFromBytes(plistlib.writePlistToBytes([{'test': plistlib.Data

[issue9682] socket.create_connection error message for domain subpart with invalid length is very confusing

2013-04-13 Thread Mike Milkin
Mike Milkin added the comment: This patch adds better exception messages. If any label other then the last is empty or is too long the request is added to the exception message. If the last label is over 64, the label is added to the exception message -- keywords: +patch nosy

[issue11957] re.sub confusion between count and flags args

2013-04-13 Thread Mike Milkin
Mike Milkin added the comment: I like option #2, and I was thinking of working on it today, poke me if anyone has a problem with this. -- nosy: +mmilkin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11957

[issue11957] re.sub confusion between count and flags args

2013-04-13 Thread Mike Milkin
Mike Milkin added the comment: There is no sane way to issue a warning without changing the signature and we don't want to change the signature without issuing a deprecation warning for the function, so sadly option 3 is the only way for this to work, (Im going to not touch this till ENUMS

[issue11957] re.sub confusion between count and flags args

2013-04-13 Thread Mike Milkin
Mike Milkin added the comment: We could do that but we would be changing the signature before adding the warning -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11957

[issue9682] socket.create_connection error message for domain subpart with invalid length is very confusing

2013-04-13 Thread Mike Milkin
Mike Milkin added the comment: Made changes to to the tests and made changes to the error messages. I think decode() is valid since the input is already ascii encoded. -- Added file: http://bugs.python.org/file29834/Issue9682-full.patch ___ Python

Course: Content-Management mit Plone (German), September 12 - 13, 2013

2013-04-04 Thread Mike Müller
Content-Management mit Plone (German) = Date: September 12 - 13, 2013 Location: Leipzig, Germany Language: German Link: http://www.python-academy.de/Kurse/kurs_plone.html (The following is in German, the instruction language.) Der Kurs richtet sich an Autoren

[issue10740] sqlite3 module should allow DDL statements in transactions

2013-04-04 Thread mike bayer
Changes by mike bayer mike...@zzzcomputing.com: -- nosy: +zzzeek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10740 ___ ___ Python-bugs-list

[issue17387] Error in C API documentation of PySequenceMethods

2013-03-09 Thread Mike Hoy
Mike Hoy added the comment: I was looking at 3.4 files. You're right it is in 2.7. Guess you have all the info you need to make a patch for it then? ssizessizeargfunc PySequenceMethods.sq_slice It passes the lower and upper bound and expects back a subsequence. Or is there more to it than

[issue12067] Doc: remove errors about mixed-type comparisons.

2013-03-08 Thread Mike Hoy
Mike Hoy added the comment: Considering that the docs have changed does this issue still need to be open? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12067

[issue17387] Error in C API documentation of PySequenceMethods

2013-03-08 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: +mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17387 ___ ___ Python-bugs-list mailing list

[issue17387] Error in C API documentation of PySequenceMethods

2013-03-08 Thread Mike Hoy
Mike Hoy added the comment: Looking through Include/object.h I see that sq_slice is now: void *was_sq_slice. Can anyone provide any clarification as to where I can find info about sq_slice? -- ___ Python tracker rep...@bugs.python.org http

ANN: Training - Django für Fortgeschrittene (German), 6. - 8. Juni 2013

2013-02-14 Thread Mike Müller
This announcement is in German because the training is offered in German. We do offer an English version [1]. Django für Fortgeschrittene === Was: Tiefes Eintauschen in Django Wann: 6. - 8. Juni 2013 Wo: Python Academy, Leipzig Wer: Markus Zapke-Gründemann Details:

ANN: Training - Einstieg in Django (German), 3. - 5. Juni 2013

2013-02-14 Thread Mike Müller
This announcement is in German because the training is offered in German. We do offer an English version [1]. Einstieg in Django == Was: Praktischer Einstieg in die Entwicklung von Web-Anwendungen mit Django Wann: 3. - 5. Juni 2013 Wo: Python Academy, Leipzig Wer: Markus

ANN: Training - Advanced Django, November 7 - 9, 2013

2013-02-14 Thread Mike Müller
Advanced Django === What: Django - the deep dive When: November 7 - 9, 2013 Where: Python Academy, Leipzig, Germany Who: Markus Zapke-Gründemann Details: http://www.python-academy.com/courses/django_course_advanced.html You already worked with Django but you want learn more? Than

ANN: Training - Professional Testing with pytest and tox

2013-02-12 Thread Mike Müller
Professional Testing with pytest and tox What: An in-depth pytest and tox course When: June 24 - 26, 2013 Where: Python Academy, Leipzig, Germany Who: Holger Krekel Details: http://www.python-academy.com/courses/specialtopics/python_course_testing.html

ANN: Twisted Training - Three days to untwist the framework

2013-02-12 Thread Mike Müller
Twisted Training What: An in-depth Twisted course When: September 9 - 11, 2013 Where: Python Academy, Leipzig, Germany Who: Laurens Van Houtven Details: http://www.python-academy.com/courses/specialtopics/python_course_twisted.html Twisted [1] is a powerful framework to develop

[issue9253] argparse: optional subparsers

2013-02-10 Thread mike bayer
mike bayer added the comment: um, this seems like a regression/bug? I now have users complaining that my apps are broken because of this change as of Python 3.3.My application is supposed to return the help screen when no command is given. Now I get a None error because argparse

[ANN] Leipzig Python User Group - Meeting, February 12, 2013, 08:00 p.m.

2013-02-09 Thread Mike Müller
=== Leipzig Python User Group === We will meet on Tuesday, February 12 at 8:00 p.m. at the training center of Python Academy in Leipzig, Germany ( http://www.python-academy.com/center/find.html ). Mike Müller (me ;)) will talk about IPython [1] and especially the new IPython notebook. IPython

[ANN] PhreeqPy 0.2 released

2013-01-24 Thread Dr. Mike Mueller
A new PhreeqPy version has been released. Its available at http://pypi.python.org/pypi/phreeqpy/0.2.0 Documentation can be found at http://www.phreeqpy.com What is PhreeqPy? - PhreeqPy provides Python tools for PHREEQC [1], a comprehensive software for hydro-geo-chemical

Re: handling return codes from CTYPES

2013-01-21 Thread Mike C. Fletcher
) my_ctypes_function( ..., byref(result) ) print result.value i.e. you have to pass the variable into the function (as a reference/pointer). HTH, Mike -- Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com

Re: handling return codes from CTYPES

2013-01-21 Thread Mike C. Fletcher
On 13-01-21 11:52 AM, Steve Simmons wrote: Mike, Thanks for your response - I was puzzled by one part of it though... On 21/01/2013 15:14, Mike C. Fletcher wrote: That's because you've just discarded the object you created I (mis?)understood from the ctypes documentation

Re: pygame - importing GL - very bad...

2013-01-03 Thread Mike C. Fletcher
different wouldn't be a good direction to move, IMO. HTH, Mike -- Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com -- http://mail.python.org/mailman/listinfo/python-list

Re: pylint, was Re: pygame - importing GL - very bad...

2013-01-03 Thread Mike C. Fletcher
that this is *not* an error, it is a *style* related *warning*. HTH, Mike -- Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com -- http://mail.python.org/mailman/listinfo/python-list

Problem with print and output to screen

2012-12-11 Thread Mike
Hello, I am learning python and i have the next problem and i not understand how fix. The script is very simple, shows in the terminal the command but, the row is divided in two: Example: /opt/zimbra/bin/zmprov ga u...@example.com |egrep

Re: Problem with print and output to screen

2012-12-11 Thread Mike
El martes, 11 de diciembre de 2012 20:07:09 UTC-3, Joel Goldstick escribió: On Tue, Dec 11, 2012 at 6:00 PM, Dave Angel d...@davea.name wrote: On 12/11/2012 05:53 PM, Joel Goldstick wrote: When you read the file line by line the end of line character is included in the result

Print value from array

2012-11-22 Thread Mike
Hello, I am noob en python programing, i wrote a perl script for read from csv but now i wish print value but the value must be within double quote and I can not do this. For example now the output is: ma user@domain displayName Name SecondName givenName Name sn SecondName cn Name and i

Re: Print value from array

2012-11-22 Thread Mike
El jueves, 22 de noviembre de 2012 16:02:30 UTC-3, Alister escribió: On Thu, 22 Nov 2012 10:44:02 -0800, Mike wrote: Hello, I am noob en python programing, i wrote a perl script for read from csv but now i wish print value but the value must be within double quote and I can

[issue16389] re._compiled_typed's lru_cache causes significant degradation of the mako_v2 bench

2012-11-03 Thread mike bayer
mike bayer added the comment: in response to ezio, I poked around the source here, since I've never been sure if re.compile() cached its result or not. It seems to be the case in 2.7 and 3.2 also - 2.7 uses a local caching scheme and 3.2 uses functools.lru_cache, yet we don't see as much

[issue13510] Clarify that readlines() is not needed to iterate over a file

2012-10-26 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: +mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13510 ___ ___ Python-bugs-list mailing list

Learn Python and SQLAlchemy in Antwerp, Belgium

2012-10-24 Thread Mike Müller
for MS Access, but its tight integration with SQLAlchemy enables a vast amount of more advanced features and possibilities. See the course page for more information [5]. Best regards, Mike Müller [1] http://www.conceptive.be/training.html [2] http://www.conceptive.be/ [3] http://www.python

[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

2012-10-21 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: -mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16288 ___ ___ Python-bugs-list mailing list

[issue16294] 8 space indent in tutorial

2012-10-21 Thread Mike Hoy
Mike Hoy added the comment: Probably no need for a patch (since it's such a simple fix) but I felt like doing something. -- keywords: +patch nosy: +mikehoy Added file: http://bugs.python.org/file27656/issue16294.diff ___ Python tracker rep

[issue12944] Accept arbitrary files for packaging's upload command

2012-10-21 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: -mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12944 ___ ___ Python-bugs-list mailing list

[issue13198] Remove duplicate definition of write_record_file

2012-10-21 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: -mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13198 ___ ___ Python-bugs-list mailing list

[issue15569] Doc doc: incorrect description of some roles as format-only

2012-10-21 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: -mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15569 ___ ___ Python-bugs-list mailing list

[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

2012-10-20 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: +mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16288 ___ ___ Python-bugs-list mailing list

PyOpenGL 3.0.2 Released

2012-10-16 Thread Mike C. Fletcher
) to allow for easy offset-address-style API usage * The ancient Numeric package (as distinct from Numpy) will be dropped as a supported array format o Numeric itself has long since been deprecated, use Numpy Enjoy all, Mike [1] Note: OpenGL extension and higher-level core feature

[issue15936] Add link from os.urandom to random.SystemRandom

2012-10-13 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: +mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15936 ___ ___ Python-bugs-list mailing list

[issue13440] Explain the status quo wins a stalemate principle in the devguide

2012-10-12 Thread Mike Hoy
Mike Hoy added the comment: Patch affects faq.rst/index.rst. In faq I put the two links along with some text as Chris suggested. In index I changed resources to Additional Resources and split up the old 'Resources' into 'Additional Resources/Essential Reading'. Feedback appreciated I

Django training for beginners and advanced

2012-10-11 Thread Dr. Mike Mueller
Django knowledge or would like to continue after the introductory training, you should consider this course: October 18-20, 2012 (Leipzig, Germany) Advanced Django [2] Feel free to ask me about it. BTW, all courses are also available as in-house training. Mike [1] http://www.python-academy.com

[issue16196] Typo in devguide stdlibchanges.html

2012-10-11 Thread Mike Hoy
New submission from Mike Hoy: Typo in: http://docs.python.org/devguide/stdlibchanges.html#adding-to-the-stdlib Reads: This document it meant to explain... Should read: This document is meant to explain... -- components: Devguide messages: 172640 nosy: ezio.melotti, mikehoy priority

[issue13691] pydoc help (or help('help')) should show the doc for help

2012-10-10 Thread Mike Hoy
Mike Hoy added the comment: Cool! Can you add tests? Nope, I can't add tests. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13691

[issue13440] Explain the status quo wins a stalemate principle in the devguide

2012-10-10 Thread Mike Hoy
Mike Hoy added the comment: Would this be the appropriate place for the links to the two essays: http://docs.python.org/devguide/#proposing-changes-to-python-itself -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13440

[issue12322] ElementPath 1.3 expressions documentation

2012-10-09 Thread Mike Hoy
Mike Hoy added the comment: Mike - a note for the future: when you create an updated patch, create it anew vs. a clean repo. Don't compound patches. No problem, thanks for committing the patch. Wasn't aware that compounding patches caused a problem

[issue12322] ElementPath 1.3 expressions documentation

2012-10-08 Thread Mike Hoy
Mike Hoy added the comment: It doesn't look like there are any errors to document. I'm attaching a patch that Patrick suggested. -- keywords: +patch Added file: http://bugs.python.org/file27481/issue12322_v1.diff ___ Python tracker rep

[issue12322] ElementPath 1.3 expressions documentation

2012-10-08 Thread Mike Hoy
Mike Hoy added the comment: In response to patrick vrijlandt last comment here's a patch. I also found a few None keywords that didn't have `` around them. -- Added file: http://bugs.python.org/file27500/issue12322_v2.diff ___ Python tracker rep

[issue13691] pydoc help (or help('help')) should show the doc for help

2012-10-07 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: +mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13691 ___ ___ Python-bugs-list mailing list

[issue13691] pydoc help (or help('help')) should show the doc for help

2012-10-07 Thread Mike Hoy
Mike Hoy added the comment: I imported this patch on 3.4 and it worked as expected on my system. help('help') brings up info about help() help(object) prints the docstring help() invokes the help -- ___ Python tracker rep...@bugs.python.org http

[issue13691] pydoc help (or help('help')) should show the doc for help

2012-10-07 Thread Mike Hoy
Mike Hoy added the comment: What about pydoc help? $ ./python -m pydoc help Help on built-in function help: help(...) Invoke the built-in help system. help() The interactive help system starts on the interpreter console. help(string) The string is looked up as the name

[issue11643] Use |version| instead of X.Y in the doc

2012-10-06 Thread Mike Hoy
Mike Hoy added the comment: Here is a patch after talking with Ezio on irc tonight. The rules I (attempted) to follow are: Within a :file: you should have {X.Y} In a text/paragraph area you can use |version| Within anything else just leave it as X.Y As stated by Éric I ignored install

[issue11643] Use |version| instead of X.Y in the doc

2012-10-06 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file27446/issue11643-xy_v1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11643

Re: sum function

2012-10-05 Thread Mike
On Thursday, October 4, 2012 4:52:50 PM UTC-4, Mike wrote: Hi All, I am new to python and am getting the data from hbase. I am trying to do sum on the column as below scanner = client.scannerOpenWithStop(tab, 10, 1000, [cf:col1]) total = 0.0 r = client.scannerGet

Re: sum function

2012-10-05 Thread Mike
On Friday, October 5, 2012 9:41:44 AM UTC-4, Ramchandra Apte wrote: On Friday, 5 October 2012 19:09:15 UTC+5:30, Mike wrote: On Thursday, October 4, 2012 4:52:50 PM UTC-4, Mike wrote: Hi All, I am new to python and am getting the data from

Re: sum function

2012-10-05 Thread Mike
I added the print command. It prints [] when there is no data. Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: sum function

2012-10-05 Thread Mike
Terry, I am not using the mail client. I am just posting on the site. Something wrong with this site. When you do individual reply, it does the double posting which it shouldn't. See Ramachandra Apte's reply. It is posted twice too. Thanks --

Re: sum function

2012-10-05 Thread Mike
That worked, Ian. Thanks -- http://mail.python.org/mailman/listinfo/python-list

[issue12067] Doc: remove errors about mixed-type comparisons.

2012-10-05 Thread Mike Hoy
Mike Hoy added the comment: Changed patch to include suggestions by Chris Jerdonek. http://bugs.python.org/issue12067#msg170953 -- hgrepos: +153 Added file: http://bugs.python.org/file27442/issue12067-expressions_v2.diff ___ Python tracker rep

[issue12067] Doc: remove errors about mixed-type comparisons.

2012-10-05 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- hgrepos: -153 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12067 ___ ___ Python-bugs-list mailing list

Re: sum function

2012-10-04 Thread Mike
I get below error NameError: name 'functools' is not defined Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: sum function

2012-10-04 Thread Mike
Thanks Ian for the quick reply. I get the below error. NameError: name 'itertools' is not defined Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: sum function

2012-10-04 Thread Mike
On Thursday, October 4, 2012 5:40:26 PM UTC-4, Dave Angel wrote: On 10/04/2012 05:29 PM, Mike wrote: I get below error NameError: name 'functools' is not defined functools is a module in the standard library. You need to import it. import functools

Re: sum function

2012-10-04 Thread Mike
I agree with you, Ian. Thanks for all the help. Now I get the below error. File test.py, line 17, in module total = sum(float(col.value) for r in iter(next_r, None) for col in r[0].columns.itervalues()) File test.py, line 17, in genexpr total = sum(float(col.value) for r in

[issue15104] Unclear language in __main__ description

2012-10-03 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: +mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15104 ___ ___ Python-bugs-list mailing list

[issue14574] SocketServer doesn't handle client disconnects properly

2012-10-03 Thread Mike Putnam
Changes by Mike Putnam m...@theputnams.net: -- nosy: +mikeputnam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14574 ___ ___ Python-bugs-list

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