Re: Textmining

2012-12-01 Thread subhabangalore
On Saturday, December 1, 2012 5:13:17 AM UTC+5:30, Dave Angel wrote: On 11/30/2012 02:48 PM, subhabangal...@gmail.com wrote: Dear Group, Python has one textming library, but I am failing to install it in Windows. If any one can kindly help. Regards, Subhabrata. Please

Help accessing COM .dll from Python

2012-12-01 Thread Steve Simmons
First time post - be gentle with me :-) I am trying to write a Python script to access a scanning device. I have an SDK for the scanner but the documentation is a bit limited and the supplier doesn't support Python

Re: Help accessing COM .dll from Python

2012-12-01 Thread Günther Dietrich
Steve Simmons square.st...@gmail.com wrote: html head meta http-equiv=content-type content=text/html; charset=ISO-8859-1 /head body text=#00 bgcolor=#FF font size=-1font face=Bitstream Vera SansFirst time post - be gentle wifont size=-1th me :-)br br

Re: Help accessing COM .dll from Python

2012-12-01 Thread Chris Angelico
Quoting his entire text for the benefit of Mr Dietrich, who is apparently having trouble reading it. (He's right though, plain text is a lot easier to work with.) On Sat, Dec 1, 2012 at 8:51 PM, Steve Simmons square.st...@gmail.com wrote: First time post - be gentle with me :-) I am trying to

help .No money and alone

2012-12-01 Thread gechangb...@163.com
I have come to the conclusion that there is no way i can pay for the medical bills i have or the food i need. I broke my collar bone a few months ago and could not work. My boss decided to fire me and i could not pay for my debt. The banks have taken a number of belongings from me that i

Re: Help accessing COM .dll from Python

2012-12-01 Thread Steve Simmons
Gunther - Sorry about that, hoping this response comes through as plain text. Chris - Thanks for the translation and the response. Unfortunately, I don't speak 'C', and I think the learning curve for Python + COM should be slightly less steep. The scanner is supplied by Card Scanning

Re: Help accessing COM .dll from Python

2012-12-01 Thread Albert Dengg
On Sat, Dec 01, 2012 at 12:47:57PM +, Steve Simmons wrote: Gunther - Sorry about that, hoping this response comes through as plain text. Chris - Thanks for the translation and the response. Unfortunately, I don't speak 'C', and I think the learning curve for Python + COM should be

Re: pyHook and time libraries

2012-12-01 Thread doronmmm
בתאריך יום שישי, 30 בנובמבר 2012 21:47:57 UTC+2, מאת Prasad, Ramit: Doron wrote: Hey, I'm tring to create a software that records the keyboard/mouse and sends email of the log every predetermined period. I've manage to make the recorder and the auto-email sender, but I

Re: Textmining

2012-12-01 Thread Mark Lawrence
On 01/12/2012 09:27, subhabangal...@gmail.com wrote: Dear Group, Python has one textmining library. [Sorry for the spelling mistake in earlier post]. As I see it can be downloaded from, http://pypi.python.org/pypi/textmining/1.0 I am running Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC

Any Python trainers/tutors in Toronto?

2012-12-01 Thread Steven D'Aprano
Are there any Python programmers in the Toronto area interested in some informal, very short-term, paid Python tutoring? Please contact me off-list for details if you are interested. -- Steven -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: eGenix mx Base Distribution 3.2.5 (mxDateTime, mxTextTools, etc.)

2012-12-01 Thread Piet van Oostrum
M.-A. Lemburg m...@egenix.com writes: ANNOUNCING eGenix.com mx Base Distribution Version 3.2.5 for Python 2.4 - 2.7 Open Source Python extensions providing

Re: Help accessing COM .dll from Python

2012-12-01 Thread Paul Kölle
Hi, Am 01.12.2012 10:51, schrieb Steve Simmons: First time post - be gentle with me :-) I am trying to write a Python script to access a scanning device. I have an SDK for the scanner but the documentation is a bit limited and the supplier doesn't support Python (but Python is the best option

Tcl/tk version in Python installation

2012-12-01 Thread Baruch Lifshitz
I need help of those who familiar with Python-Tcl/tk bundle. I cannot start IDLE IDE for Python 3.2.3 or 3.3.0 installation. Command python -m idlelib.idle gives next output: C:\Python33python -m idlelib.idle Traceback (most recent call last): File C:\Python33\lib\runpy.py, line 160,

Re: Tcl/tk version in Python installation

2012-12-01 Thread Baruch Lifshitz
Solved. I had to remove environment variable TCL_LIBRARY, which pointed to some non-existent installation. -- http://mail.python.org/mailman/listinfo/python-list

[issue16588] gcc 4.7 unused-but-set warnings on Python/thread_pthread.h

2012-12-01 Thread Bruno Dupuis
Bruno Dupuis added the comment: I don't agree. Trash build logs are bad, trash code (I mean, in terms of utility, not quality :-) ) is far worst IMHO. The purpose of this bug, to me, is to try to find a neat way to suppress the warnings without touching the code, and if we can't, wich is

[issue16525] wave file module does not support 32bit float format

2012-12-01 Thread Sebastian Kraft
Sebastian Kraft added the comment: Contribution agreement is now attached to my account. So the review can start ;) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16525 ___

[issue1739648] zipfile.testzip() using progressive file reads

2012-12-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I added comments in Rietveld. -- components: +Tests versions: +Python 3.3, Python 3.4 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1739648

[issue16584] unhandled IOError filecmp.cmpfiles() if file not readable

2012-12-01 Thread Daniel Urban
Changes by Daniel Urban urban.dani...@gmail.com: -- stage: - patch review type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16584 ___

[issue12004] PyZipFile.writepy gives internal error on syntax errors

2012-12-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patches look good to me, except that `self.assertIn('mod1.py', names)` can be used instead `self.assertTrue('mod1.py' in names)`. -- nosy: +alanmcintyre, serhiy.storchaka stage: - commit review versions: +Python 3.2, Python 3.3, Python 3.4

[issue4844] ZipFile doesn't range check in _EndRecData()

2012-12-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch for 3.4, which adds checks for other unpacks (except one, for which issue14315 exists). Also BadZipfile replaced by BadZipFile and trailing whitespaces deleted. For 2.7 BadZipFile should be replaced by BadZipfile back. -- stage: -

[issue10712] 2to3 fixer for deprecated unittest method names

2012-12-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10712 ___ ___

[issue16589] PrettyPrinter docs is incomplete

2012-12-01 Thread mindrones
New submission from mindrones: Hi, at http://docs.python.org/2.7/library/pprint.html#pprint.PrettyPrinter we see: class pprint.PrettyPrinter(...) while at http://docs.python.org/3.3/library/pprint.html#pprint.PrettyPrinter we see: class pprint.PrettyPrinter(indent=1, width=80, depth=None,

[issue16589] PrettyPrinter docs is incomplete

2012-12-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 62fed5f18681 by Ezio Melotti in branch '2.7': #16589: fix pprint signatures in the doc (backport of 106ee4eb5970). http://hg.python.org/cpython/rev/62fed5f18681 -- nosy: +python-dev ___ Python tracker

[issue16589] PrettyPrinter docs is incomplete

2012-12-01 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: docs@python - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: - committed/rejected status: open - closed type: - enhancement ___ Python tracker

[issue16590] Drop 2.6 support from _json.c

2012-12-01 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Modules/_json.c contains workarounds for Python versions 2.6. Now this code is not needed and can be safely dropped. This patch moved from issue16586. -- components: Extension Modules files: json_size_t_cleanup.patch keywords: patch messages:

[issue16590] Drop 2.6 support from _json.c

2012-12-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16590 ___ ___ Python-bugs-list

[issue16590] Drop 2.6 support from _json.c

2012-12-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2c04d2102534 by Antoine Pitrou in branch 'default': Issue #16590: remove obsolete compatibility code from the _json module. http://hg.python.org/cpython/rev/2c04d2102534 -- nosy: +python-dev ___ Python

[issue16590] Drop 2.6 support from _json.c

2012-12-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you :) -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16590 ___

[issue16586] json library can't parse large ( 2^31) strings

2012-12-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file28171/json_size_t_cleanup.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16586 ___

[issue16586] json library can't parse large ( 2^31) strings

2012-12-01 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file28172/json_size_t_cleanup-2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16586 ___

[issue16586] json library can't parse large ( 2^31) strings

2012-12-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Dustin, what version of 2.7 do you use? What python2.7 -V says? Please someone run on self-built 64-bit Python 2.7 something like (this should require a little greater than 2GB of memory): python -c import json; json.loads('[%22s' % ']') I

[issue16581] define PEP editor in PEP 1

2012-12-01 Thread Chris Jerdonek
Chris Jerdonek added the comment: From PEP 1: If the PEP author is a Python developer, assign the bug/patch to him, otherwise assign it to the [a] PEP editor. Given that the list is small, something else that might make sense is adding a PEP editors area to the Experts Index in the devguide.

[issue16581] define PEP editor in PEP 1

2012-12-01 Thread Chris Jerdonek
Chris Jerdonek added the comment: Btw, I will prepare a patch that incorporates the information that Barry provided. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16581 ___

[issue16591] RUNSHARED wrong for OSX no framework

2012-12-01 Thread Fabian Groffen
New submission from Fabian Groffen: Python fails to run python.exe on OSX when a non-framework build is requested, due to wrong quoting in configure.ac. Like all other RUNSHARED, it shouldn't be quoted because then `pwd` won't be expanded, resulting in a wrong DYLD_LIBRARY_PATH when regen is

[issue16586] json library can't parse large ( 2^31) strings

2012-12-01 Thread Dustin Boswell
Dustin Boswell added the comment: Python 2.7.3 (default, Aug 3 2012, 20:01:21) [GCC 4.4.3] on linux2 Type help, copyright, credits or license for more information. import sys;print(%x % sys.maxsize, sys.maxsize 2**32) ('7fff', True) --

[issue11908] Weird `slice.stop or sys.maxint`

2012-12-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. However note, that for 2.7 the patch should be modified (maxsize - maxint, range - xrange). -- nosy: +serhiy.storchaka stage: needs patch - commit review versions: +Python 3.4 ___ Python tracker

[issue16586] json library can't parse large ( 2^31) strings

2012-12-01 Thread Dustin Boswell
Dustin Boswell added the comment: Yes, bug exists on 3.1 (gcc build), as well as darwin build of 2.7: python3.1 -c import json; json.loads('[%22s' % ']') Traceback (most recent call last): File string, line 1, in module File /usr/lib/python3.1/json/__init__.py, line 293, in loads

[issue16586] json library can't parse large ( 2^31) strings

2012-12-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As Antoine Pitrou reported on IRC, this bug exists on 3.x. Sorry, but this bug can't be fixed on 2.6 and 3.1. -- versions: +Python 3.2, Python 3.3, Python 3.4 -Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue10712] 2to3 fixer for deprecated unittest method names

2012-12-01 Thread Bradley Froehle
Bradley Froehle added the comment: Bikeshedding, but the fixer name of 'asserts' bugs me. I'd suggest 'unittest' or 'unittest_asserts'. -- nosy: +bfroehle ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10712

[issue16586] json library can't parse large ( 2^31) strings

2012-12-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Actually, this isn't a problem in _json.c but in the re library: JSONDecoder.raw_decode() works fine, but JSONDecoder.decode() raises: $ ./python -c import json.decoder; print(json.decoder.JSONDecoder().raw_decode('[%22s' % ']')) ([], 220001) $

[issue16586] json library can't parse large ( 2^31) strings

2012-12-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Uh, this is issue10182. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16586 ___ ___ Python-bugs-list

[issue16586] json library can't parse large ( 2^31) strings

2012-12-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Uh, this is issue10182. Indeed, the patch there seems to fix it. -- resolution: - duplicate stage: needs patch - committed/rejected status: open - closed superseder: - match_start truncates large values ___

[issue10182] match_start truncates large values

2012-12-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Actually, we now have a 64-bit big endian buildbot and it does not show any test failure: http://buildbot.python.org/all/builders/SPARC%20Solaris%2010%20%28cc%2C%2064b%29%20%5BSB%5D%203.x [...] checking size of int... 4 checking size of long... 8 checking size

[issue9650] format codes in time.strptime docstrings

2012-12-01 Thread Éric Araujo
Éric Araujo added the comment: Any reason to not backport this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9650 ___ ___ Python-bugs-list

[issue10712] 2to3 fixer for deprecated unittest method names

2012-12-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: Looks fine, though. Make sure to add docs to library/2to3.rst. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10712 ___

[issue10182] match_start truncates large values

2012-12-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a test. -- Added file: http://bugs.python.org/file28181/buildvalue_overflow_tests.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10182 ___

[issue16592] stringlib_bytes_join doesn't raise MemoryError on allocation failure

2012-12-01 Thread Antoine Pitrou
New submission from Antoine Pitrou: l = [b''] * (100*1024*1024) [104918914 refs] d = b''.join(l) Traceback (most recent call last): File stdin, line 1, in module SystemError: error return without exception set (you'll have to adjust the list size based on your system memory size)

[issue16593] Have BSD 'make -s' DTRT

2012-12-01 Thread Daniel Shahaf
New submission from Daniel Shahaf: FreeBSD make sets $$MAKEFLAGS differently than GNU make does. Attached patch updates Makefile.pre.in to recognise that syntax too. Preliminary versions discussed with Crys on #python-dev. -- components: Build messages: 176768 nosy: danielsh

[issue16593] Have BSD 'make -s' DTRT

2012-12-01 Thread Daniel Shahaf
Changes by Daniel Shahaf pyt...@danielsh.fastmail.net: -- keywords: +patch Added file: http://bugs.python.org/file28182/makedashs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16593 ___

[issue16593] Have BSD 'make -s' DTRT

2012-12-01 Thread Christian Heimes
Christian Heimes added the comment: Thanks for your patch! Crys -- nosy: +christian.heimes resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16593

[issue16592] stringlib_bytes_join doesn't raise MemoryError on allocation failure

2012-12-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9af5a2611202 by Christian Heimes in branch 'default': Issue #16592: stringlib_bytes_join doesn't raise MemoryError on allocation failure http://hg.python.org/cpython/rev/9af5a2611202 -- nosy: +python-dev

[issue16592] stringlib_bytes_join doesn't raise MemoryError on allocation failure

2012-12-01 Thread Christian Heimes
Christian Heimes added the comment: Antoine, on Unix you can restrict the address space of a program to test the issue without almost crashing and OOMing your box. ;) import resource resource.setrlimit(resource.RLIMIT_AS, (1024*1024*100, 1024*1024*100)) l = [b''] * (100*1024*70) d =

[issue16572] Bad multi-inheritance support in some libs like threading or multiprocessing

2012-12-01 Thread Éric Araujo
Éric Araujo added the comment: Adding Raymond, who thinks super is super, to the nosy list. http://rhettinger.wordpress.com/2011/05/26/super-considered-super/ -- nosy: +eric.araujo, rhettinger ___ Python tracker rep...@bugs.python.org

[issue16593] Have BSD 'make -s' DTRT

2012-12-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset ceb325fdd54e by Christian Heimes in branch '3.2': - Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf http://hg.python.org/cpython/rev/ceb325fdd54e New changeset 323f0aeba89d by Christian Heimes in branch '3.3': Issue

[issue16588] gcc 4.7 unused-but-set warnings on Python/thread_pthread.h

2012-12-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 280469ce6669 by Christian Heimes in branch '3.2': Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.h http://hg.python.org/cpython/rev/280469ce6669 New changeset 470785a9fdd5 by Christian Heimes in branch '3.3': Issue #16588:

[issue16588] gcc 4.7 unused-but-set warnings on Python/thread_pthread.h

2012-12-01 Thread Christian Heimes
Christian Heimes added the comment: Jesús, I've used a slightly different comment in my patch. Python 3.3 and 3.4 now compile the core and modules without any warnings. 3.2 still has some warnings. -- nosy: +christian.heimes resolution: - fixed stage: patch review -

[issue8109] Server-side support for TLS Server Name Indication extension

2012-12-01 Thread danblack
danblack added the comment: Antoine Pitrou (pitrou) * Date: 2012-10-06 13:10 Daniel, I'll take a look. minor nag :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8109 ___