Vancouver Python Day - Talk Proposal Deadline

2013-10-18 Thread Andy McKay
We've just set the deadline for Vancouver Python Day talk proposal submissions. All talk proposals must be submitted by *Thursday, October 17, 2013 at 23:59 Pacific Time*. See https://github.com/andymckay/vancouver-python-day for instructions on submitting a talk proposal. All Python-related

[ANN] jsonrpclib-pelix 0.1.6

2013-10-18 Thread Thomas Calmant
== jsonrpclib-pelix 0.1.6 == jsonrpclib-pelix v0.1.6 has been released ! About jsonrpclib-pelix == This library is an implementation of the JSON-RPC specification. It supports both the original 1.0 specification, as well as the 2.0

CFP: SciPy India 2013: Dec 13 - 15, IIT Bombay

2013-10-18 Thread Prabhu Ramachandran
Hello, The CFP and registration for SciPy India 2013 (http://scipy.in) is open. SciPy India 2013 will be held in IIT Bombay between December 13th to December 15th, 2013. Please spread the word! SciPy India is an annual conference on using Python for science and engineering research and

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-10-18 Thread Mark Lawrence
On 18/10/2013 00:53, Peter Cacioppi wrote: You know, I'd heard somewhere that Goto was considered harmful trying to remember exactly where Yep, but it's used throughout the CPython code for error handling, nothing wrong with that as it's crystal clear that you're going to one place

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-10-18 Thread Chris Angelico
On Fri, Oct 18, 2013 at 6:40 PM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 18/10/2013 00:53, Peter Cacioppi wrote: You know, I'd heard somewhere that Goto was considered harmful trying to remember exactly where Yep, but it's used throughout the CPython code for error handling,

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-10-18 Thread Mark Lawrence
On 18/10/2013 01:43, Peter Cacioppi wrote: Cmon, Skip, assuming everyone gets the considered harmful reference falls under the we're all adults here rubric. Context, context everywhere trying to remember exactly where -- Roses are red, Violets are blue, Most poems rhyme, But this

Re: Sexism in the Ruby community: how does the Python community manage it?

2013-10-18 Thread Mark Lawrence
On 18/10/2013 02:49, Steven D'Aprano wrote: Because it was tedious, repetitive work, and because most of the men were over in Europe getting shot at, nearly all of the computers at Bletchly Park were women. The actual mechanical computing devices were called bombes, I kid you not. What

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-10-18 Thread Mark Lawrence
On 18/10/2013 08:44, Chris Angelico wrote: On Fri, Oct 18, 2013 at 6:40 PM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 18/10/2013 00:53, Peter Cacioppi wrote: You know, I'd heard somewhere that Goto was considered harmful trying to remember exactly where Yep, but it's used

Re: Sexism in the Ruby community: how does the Python community manage it?

2013-10-18 Thread Mark Lawrence
On 18/10/2013 04:14, Steven D'Aprano wrote: On Thu, 17 Oct 2013 10:16:24 -0700, Roy Smith wrote: On Thursday, October 17, 2013 11:07:48 AM UTC-4, Chris Angelico wrote: Module names should be descriptive, not fancy. Interesting comment, on a mailing list for a language named after a snake,

Re: Sexism in the Ruby community: how does the Python community manage it?

2013-10-18 Thread ishish
Am 17.10.2013 18:16, schrieb Roy Smith: On Thursday, October 17, 2013 11:07:48 AM UTC-4, Chris Angelico wrote: Module names should be descriptive, not fancy. Interesting comment, on a mailing list for a language named after a snake, especially by a guy who claims to prefer an language named

Re: urllib2 timeout issue

2013-10-18 Thread Jérôme
Thu, 17 Oct 2013 15:55:06 +0200 Ervin Hegedüs a écrit: Has your router/modem any HTTP proxy feature? If yes, maybe the proxy gives the late answer. I don't think so. I didn't find anything like this in the config. Anyway, if you don't have proxy, and the DNS error cames from local system,

Re: finding data from two different files.

2013-10-18 Thread Roy Smith
In article mailman.1193.1382062311.18130.python-l...@python.org, torque.in...@gmail.com torque.in...@gmail.com wrote: Hi all, I am new to python, just was looking for logic to understand to write code in the below scenario. I am having a file (filea) with multiple columns, and another

Python package statistics

2013-10-18 Thread Yaşar Arabacı
Hi people, I collected some data on PyPI and published some statistics about packages on PyPI. I think you might find it an interesting read: http://ysar.net/python/python-package-statistics.html -- http://ysar.net/ -- https://mail.python.org/mailman/listinfo/python-list

Multiprocessing: killing children when parent dies

2013-10-18 Thread Марк Коренберг
import prctl prct.set_pdeathsig(.) if os.getppid() == 1: raise AlreadyDead() -- Segmentation fault -- https://mail.python.org/mailman/listinfo/python-list

Re: Sexism in the Ruby community: how does the Python community manage it?

2013-10-18 Thread Bob Hartwig
I think we should follow the lead of the radio and TV industry, and let the FCC decide what's acceptable. On second thought, that won't work - they would let therapist through, and as we all know, that has a double meaning. On Fri, Oct 18, 2013 at 4:57 AM, ishish ish...@domhain.de wrote: Am

Re: Sexism in the Ruby community: how does the Python community manage it?

2013-10-18 Thread Aurélien DESBRIÈRES
Strangely I have never seen sexism on python nor on ruby and the stangest thing is that this subject seems to make more speach than how think algorithm in python -_-' Regards Bob Hartwig bobje...@gmail.com writes: I think we should follow the lead of the radio and TV industry, and let the

Re: Sexism in the Ruby community: how does the Python community manage it?

2013-10-18 Thread Robert Kern
On 2013-10-18 04:14, Steven D'Aprano wrote: On Thu, 17 Oct 2013 10:16:24 -0700, Roy Smith wrote: On Thursday, October 17, 2013 11:07:48 AM UTC-4, Chris Angelico wrote: Module names should be descriptive, not fancy. Interesting comment, on a mailing list for a language named after a snake,

Re: Sexism in the Ruby community: how does the Python community manage it?

2013-10-18 Thread Robert Kern
On 2013-10-18 05:03, Chris Angelico wrote: On Fri, Oct 18, 2013 at 2:14 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Thu, 17 Oct 2013 10:16:24 -0700, Roy Smith wrote: On Thursday, October 17, 2013 11:07:48 AM UTC-4, Chris Angelico wrote: Module names should be

Weird problem with UDP and gevent

2013-10-18 Thread Roy Smith
I'm running: Ubuntu Precise Python 2.7.3 django 1.4.5 gunicorn 0.17.4 gevent 1.0dev (rc3) I haven't been able to pin this down exactly, but it looks like if I do (inside of a custom logging.Handler subclass): # Paraphrased from the actual code remote_addr = (localhost, 9700)

Re: Sexism in the Ruby community: how does the Python community manage it?

2013-10-18 Thread Nelle Varoquaux
(I forgot to reply to all, so I'm adding python-list in cc back). Strangely I have never seen sexism on python nor on ruby and the stangest thing is that this subject seems to make more speach than how think algorithm in python -_-' If you have any doubt sexisms exists in the ruby

Re: Passing C pionters to Python for use with cffi

2013-10-18 Thread Eric Frederich
Dieter, Thanks for the reply. I actually have a fully working set of bindings using Cython. I'm looking to move away from Cython and use cffi. My reasoning is that with cffi my binding package would be pure python. Also, I want my all my code to be Python, not Cython. I don't care about

Re: Sexism in the Ruby community: how does the Python community manage it?

2013-10-18 Thread ishish
Am 18.10.2013 15:09, schrieb Robert Kern: On 2013-10-18 05:03, Chris Angelico wrote: On Fri, Oct 18, 2013 at 2:14 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Thu, 17 Oct 2013 10:16:24 -0700, Roy Smith wrote: On Thursday, October 17, 2013 11:07:48 AM UTC-4, Chris

strange array size problem

2013-10-18 Thread chip9munk
Hello everybody! One strange problem, please help! I have the following 2D array: users_elements_matrix numpy.shape(users_elements_matrix) is (100,43) and array merged_binary_ratings numpy.shape(merged_binary_ratings) is (100,) Now,when I run: numpy.linalg.lstsq(users_elements_matrix,

Receiving 'NAMEERROR:name' when I try and execute my code in DEBUG mode

2013-10-18 Thread telconstar99
Hello, I'm writing a testing framework in Jython. My code executes successfully when I RUN my project, however, when I DEBUG my project I receive the following error SOURCE:NAMEERROR:name 'Load_Configurations' is not defined[NameError: name 'Load_Configurations' is not defined I'm new to

Re: strange array size problem

2013-10-18 Thread Robert Kern
On 2013-10-18 16:25, chip9m...@gmail.com wrote: Hello everybody! One strange problem, please help! I have the following 2D array: users_elements_matrix numpy.shape(users_elements_matrix) is (100,43) and array merged_binary_ratings numpy.shape(merged_binary_ratings) is (100,) Now,when I run:

Re: strange array size problem

2013-10-18 Thread chip9munk
one more thing. the problem is not in the last column, if I use it in regression (only that column, or with a few others) I will get the results. But if I use all 43 columns python breaks! whhh?!?!?! thanks! -- https://mail.python.org/mailman/listinfo/python-list

Re: strange array size problem

2013-10-18 Thread Oscar Benjamin
On 18 October 2013 16:36, chip9m...@gmail.com wrote: one more thing. the problem is not in the last column, if I use it in regression (only that column, or with a few others) I will get the results. But if I use all 43 columns python breaks! Have you tried testing the rank with

Re: strange array size problem

2013-10-18 Thread chip9munk
Interesting! rank of the whole minus last row numpy.linalg.matrix_rank(users_elements_matrix[:,0:42]) is 42 but also rank of whole is numpy.linalg.matrix_rank(users_elements_matrix[:,0:43]) is 42 but what does that mean?! could you explain briefly what now? thank you! On Friday, October 18,

Re: ANN: matplotlib 1.3.1

2013-10-18 Thread Piet van Oostrum
Michael Droettboom md...@stsci.edu writes: I'm pleased to announce the release of matplotlib version 1.3.1. This is a bugfix release. It may be downloaded from here, or installed through the package manager of your choice (when available): http://matplotlib.org/downloads It is not

Re: strange array size problem

2013-10-18 Thread chip9munk
On 18.10.2013 18:05, Oscar Benjamin wrote: It means that the additional column is a linear combination of the existing columns. This means that your system of equations can contain a contradiction. Essentially you're trying to get the least squares solution to something like: 3*x + y = 1 1*x +

Re: Receiving 'NAMEERROR:name' when I try and execute my code in DEBUG mode

2013-10-18 Thread John Gordon
In 311c58bc-a826-468f-8c37-cb53600d4...@googlegroups.com telconsta...@gmail.com writes: Hello, I'm writing a testing framework in Jython. My code executes successfully when I RUN my project, however, when I DEBUG my project I receive the following error SOURCE:NAMEERROR:name

Re: strange array size problem

2013-10-18 Thread Oscar Benjamin
On 18 October 2013 16:52, chip9m...@gmail.com wrote: Interesting! rank of the whole minus last row numpy.linalg.matrix_rank(users_elements_matrix[:,0:42]) is 42 but also rank of whole is numpy.linalg.matrix_rank(users_elements_matrix[:,0:43]) is 42 but what does that mean?! It means that

Re: strange array size problem

2013-10-18 Thread chip9munk
On Friday, October 18, 2013 5:37:14 PM UTC+2, Robert Kern wrote: The numpy-discussion mailing list is probably the best place to ask. I recommend posting a complete working example (with data) that demonstrates the problem. Use pastebin.com or a similar service if necessary.

Re: Multiprocessing: killing children when parent dies

2013-10-18 Thread John Ladasky
What a lovely thread title! And just in time for Halloween! :^) -- https://mail.python.org/mailman/listinfo/python-list

Changing the terminal title bar with Python

2013-10-18 Thread Steven D'Aprano
You might find this useful, or just for fun, but on POSIX systems (Linux, Unix, Apple Mac, but not Windows) you can change the title of the terminal window from Python. Not all terminals support this feature, but those which emulate an xterm do. import os GOOD_TERMINALS = [xterm] def

Re: Weird problem with UDP and gevent

2013-10-18 Thread James Harris
Roy Smith r...@panix.com wrote in message news:l3riea$82$1...@panix2.panix.com... I'm running: Ubuntu Precise Python 2.7.3 django 1.4.5 gunicorn 0.17.4 gevent 1.0dev (rc3) I haven't been able to pin this down exactly, but it looks like if I do (inside of a custom logging.Handler

Re: Receiving 'NAMEERROR:name' when I try and execute my code in DEBUG mode

2013-10-18 Thread telconstar99
Hey John, Thanks for the response. I really don't know why I didn't think about that. I decided to add the following statement: print root When I RUN, this is what I get: C:\My Documents\Netbeans\Mytests When I debug, this is what I get: C:\Program Files Having these two directories as

Re: ANN: matplotlib 1.3.1

2013-10-18 Thread Ned Deily
In article m2zjq6mugp@cochabamba.vanoostrum.org, Piet van Oostrum p...@vanoostrum.org wrote: I tried to install it from source, on Mac OS X 10.6.8, with Python 3.3.2, and Tck/Tk 8.5 installed as Frameworks, but I get an error during compilation. It seems it doesn't find the Tcl/TK

Re: Receiving 'NAMEERROR:name' when I try and execute my code in DEBUG mode

2013-10-18 Thread Steven D'Aprano
On Fri, 18 Oct 2013 10:02:59 -0700, telconstar99 wrote: Any thoughts on how to detect the runtime CWD? import os os.getcwd() -- Steven -- https://mail.python.org/mailman/listinfo/python-list

Re: Receiving 'NAMEERROR:name' when I try and execute my code in DEBUG mode

2013-10-18 Thread Dave Angel
On 18/10/2013 13:02, telconsta...@gmail.com wrote: Hey John, Thanks for the response. I really don't know why I didn't think about that. I decided to add the following statement: print root When I RUN, this is what I get: C:\My Documents\Netbeans\Mytests When I debug, this is what I

Re: Weird problem with UDP and gevent

2013-10-18 Thread Roy Smith
On Friday, October 18, 2013 1:04:38 PM UTC-4, James Harris wrote: Those are two different things. You would normally use connect() on a SOCK_STREAM socket. It requires that the remote endpoint, in this case localhost:9700, has an open socket listening for connections. sendto() is the right

Re: Python package statistics

2013-10-18 Thread Terry Reedy
On 10/18/2013 8:41 AM, Yaşar Arabacı wrote: Hi people, I collected some data on PyPI and published some statistics about packages on PyPI. I think you might find it an interesting read: http://ysar.net/python/python-package-statistics.html b2gpopulate (36MB) ... Total sizes on packages in

Re: Multiprocessing: killing children when parent dies

2013-10-18 Thread Ricardo Aráoz
El 18/10/13 13:18, John Ladasky escribió: What a lovely thread title! And just in time for Halloween! :^) LOL Couldn't that be construed as sexism? Next we'll have a new long moronic thread about sexism and discrimination in mail subjects. Which will, as usual, leave a lot of satisfied

Re: Multiprocessing: killing children when parent dies

2013-10-18 Thread Terry Reedy
On 10/18/2013 8:52 AM, Марк Коренберг wrote: import prctl This is not a stdlib module. prct.set_pdeathsig(.) if os.getppid() == 1: raise AlreadyDead() What is your point? Your signature said Segmentation fault If you meant that the above code segfaults, then there is a bug in

Re: ANN: matplotlib 1.3.1

2013-10-18 Thread Nelle Varoquaux
I've mentioned on the matplotlib mailing list that 1.3.1 is missing from pypi. For installation problems, you'll have more luck on the matplotlib mailing list than here: it seems you may have some dependencies problem, but I'm really not competent enough to help you with that. Cheers, On 18

Re: Changing the terminal title bar with Python

2013-10-18 Thread dickey
On Friday, October 18, 2013 12:46:19 PM UTC-4, Steven D'Aprano wrote: xterms used to have a feature where they would write the title back to standard input. Unfortunately, it has been disabled for security reasons, so I haven't been able to get this to work (not that I tried very hard...),

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-18 Thread Peter Cacioppi
I think the author goes a little too far to claim that strong weak are meaningless terms when it comes to type systems I can live with that, actually. The important language classifications are more along the lines of static vs. dynamic typing, procedural vs. functional, no objects vs. object

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-18 Thread Mark Lawrence
On 18/10/2013 21:32, Peter Cacioppi wrote: I think the author goes a little too far to claim that strong weak are meaningless terms when it comes to type systems I can live with that, actually. The important language classifications are more along the lines of static vs. dynamic typing,

Looking for UNICODE to ASCII Conversioni Example Code

2013-10-18 Thread caldwellinva
Hi! I am looking for an example of a UNICODE to ASCII conversion example that will remove diacritics from characters (and leave the characters, i.e., Klüft to Kluft) as well as handle the conversion of other characters, like große to grosse. There used to be a program called any2ascii.py

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-18 Thread Peter Cacioppi
give me practicality beats purity any day of the week :) Without some notion of theory you will end up with php instead of python (see how I looped the thread back around on track ... you're welcome). If you think php is no worse than python for building reliable, readable code bases than

Re: Looking for UNICODE to ASCII Conversioni Example Code

2013-10-18 Thread Zero Piraeus
: On Fri, Oct 18, 2013 at 01:45:53PM -0700, caldwelli...@gmail.com wrote: I am looking for an example of a UNICODE to ASCII conversion example that will remove diacritics from characters (and leave the characters, i.e., Klüft to Kluft) as well as handle the conversion of other characters,

xtopdf, a Python toolkit for PDF creation from other file formats

2013-10-18 Thread vasudevram
Hi list, xtopdf is not new. I first created it some years ago. And have been updating it with new features and capabilities now and then. But I realized that there was no central place where its features and uses were described. So I created an online presentation about xtopdf, using

Re: finding data from two different files.

2013-10-18 Thread Jim Gibson
In article mailman.1193.1382062311.18130.python-l...@python.org, torque.in...@gmail.com wrote: Hi all, I am new to python, just was looking for logic to understand to write code in the below scenario. I am having a file (filea) with multiple columns, and another file(fileb) with again

Re: Python package statistics

2013-10-18 Thread Yaşar Arabacı
Hi Terry, Thanks for pointing it out.matplotlib's hist function wasn't broken after all :) I published non-parametric statistics here: http://ysar.net/python/python-package-statistics-additions.html 2013/10/18 Terry Reedy tjre...@udel.edu: On 10/18/2013 8:41 AM, Yaşar Arabacı wrote: Hi

Re: Inter-process locking

2013-10-18 Thread Jason Friedman
There is one caveat, however. If a process that has the lock crashes without releasing the lock, the lock file will stay around and prevent other processes to acquire it. Then you will have to manually remove it. I generally prefer a solution where the pid of the locking process is written

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-18 Thread rusi
On Saturday, October 19, 2013 2:02:24 AM UTC+5:30, Peter Cacioppi wrote: I still say that object-based is a distinct and meaningful subset of object-oriented programming. Yes that is what is asserted by http://www-public.int-evry.fr/~gibson/Teaching/CSC7322/ReadingMaterial/Wegner87.pdf -- a

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-18 Thread Chris Angelico
On Sat, Oct 19, 2013 at 4:26 PM, rusi rustompm...@gmail.com wrote: 3 examples were given (1) python's C implementation (2) OS/2 (3) Linux kernel About 2 I dont know anything though I believe gdk and gobject are more contemporary examples. Good point, I believe you're right there. I haven't

[issue16612] Integrate Argument Clinic into CPython trunk

2013-10-18 Thread Larry Hastings
Larry Hastings added the comment: Spelling corrections from Arfrever (thanks Arfrever!), and some eentsy teensy weentsy bugfixes from me. And with a dramatic new patch number just so everybody can keep it straight. -- title: Integrate Argument Clinic specialized preprocessor into

[issue5411] Add xz support to shutil

2013-10-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file27723/shutil-lzma_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5411 ___

[issue5411] Add xz support to shutil

2013-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Serhiy's patch needs a versionchanged or versionadded tag in the Docs. Done. -- Added file: http://bugs.python.org/file32163/shutil-lzma_3.patch ___ Python tracker rep...@bugs.python.org

[issue1575020] Request wave support 16 bit samples

2013-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Actually 24-bit samples are supported only on little-endian platforms (see issue19276). Here is simple patch which makes them supported on big-endian too. -- keywords: +patch resolution: out of date - stage: committed/rejected - patch review status:

[issue10976] json.loads() raises TypeError on bytes object

2013-10-18 Thread Nick Guenther
Changes by Nick Guenther n...@kousu.ca: -- nosy: +kousu ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10976 ___ ___ Python-bugs-list mailing list

[issue1575020] Request wave support 16 bit samples

2013-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And supporting the feature only on some platforms (without good reasons) is a bug. -- type: enhancement - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1575020

[issue19030] inspect.getmembers and inspect.classify_class_attrs mishandle descriptors

2013-10-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 39b06c3fbe2e by Ethan Furman in branch 'default': Close #19030: inspect.getmembers and inspect.classify_class_attrs http://hg.python.org/cpython/rev/39b06c3fbe2e -- resolution: - fixed stage: patch review - committed/rejected status: open

[issue10614] ZipFile: add a filename_encoding argument

2013-10-18 Thread Sergey Dorofeev
Sergey Dorofeev added the comment: I'd like to submit patch to support zip archives created on systems that use non-US codepage (e.g. russian CP866). Codepage would be specified in additional parameter of ZipFile constructor, named codepage. If it is not specified, old behavior is preserved

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-18 Thread koobs
koobs added the comment: There are 5 unique test failures that have come up in the koobs-freebsd* buildbots post the test_asyncio import. Would we prefer to create a meta issue to track them, or put them here? -- nosy: +koobs ___ Python tracker

[issue16938] pydoc confused by __dir__

2013-10-18 Thread Ethan Furman
Ethan Furman added the comment: This has been fixed in #19030: every good object will have a home class; non-good objects (the result of buggy __dir__, __getattribute__, or __getattr__ methods) will not be returned and so cannot confuse pydoc. -- resolution: - fixed stage: -

[issue19281] add __objclass__ to the docs

2013-10-18 Thread Ethan Furman
New submission from Ethan Furman: Currently __objclass__ is only documented in a ten-year old PEP. -- messages: 200190 nosy: eric.araujo, ethan.furman, ezio.melotti, georg.brandl priority: normal severity: normal status: open title: add __objclass__ to the docs

[issue19272] Can't pickle lambda (while named functions are ok)

2013-10-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset d103ba56710e by Ethan Furman in branch 'default': Issue #19272: slight clarification of pickle docs with regard to lambda. http://hg.python.org/cpython/rev/d103ba56710e -- nosy: +python-dev ___ Python

[issue10614] ZipFile: add a filename_encoding argument

2013-10-18 Thread STINNER Victor
STINNER Victor added the comment: Please rename codepage to encoding. By the way, 437 is a codepage, cp437 is a (python) encoding. I don't think that ZIP is limited to windows. I uncompressed zip files many times on various OSes, github also produces zip (and github is probably not using

[issue19282] dbm is not a context manager

2013-10-18 Thread Nick Guenther
New submission from Nick Guenther: This code doesn't work. I think it should. import dbm with dbm.open(what is box.db, c) as db: db[Bpoind] = Boing Indeed, there is nothing supporting PEP 343 for dbm on my system: [kousu@galleon ~]$ grep -r __exit__ /usr/lib/python3.3/dbm

[issue19030] inspect.getmembers and inspect.classify_class_attrs mishandle descriptors

2013-10-18 Thread koobs
Changes by koobs koobs.free...@gmail.com: Added file: http://bugs.python.org/file32166/koobs-freebsd10-amd64-py3x-build588.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19030 ___

[issue19030] inspect.getmembers and inspect.classify_class_attrs mishandle descriptors

2013-10-18 Thread koobs
koobs added the comment: Multiple test_pydoc failures found on koobs-freebsd* buildbots after 39b06c3fbe2e6ef78a540513d4b81f2d095d1e62 Attaching complete logs from both bots to this issue, will reference #16938 as well -- nosy: +koobs Added file:

[issue19272] Can't pickle lambda (while named functions are ok)

2013-10-18 Thread Ethan Furman
Ethan Furman added the comment: Added some clarification to the docs to make it clearer that lambda functions cannot be pickled. Facundo [1], if you want to pursue being able to pickle lambda functions please open an enhancement issue. Some of the questions that come to mind: 1) for a

[issue17576] PyNumber_Index() is not int-subclass friendly (or operator.index() docos lie)

2013-10-18 Thread Mark Dickinson
Mark Dickinson added the comment: I still need to act on some of Serhiy's comments. I do plan to get this in for 3.4. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17576 ___

[issue16938] pydoc confused by __dir__

2013-10-18 Thread koobs
koobs added the comment: Some test failures have cropped, I have attached buildbot logs and referenced them in #19030 -- nosy: +koobs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16938 ___

[issue19030] inspect.getmembers and inspect.classify_class_attrs mishandle descriptors

2013-10-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 02c9d26d231f by Ethan Furman in branch 'default': Issue #19030: special-cased __dict__ as the actual dict is not returned, a proxy is. http://hg.python.org/cpython/rev/02c9d26d231f -- ___ Python

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-18 Thread koobs
Changes by koobs koobs.free...@gmail.com: Added file: http://bugs.python.org/file32199/koobs-freebsd9-py3x-build180.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19262 ___

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-18 Thread koobs
koobs added the comment: Summary of 4 test failures below, will attach the complete buildbot logs for detail. == FAIL: test_call_later (test.test_asyncio.test_events.SelectEventLoopTests)

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-18 Thread koobs
Changes by koobs koobs.free...@gmail.com: Added file: http://bugs.python.org/file32200/koobs-freebsd9-py3x-build182.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19262 ___

[issue19282] dbm is not a context manager

2013-10-18 Thread Claudiu.Popa
Claudiu.Popa added the comment: Working on a patch for this. -- nosy: +Claudiu.Popa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19282 ___ ___

[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

2013-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Changed the documentation as was discussed with Ezio on IRC. Ezio, do you want commit this patch? Feel free to reword the documentation if you are feeling be better. -- Added file: http://bugs.python.org/file32201/utf_16_32_surrogates_6.patch

[issue19282] dbm is not a context manager

2013-10-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- stage: - needs patch type: - enhancement versions: -Python 3.1, Python 3.2, Python 3.3, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19282

[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

2013-10-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file32201/utf_16_32_surrogates_6.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12892 ___

[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

2013-10-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file32202/utf_16_32_surrogates_6.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12892 ___

[issue15237] Add capsule API to _decimal

2013-10-18 Thread Stefan Krah
Stefan Krah added the comment: I believe you, but I'd like to understand why. :) It seems to me that a module and also PyInit_xxx() can be loaded portably. Say the handles to the module are cached somewhere after loading and initializing. I think this already happens in Python/dynload_shlib.c.

[issue19262] Add asyncio (tulip, PEP 3156) to stdlib

2013-10-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: == FAIL: test_call_later (test.test_asyncio.test_events.SelectEventLoopTests) -- Traceback (most recent call last):

[issue15237] Add capsule API to _decimal

2013-10-18 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 18.10.2013 11:39, Stefan Krah wrote: Stefan Krah added the comment: I believe you, but I'd like to understand why. :) :-) It seems to me that a module and also PyInit_xxx() can be loaded portably. Say the handles to the module are cached

[issue18777] Cannot compile _ssl.c using openssl 1.0

2013-10-18 Thread Stefan Krah
Stefan Krah added the comment: The hpux bot fails at the compile stage: http://buildbot.python.org/all/builders/IA64%20HP-UX%2011iv3%20%5BSB%5D%203.x/builds/2152/steps/compile/logs/stdio ld -b

[issue19283] Need support to avoid Windows CRT compatibility issue.

2013-10-18 Thread Debarshi Goswami
New submission from Debarshi Goswami: Some support is needed to avoid compatibility issues in different version of CRT in Windows. I have an application which embeds Python interpreter and the application is build on MSVC11, whereas I am using Python 3.3.2 which is build on MSVC10. I know

[issue19283] Need support to avoid Windows CRT compatibility issue.

2013-10-18 Thread Debarshi Goswami
Debarshi Goswami added the comment: If any workaround is available. It is also fine. -- type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19283 ___

[issue19283] Need support to avoid Windows CRT compatibility issue.

2013-10-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: The easy answer is: don't execute a script, import a module instead (and either do something at that module's top-level, or execute a function inside the module). Also, as for ABI issues, take a look at: http://docs.python.org/3.3/c-api/stable.html

[issue19279] UTF-7 to UTF-8 decoding crash

2013-10-18 Thread Piotr Dobrogost
Changes by Piotr Dobrogost p...@bugs.python.dobrogost.net: -- nosy: +piotr.dobrogost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19279 ___ ___

[issue19282] dbm is not a context manager

2013-10-18 Thread Claudiu.Popa
Claudiu.Popa added the comment: Here's a patch. -- keywords: +patch Added file: http://bugs.python.org/file32203/dbm.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19282 ___

[issue19283] Need support to avoid Windows CRT compatibility issue.

2013-10-18 Thread Debarshi Goswami
Debarshi Goswami added the comment: My question is, even a FILE* of MSVC10 type is provided, why these APIs are crashing, after all it expects MSVC10 type. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19283

[issue13405] Add DTrace probes

2013-10-18 Thread koobs
Changes by koobs koobs.free...@gmail.com: -- nosy: +koobs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list mailing

[issue13405] Add DTrace probes

2013-10-18 Thread koobs
koobs added the comment: Marc, you just reminded me I need to ask antoine to re-create the custom DTrace builder that passes --with-dtrace, thanks :) I've been keeping both of the FreeBSD (9.x and 10.x) buildslaves as close to HEAD as possible with frequent world updates, which have been

[issue19284] subprocess._args_from_interpreter_flags() mishandles -R

2013-10-18 Thread Nick Coghlan
New submission from Nick Coghlan: Trying to provoke the buildbot failure from issue 16129 I was puzzled as to why setting PYTHONHASHSEED was behaving strangely. The subprocess._args_from_interpreter_flags() helper used by test.support (and multiprocessing) misbehaves when PYTHONHASHSEED is

[issue19284] subprocess._args_from_interpreter_flags() mishandles -R

2013-10-18 Thread Nick Coghlan
Nick Coghlan added the comment: I'll deal with this as part of getting issue 16129 sorted out. -- assignee: - ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19284 ___

[issue19284] subprocess._args_from_interpreter_flags() mishandles -R

2013-10-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0ba7280545fe by Nick Coghlan in branch 'default': Close #19284: Handle -R properly in flag helper http://hg.python.org/cpython/rev/0ba7280545fe -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open - closed

  1   2   3   >