SQLObject 1.7.3

2014-12-18 Thread Oleg Broytman
Hello! I'm pleased to announce version 1.7.3, a release with minor documentation update of branch 1.7 of SQLObject. What's new in SQLObject === * Extend setup.py: include docs and tests into the egg. For a more complete list, please see the news:

PyGILState API and Py_Main

2014-12-18 Thread Adrien Bruneton
Hello all, I am having a hard time understanding what is the proper use of PyGILState_Ensure/Release. My understanding is that one should always be matched with the other, and that this high level API auto-magically deals with the ThreadState creation. However the following piece of code

how to generate a wsdl file for a web service in python

2014-12-18 Thread brice DORA
hi to all I am new to python and as part of my project I would like to create a SOAP web service. for now I've developed my python file with all the methods of my future web service, but my problem now is how to generate the wsdl file ... my concern may seem to move so bear with me because I am

Re: Classes - delegation question.

2014-12-18 Thread Steven D'Aprano
dieter wrote: Ivan Evstegneev webmailgro...@gmail.com writes: I have a question about delegation coding pattern(I'm working with Python 3.4). Unlike Java, Python supports multiple inheritance. This means that you need delegation much more rarely in Python. Python does not have much

Re: PyQt: user interface freezed when using concurrent.futures.ThreadPoolExecutor

2014-12-18 Thread Mark Summerfield
On Thursday, December 11, 2014 4:53:04 AM UTC, iMath wrote: I think the user interface shouldn't be freezed when using concurrent.futures.ThreadPoolExecutor here,as it executes asynchronously , but it doesn't meet my expectations,anyone can explain why ? any other solutions here to not let

Re: how to generate a wsdl file for a web service in python

2014-12-18 Thread Burak Arslan
On 12/18/14 11:58, brice DORA wrote: hi to all I am new to python and as part of my project I would like to create a SOAP web service. for now I've developed my python file with all the methods of my future web service, but my problem now is how to generate the wsdl file ... my concern may

Re: Please help - Python role in Emeryville, CA - Full-time - $100K+

2014-12-18 Thread David H. Lipman
It depends on if this a Job Posting, specific to Python, is allowed and not considered spam. -- https://mail.python.org/mailman/listinfo/python-list

Re: Is there a way to schedule my script?

2014-12-18 Thread Juan Christian
On Wed Dec 17 2014 at 11:04:16 PM Juan Christian juan0christ...@gmail.com wrote: Thanks. That was a great answer. I'll redo my code. It's running and will only run in my Docker container (Ubuntu Server 14.04.1) so I'll use cron. Indeed, currently I'm using something like that: while True: if 9

Re: Python console rejects an object reference, having made an object with that reference as its name in previous line

2014-12-18 Thread Simon Evans
@Steven D'Aprano, I input the following to Python 2.7, which got the following:- from bs4 import BeautifulSoup with open(ecologicalpyramid.html,r) as ecological_pyramid: ... soup= next(ecological_pyramid,lxml) ...

Re: Is there a way to schedule my script?

2014-12-18 Thread Ian Kelly
On Thu, Dec 18, 2014 at 5:37 AM, Juan Christian juan0christ...@gmail.com wrote: I read the cron doc, it's really simple to use, but one think I didn't see out-of-the-box is a way to set a random time, like 'execute this in a 5~10 min interval', I can only set specific times like 'execute this

Re: PyQt: user interface freezed when using concurrent.futures.ThreadPoolExecutor

2014-12-18 Thread Michael Torrie
On 12/18/2014 04:16 AM, Mark Summerfield wrote: It looks to me that what you are doing is sharing a single core between your GUI and your processing. Threading isn't usually a good approach to Python concurrency that is CPU-bound. Except that his code was not CPU-bound to begin with. His real

Re: Python console rejects an object reference, having made an object with that reference as its name in previous line

2014-12-18 Thread Michael Torrie
On 12/18/2014 09:19 AM, Simon Evans wrote: @Steven D'Aprano, I input the following to Python 2.7, which got the following:- from bs4 import BeautifulSoup with open(ecologicalpyramid.html,r) as ecological_pyramid:

Re: Is there a way to schedule my script?

2014-12-18 Thread Michael Torrie
On 12/17/2014 01:42 PM, Juan Christian wrote: On Wed Dec 17 2014 at 6:25:39 PM John Gordon gor...@panix.com wrote: If you want to solve your problem entirely within Python, look at the scheduler module. (Although even this isn't a complete solution, as you still have to make sure the program

Re: Is there a way to schedule my script?

2014-12-18 Thread Josh English
On Wednesday, December 17, 2014 11:11:11 AM UTC-8, Juan Christian wrote: I know about the schedule modules and such but they work in situations like 'run this in a X hours/minutes/seconds interval', I already have my code in a while loop with sleep (it's a bit ugly, I'l change to a scheduler

SQLObject 1.7.3

2014-12-18 Thread Oleg Broytman
Hello! I'm pleased to announce version 1.7.3, a release with minor documentation update of branch 1.7 of SQLObject. What's new in SQLObject === * Extend setup.py: include docs and tests into the egg. For a more complete list, please see the news:

problems with Methods in Python 3.4.2

2014-12-18 Thread Marcus Lütolf
Hello Dears, 1)I am trying to do this: dir(_builtins_) I am getting this: Traceback (most recent call last): File pyshell#0, line 1, in module dir(_builtins_) NameError: name '_builtins_' is not defined 2)I am trying to do this: 'TTA',_add_('GGA') I’am getting this :

Re: problems with Methods in Python 3.4.2

2014-12-18 Thread André Roberge
On Thursday, 18 December 2014 13:28:33 UTC-4, Marcus Lütolf wrote: Hello Dears, 1)I am trying to do this: dir(_builtins_) You need two underscore characters on each sides: dir(__builtins__) I am getting this: Traceback (most recent call last): File pyshell#0, line 1, in module

Re: problems with Methods in Python 3.4.2

2014-12-18 Thread Gary Herron
On 12/18/2014 09:27 AM, Marcus Lütolf wrote: Hello Dears, 1)I am trying to do this: dir(_builtins_) It's __builtins__ not _builtins_ (double underscores at each end not single underscores) I am getting this: Traceback (most recent call last): File pyshell#0, line 1, in module

Re: Is there a way to schedule my script?

2014-12-18 Thread Juan Christian
Thanks, using cron here. -- https://mail.python.org/mailman/listinfo/python-list

Re: problems with Methods in Python 3.4.2

2014-12-18 Thread John Gordon
In mailman.17037.1418923700.18130.python-l...@python.org =?iso-8859-1?Q?Marcus_L=FCtolf?= marcus.luet...@bluewin.ch writes: dir(_builtins_) 'TTA',_add_('GGA') abs._doc_() These errors are due to using single underscores instead of double underscores. I.e. use __builtins__ instead of

Re: problems with Methods in Python 3.4.2

2014-12-18 Thread Terry Reedy
On 12/18/2014 12:27 PM, Marcus Lütolf wrote: Learn to use dir to fine valid names. 1)I am trying to do this: dir(_builtins_) I am getting this: Traceback (most recent call last): File pyshell#0, line 1, in module dir(_builtins_) NameError: name '_builtins_' is not defined dir()

Re: Creating interactive command-line Python app?

2014-12-18 Thread Anssi Saari
rfreundlic...@colonial.net writes: um, what if I want to USE a command line for python WITHOUT downloading or installing it Then click on the little _ icon on the web site and you have a python prompt in your browser. -- https://mail.python.org/mailman/listinfo/python-list

Re: Is there a way to schedule my script?

2014-12-18 Thread Juan Christian
On Thu Dec 18 2014 at 2:24:46 PM Ian Kelly ian.g.ke...@gmail.com wrote: What kind of random distribution of the time between executions are you looking for? A random sleep lends itself easily to a uniform distribution. The latter approach that you describe would result in a geometric distribution.

Re: Creating interactive command-line Python app?

2014-12-18 Thread sohcahtoa82
On Saturday, December 13, 2014 6:50:50 AM UTC-8, Steven D'Aprano wrote: rfreundlic...@colonial.net wrote: um, what if I want to USE a command line for python WITHOUT downloading or installing it Who are you talking to? What is the context? Like all software, you can't use Python

Re: Please help - Python role in Emeryville, CA - Full-time - $100K+

2014-12-18 Thread me
On Thu, 18 Dec 2014 00:08:18 +, Jared E. Cardon wrote: Hi, I found your Python group on Google+ and I'm searching for someone with 3+ years of Python development experience for a full-time position in California. Salary north of $100K and working for an amazing company. Ideally I'd

Re: Is there a way to schedule my script?

2014-12-18 Thread Chris Angelico
On Fri, Dec 19, 2014 at 9:13 AM, Juan Christian juan0christ...@gmail.com wrote: Let's say I execute the script now, then in 5~10 min I'll execute again, this time can be 5, 6, ... 10 minutes, this script pretends to do 'human actions' so I can't be doing these 'actions' with a specific and

Re: Is there a way to schedule my script?

2014-12-18 Thread Juan Christian
On Thu Dec 18 2014 at 11:35:11 PM Chris Angelico ros...@gmail.com wrote: Why does this matter to you? Why am I getting the feeling that I should not be helping you? Because that's what my project is all about, I need to fake some 'human actions' inside the network to do some benchmarks and test

newbie: installing setuptools

2014-12-18 Thread Surbhi Gupta
Hey, I am new to python and facing problem with installing packages. I am using VPython which requires Python 2.7.x from python.org; it will not work with versions of Python other than the one from python.org. So I need to install packages separately. I was trying to install scipy-0.14.0, it

Google Maps and Python: creating a map, embedding it, adding images, videos, markers, using python

2014-12-18 Thread Veek M
I'm messing with Google-Maps. Is there a way I can create a map, embed it on a page (CSS/HTML/Javascript for this bit), and add images, videos, markers - using python? Any libraries available? -- https://mail.python.org/mailman/listinfo/python-list

Re: Is there a way to schedule my script?

2014-12-18 Thread Terry Reedy
On 12/18/2014 8:55 PM, Juan Christian wrote: On Thu Dec 18 2014 at 11:35:11 PM Chris Angelico ros...@gmail.com mailto:ros...@gmail.com wrote: Why does this matter to you? Why am I getting the feeling that I should not be helping you? Because that's what my project is all about, I need to fake

Re: Google Maps and Python: creating a map, embedding it, adding images, videos, markers, using python

2014-12-18 Thread Kev Dwyer
Veek M wrote: I'm messing with Google-Maps. Is there a way I can create a map, embed it on a page (CSS/HTML/Javascript for this bit), and add images, videos, markers - using python? Any libraries available? Hello, Googling for google maps python client returns

Re: newbie: installing setuptools

2014-12-18 Thread Surbhi Gupta
On Friday, December 19, 2014 10:13:15 AM UTC+5:30, Surbhi Gupta wrote: Hey, I am new to python and facing problem with installing packages. I am using VPython which requires Python 2.7.x from python.org; it will not work with versions of Python other than the one from python.org. So I need to

[issue21071] struct.Struct.format is bytes, but should be str

2014-12-18 Thread STINNER Victor
STINNER Victor added the comment: Is it safe to assume PyUnicode_AsUTF8() is null-terminated? Yes, Python ensures that the string is null terminated. (like PyBytes_AS_STRING() is) Yes, PyBytes_AS_STRING() also ends with a null byte. By the way, Unicode strings internally ends with a null

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2014-12-18 Thread Kevin Benton
New submission from Kevin Benton: If one of the mock.patch methods is used with autospec=True on a staticmethod in an object, the mock library determines that it is not callable by checking for the __call__ attribute. This results in a NonCallableMagicMock being returned which of course dies

[issue23057] asyncio loop on Windows should stop on keyboard interrupt

2014-12-18 Thread Kimmo Parviainen-Jalanko
Kimmo Parviainen-Jalanko added the comment: Seems to happen on FreeBSD 10.1 as well with 3.4.2 -- nosy: +Kimmo.Parviainen-Jalanko ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23057 ___

[issue23057] asyncio loop on Windows should stop on keyboard interrupt

2014-12-18 Thread STINNER Victor
STINNER Victor added the comment: Seems to happen on FreeBSD 10.1 as well with 3.4.2 FreeBSD uses a completly different implementation. Please open a new issue, describe your problem and write a script reproducing your issue. -- ___ Python tracker

[issue23071] codecs.__all__ incomplete

2014-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23071 ___ ___ Python-bugs-list mailing list

[issue21071] struct.Struct.format is bytes, but should be str

2014-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think breaking the compatibility should be discussed on Python-Dev. Similar issue (and even worse) is issue8934. -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org

[issue23071] codecs.__all__ incomplete

2014-12-18 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: +1 -- nosy: +lemburg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23071 ___ ___ Python-bugs-list mailing

[issue21697] shutil.copytree() handles symbolic directory incorrectly

2014-12-18 Thread Björn Dahlgren
Björn Dahlgren added the comment: I ran across this bug too. Applying Eduardo's patch got my package working under Py 3.4 -- nosy: +Björn.Dahlgren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21697

[issue23079] os.path.normcase documentation confusing

2014-12-18 Thread Chris Jerdonek
New submission from Chris Jerdonek: The documentation for os.path.normcase(path) is currently confusing or self-contradictory. Currently, it reads-- Normalize the case of a pathname. On Unix and Mac OS X, this returns the path unchanged; on case-insensitive filesystems, it converts the path

[issue23079] os.path.normcase documentation confusing

2014-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: s/on case-insensitive filesystems/on Windows/ ? -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23079 ___

[issue23079] os.path.normcase documentation confusing

2014-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: ... and OS/2 (in 2.7). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23079 ___ ___ Python-bugs-list mailing

[issue23080] BoundArguments.arguments should be unordered

2014-12-18 Thread Antony Lee
New submission from Antony Lee: This patch makes BoundArguments.arguments an unordered dict. As discussed on python-ideas, the rationale for this is 1. The current ordering in ba.arguments is the one of the parameters in the signature (which is already available via the ba.signature

[issue23081] Document PySequence_List(o) as equivalent to list(o)

2014-12-18 Thread Lars Buitinck
New submission from Lars Buitinck: PySequence_List has accepted iterables since changeset 6c82277e77f3 of May 1, 2001 (NEEDS DOC CHANGES :), but its documentation still only speaks of sequences. I suggest that it is changed to promise to handle arbitrary iterables, just like PySequence_Tuple.

[issue23082] pathlib relative_to() can give confusing error message

2014-12-18 Thread Chris Jerdonek
New submission from Chris Jerdonek: pathlib's relative_to(other) can give a confusing message when other is os.curdir. For example-- Python 3.4.2 (default, Nov 12 2014, 18:23:59) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)] on darwin Type help, copyright, credits or

[issue23082] pathlib relative_to() can give confusing error message

2014-12-18 Thread Chris Jerdonek
Chris Jerdonek added the comment: By the way, here is another (less) confusing error message: Path(foo).relative_to(fo) Traceback (most recent call last): File stdin, line 1, in module File

[issue19918] PureWindowsPath.relative_to() is not case insensitive

2014-12-18 Thread Chris Jerdonek
Chris Jerdonek added the comment: Was this also fixed for Mac OS X? Mac OS X is also case-insensitive by default, and on Python 3.4.2 I'm getting: Path(Foo).relative_to(foo) Traceback (most recent call last): File stdin, line 1, in module File

[issue23079] os.path.normcase documentation confusing

2014-12-18 Thread R. David Murray
R. David Murray added the comment: Or would s/case-insensitive/not case-preserving/ be more accurate? (Well, you'd probably rewrite the sentence to eliminate the 'not'). -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org

[issue21071] struct.Struct.format is bytes, but should be str

2014-12-18 Thread R. David Murray
R. David Murray added the comment: A backward compatibility break would certainly need to be discussed, IMO. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21071 ___

[issue23079] os.path.normcase documentation confusing

2014-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Or would s/case-insensitive/not case-preserving/ be more accurate? (Well, you'd probably rewrite the sentence to eliminate the 'not'). This would not be more accurate because behavior depends from OS, not from file system. On Unix/Linux your can mount

[issue19918] PureWindowsPath.relative_to() is not case insensitive

2014-12-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: pathlib is case-sensitive under OS X (under any non-Windows platform actually). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19918 ___

[issue23083] sys.exit with bool parameter

2014-12-18 Thread Polux Moon
New submission from Polux Moon: when using a bool as parameter implementation (2.7) behave like: sys.exit(True) = sys.exit(1) sys.exit(False) = sys.exit(0) so the bool indicate if the termination is abnormal following the doc it should be equivalent to sys.exit(1) in all cases if we assume the

[issue23083] sys.exit with bool parameter

2014-12-18 Thread R. David Murray
R. David Murray added the comment: issubclass(bool, int) True True == 1 True [41846 refs] False == 0 True This is fundamental to Python, so it is not obvious that it is a good idea to mention bool explicitly in the sys.exit docs. Perhaps we could change it to say int (or an int subclass

[issue23083] sys.exit with bool parameter

2014-12-18 Thread Eric V. Smith
Eric V. Smith added the comment: I'm not sure this should be documented. It follows from int and bool equivalence. Plus, I consider it an anti-pattern. We don't want to document everywhere you can pass a bool where an int is called for. That's thousands of places. -- nosy:

[issue23083] sys.exit with bool parameter

2014-12-18 Thread R. David Murray
R. David Murray added the comment: Hmm. Good point about the anti-pattern. I agree that it is probably best to leave the docs as they are. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23083

[issue19104] pprint produces invalid output for long strings

2014-12-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +needs review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19104 ___ ___

[issue22896] Don't use PyObject_As*Buffer() functions

2014-12-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +needs review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22896 ___ ___

[issue23001] Accept mutable bytes-like objects

2014-12-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +needs review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23001 ___ ___

[issue6792] Distutils-based installer does not detect 64bit versions of Python

2014-12-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/issue6792 ___ ___

[issue22995] Restrict default pickleability

2014-12-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is sample patch which adds two restrictions. Default reduce method for protocol = 2 will forbid pickling objects: 1) When tp_new == NULL. 2) Builtins without any of pickle-related methods: __getnewargs_ex__, __getnewargs__ or __getstate__. Are there

[issue23083] sys.exit with bool parameter

2014-12-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: I agree that the docs are best as-is. -- nosy: +rhettinger resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23083

[issue22995] Restrict default pickleability

2014-12-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file37494/pickle_restrictions.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22995

[issue22113] memoryview and struct.pack_into

2014-12-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- keywords: +needs review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22113 ___ ___

[issue23084] nanosecond support

2014-12-18 Thread mdcb
New submission from mdcb: nanosecond support has been discussed at length on python-dev and issue 15443. POSIX.1b defines a struct timespec that is commonly used in C, and seems a good candidate to add core nanosecond support. kernel's time-related structs typically end up in the time module.

[issue23084] nanosecond support

2014-12-18 Thread mdcb
Changes by mdcb mdcb...@gmail.com: -- hgrepos: -289 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23084 ___ ___ Python-bugs-list mailing list

[issue23084] nanosecond support

2014-12-18 Thread Ethan Furman
Changes by Ethan Furman et...@stoneleaf.us: -- nosy: +belopolsky, ethan.furman, lemburg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23084 ___

[issue23085] update internal libffi copy to 3.1

2014-12-18 Thread Gustavo Temple
New submission from Gustavo Temple: Link to the file: https://github.com/gustavotemple/cpython/pull/2.diff Link to the changes: https://github.com/gustavotemple/cpython/pull/2/commits -- components: ctypes files: libffi.patch keywords: patch messages: 232890 nosy: doko, gustavotemple,

[issue23085] update internal libffi copy to 3.1

2014-12-18 Thread Matthias Klose
Matthias Klose added the comment: some issues: - the local change for Windows still needs upstream forwarding. Steve, any progress on this? - the libffi.diff is not updated (including Steve's changes) - this should be applied to 2.7 as well. -- nosy: +steve.dower, tim.golden,

[issue23085] update internal libffi copy to 3.2.1

2014-12-18 Thread Gustavo Temple
Changes by Gustavo Temple gustavo.pedr...@eldorado.org.br: -- title: update internal libffi copy to 3.1 - update internal libffi copy to 3.2.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23085

[issue23083] sys.exit with bool parameter

2014-12-18 Thread Eric V. Smith
Changes by Eric V. Smith e...@trueblade.com: -- stage: - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23083 ___ ___ Python-bugs-list

[issue23084] nanosecond support

2014-12-18 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: See also discussion in #9079, #14127 and #14180. At some point there was some resistance to use capsule mechanism to share code within stdlib and the functions that were shared between time and datetime modules were moved to the core. I am -1 on

[issue23085] update internal libffi copy to 3.2.1

2014-12-18 Thread Gustavo Temple
Gustavo Temple added the comment: @doko, sorry, but what are the Steve's changes? The issue #22733? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23085 ___

[issue23084] nanosecond support

2014-12-18 Thread Ethan Furman
Ethan Furman added the comment: I haven't reviewed the patch yet, but I believe the intent is not for better sleep support, but simply to be able to create and record time data which contains nano-seconds. python-dev discussion here:

[issue23084] nanosecond support

2014-12-18 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: .. the intent is not for better sleep support, but simply to be able to create and record time data which contains nano-seconds. Can you describe a specific use-case? What's the advantage of the proposed time.struct_timespec over say timespec =

[issue23084] nanosecond support

2014-12-18 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: time() could be used to produce them How? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23084 ___ ___

[issue23085] update internal libffi copy to 3.2.1

2014-12-18 Thread Steve Dower
Steve Dower added the comment: I think Matthias is referring to #20160, but as far as I could tell libffi is multiple versions ahead of the version in Python and already has the fixes. I was told to wait for it to be submitted/accepted upstream, so I've been waiting :) --

[issue21236] patch to use cabinet.lib instead of fci.lib (fixes build with Windows SDK 8.0)

2014-12-18 Thread Steve Dower
Steve Dower added the comment: This was fixed with #22919. -- resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21236 ___

[issue23085] update internal libffi copy to 3.2.1

2014-12-18 Thread Matthias Klose
Matthias Klose added the comment: you should actively drive upstream integration, and ping patches if they are not addressed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23085 ___

[issue23085] update internal libffi copy to 3.2.1

2014-12-18 Thread Steve Dower
Steve Dower added the comment: As I mentioned on the other post, libffi's current version bears no relation to what we have in CPython, so the patches don't apply. I'm not planning on rewriting CPython patches so that they will apply to libffi, nor do I intend to replace our current version

[issue22038] Implement atomic operations on non-x86 platforms

2014-12-18 Thread Gustavo Temple
Changes by Gustavo Temple gustavo.pedr...@eldorado.org.br: Added file: http://bugs.python.org/file37497/atomicv3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22038 ___

[issue22038] Implement atomic operations on non-x86 platforms

2014-12-18 Thread Gustavo Temple
Gustavo Temple added the comment: @haypo, done: atomicv3.patch -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22038 ___ ___ Python-bugs-list

[issue22038] Implement atomic operations on non-x86 platforms

2014-12-18 Thread Gustavo Temple
Changes by Gustavo Temple gustavo.pedr...@eldorado.org.br: Removed file: http://bugs.python.org/file37497/atomicv3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22038 ___

[issue22038] Implement atomic operations on non-x86 platforms

2014-12-18 Thread Gustavo Temple
Changes by Gustavo Temple gustavo.pedr...@eldorado.org.br: Added file: http://bugs.python.org/file37498/atomicv3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22038 ___

[issue22038] Implement atomic operations on non-x86 platforms

2014-12-18 Thread Gustavo Temple
Changes by Gustavo Temple gustavo.pedr...@eldorado.org.br: Removed file: http://bugs.python.org/file37498/atomicv3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22038 ___

[issue22038] Implement atomic operations on non-x86 platforms

2014-12-18 Thread Gustavo Temple
Changes by Gustavo Temple gustavo.pedr...@eldorado.org.br: Added file: http://bugs.python.org/file37499/atomicv3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22038 ___

[issue22038] Implement atomic operations on non-x86 platforms

2014-12-18 Thread Gustavo Temple
Changes by Gustavo Temple gustavo.pedr...@eldorado.org.br: Added file: http://bugs.python.org/file37500/atomicv3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22038 ___

[issue22038] Implement atomic operations on non-x86 platforms

2014-12-18 Thread Gustavo Temple
Changes by Gustavo Temple gustavo.pedr...@eldorado.org.br: Removed file: http://bugs.python.org/file37499/atomicv3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22038 ___

[issue23084] nanosecond support

2014-12-18 Thread STINNER Victor
STINNER Victor added the comment: See the issue #22117 which basically implement the PEP 410, but only for private C API. The idea is to avoid loss of precision caused by the float type when it is possible. For example, it would be possible for datetime.datetime.now() to avoid the float time.

[issue22956] Improved support for prepared SQL statements

2014-12-18 Thread mike bayer
Changes by mike bayer mike...@zzzcomputing.com: -- nosy: +zzzeek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22956 ___ ___ Python-bugs-list

[issue23085] update internal libffi copy to 3.2.1

2014-12-18 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Will this also fix http://bugs.python.org/issue23042 ? -- nosy: +lemburg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23085 ___

[issue23086] Add start and stop parameters to the Sequence.index() ABC mixin method

2014-12-18 Thread Raymond Hettinger
New submission from Raymond Hettinger: Currently, the Sequence ABC doesn't support start and stop arguments for the index() method which limits its usefulness in doing repeated searches (iterating over a target value) and which limits it substitutablity for various concrete sequences such as

[issue23084] nanosecond support

2014-12-18 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: it would be possible for datetime.datetime.now() to avoid the float time. C implementation of datetime.now() does not rely on float time, so this is only an issue for the Python implementation. Moreover, as long as datetime keeps its microsecond

[issue23084] nanosecond support

2014-12-18 Thread STINNER Victor
STINNER Victor added the comment: C implementation of datetime.now() does not rely on float time, so this is only an issue for the Python implementation. Ah yes, but there is another technical issue that I'm trying to address in the issue #22117: datetime.datetime.now() is implemented with

[issue23087] Exec variable not found error

2014-12-18 Thread Keith Chewning
New submission from Keith Chewning: If I %paste this code into an ipython shell the test passes. If this is saved to a file DictTest.py and run with ./DictTest.py -m the test fails. with the error name 'keys' is not defined If the variable keys is made global, as is suggested in the comment,

[issue23084] nanosecond support

2014-12-18 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Would anyone object if I rename this issue to Expose C struct timespec in time module? The current title is way too broad. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23084

[issue18590] 'Search' and 'Replace' dialogs don't work on quoted text in Windows

2014-12-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I should note that in msg225543 of #22179, I verified that there is a problem in Replace for highlighting found text within quotes, as well as in keywords, until the dialog is closed. On the other hand, the same text is hihglighted in identifiers, plain

[issue23084] nanosecond support

2014-12-18 Thread Ethan Furman
Ethan Furman added the comment: Just keep the word nanasecond in there somewhere, as that is the motivating purpose behind the patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23084

[issue23087] Exec variable not found error

2014-12-18 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23087 ___ ___

[issue23084] Expose C struct timespec (nanosecond resolution) in time module

2014-12-18 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- title: nanosecond support - Expose C struct timespec (nanosecond resolution) in time module ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23084

  1   2   >