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:
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
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
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
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
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
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
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
@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)
...
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
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
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:
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
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
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:
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')
Iam getting this :
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
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
Thanks, using cron here.
--
https://mail.python.org/mailman/listinfo/python-list
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
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()
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
___
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
Serhiy Storchaka added the comment:
LGTM.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23071
___
___
Python-bugs-list mailing list
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
Marc-Andre Lemburg added the comment:
+1
--
nosy: +lemburg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23071
___
___
Python-bugs-list mailing
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
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
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
___
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
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
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.
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
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
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
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
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
___
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
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
___
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
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
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:
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
Changes by Serhiy Storchaka storch...@gmail.com:
--
keywords: +needs review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19104
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
keywords: +needs review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22896
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
keywords: +needs review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23001
___
___
Changes by Piotr Dobrogost p...@bugs.python.dobrogost.net:
--
nosy: +piotr.dobrogost
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6792
___
___
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
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
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
Changes by Serhiy Storchaka storch...@gmail.com:
--
keywords: +needs review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22113
___
___
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.
Changes by mdcb mdcb...@gmail.com:
--
hgrepos: -289
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23084
___
___
Python-bugs-list mailing list
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +belopolsky, ethan.furman, lemburg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23084
___
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,
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,
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
Changes by Eric V. Smith e...@trueblade.com:
--
stage: - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23083
___
___
Python-bugs-list
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
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
___
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:
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 =
Alexander Belopolsky added the comment:
time() could be used to produce them
How?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23084
___
___
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
:)
--
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
___
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
___
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
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
___
Gustavo Temple added the comment:
@haypo, done: atomicv3.patch
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22038
___
___
Python-bugs-list
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
___
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
___
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
___
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
___
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
___
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
___
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.
Changes by mike bayer mike...@zzzcomputing.com:
--
nosy: +zzzeek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22956
___
___
Python-bugs-list
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
___
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
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
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
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,
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
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
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
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23087
___
___
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 - 100 of 136 matches
Mail list logo