[This announcement is in German since it targets a local user group
meeting in Düsseldorf, Germany]
ANKÜNDIGUNG
Python Meeting Düsseldorf
http://pyddf.de/
Ein Treffen
[This announcement is in German since it targets a local user group
meeting in Düsseldorf, Germany]
ANKÜNDIGUNG
Python Meeting Düsseldorf
http://pyddf.de/
Ein Treffen
- Original Message -
Hello,
I'm pleased to announce the release of Nevow 0.11.1.
Nevow is a web application construction kit written in Python and
based
on Twisted. It is designed to allow the programmer to express as much
of
the view logic as desired in Python, and includes a
On Sun, 22 Jun 2014 13:18:09 -0700, arbautjc wrote:
If anybody is interested...
I think it's the same as the version unearthed recently [1], but here is
a rather old version of Python on ftp:
ftp://ftp.uni-duisburg.de/local/systems/unix/old_stuff/
[1]
On Jun 23, 2014, at 12:26 AM, smur...@gmail.com wrote:
On Sunday, June 22, 2014 3:49:53 PM UTC+2, Roy Smith wrote:
Can you give us some more quantitative idea of your requirements? How
many objects? How much total data is being stored? How many queries
per second, and what is the
In article mailman.11202.1403534666.18130.python-l...@python.org,
William Ray Wing w...@mac.com wrote:
On Jun 23, 2014, at 12:26 AM, smur...@gmail.com wrote:
On Sunday, June 22, 2014 3:49:53 PM UTC+2, Roy Smith wrote:
Can you give us some more quantitative idea of your requirements?
On 22/06/14 10:46, smur...@gmail.com wrote:
I've been doing this with a classic session-based SQLAlchemy ORM, approach,
but that ends up way too slow and memory intense, as each thread gets its own copy of
every object it needs. I don't want that.
If you don't want each thread to have their
Hi,
William Ray Wing:
Are you sure it won’t fit in memory? Default server memory configs these
days tend to start at 128 Gig, and scale to 256 or 384 Gig.
I am not going to buy a new server. I can justify writing a lot of custom
code for that kind of money.
Besides, the time to actually
memcache (or redis or ...) would be an option. However, I'm not going to go
through the network plus deserialization for every object, that'd be too slow -
thus I'd still need a local cache - which needs to be invalidated.
--
https://mail.python.org/mailman/listinfo/python-list
On Monday, June 23, 2014 5:54:38 PM UTC+2, Lie Ryan wrote:
If you don't want each thread to have their own copy of the object,
Don't use thread-scoped session. Use explicit scope instead.
How would that work when multiple threads traverse the in-memory object
structure and cause
What package do I need to install to get thread support (import thread) for
Python 3 running under ubuntu 3?
--
https://mail.python.org/mailman/listinfo/python-list
On Monday, June 23, 2014 4:12:34 PM UTC-4, kena...@gmail.com wrote:
What package do I need to install to get thread support (import thread) for
Python 3 running under ubuntu 3?
Found it. The import statement changed to import _thread for python3.
--
On Tue, Jun 24, 2014 at 6:34 AM, kenak...@gmail.com wrote:
On Monday, June 23, 2014 4:12:34 PM UTC-4, kena...@gmail.com wrote:
What package do I need to install to get thread support (import thread) for
Python 3 running under ubuntu 3?
Found it. The import statement changed to import
On 23/06/14 19:05, smur...@gmail.com wrote:
On Monday, June 23, 2014 5:54:38 PM UTC+2, Lie Ryan wrote:
If you don't want each thread to have their own copy of the object,
Don't use thread-scoped session. Use explicit scope instead.
How would that work when multiple threads traverse the
It used to be that the best way to compare floating point numbers while
disregarding the inherent epsilon was to use `str(x) == str(y)`. It looks like
that workaround doesn't work anymore in 3.4.
What's the recommended way to do this now?
format(.01 + .01 + .01 + .01 + .01 + .01, 'g') ==
Following up on an earlier thread which started as a discussion on
Apple's new language Swift and (d)evolved into a discussion about
energy efficiency of computers, I came across this announcement of a new
type of computer architecture invented by HP: The Machine.
On 06/23/2014 01:12 PM, kenak...@gmail.com wrote:
What package do I need to install to get thread support (import thread) for
Python 3 running under ubuntu 3?
Just curious... Ubuntu 3 -- Are you really running a version that old, or is that a typo?
Current version is 14.04
OT and FWIW:
On Tue, Jun 24, 2014 at 12:40 PM, Larry Hudson
org...@yahoo.com.dmarc.invalid wrote:
OT and FWIW: I gave up on Ubuntu when they switched to Unity -- I find that
very awkward to use. Just personal opinion, of course, and I know there are
others who like it -- that's fine with me as well. (But
On Tue, Jun 24, 2014 at 10:55 AM, buck workithar...@gmail.com wrote:
It used to be that the best way to compare floating point numbers while
disregarding the inherent epsilon was to use `str(x) == str(y)`.
Who said that?
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
OT and FWIW: I gave up on Ubuntu when they switched to Unity -- I find that
very awkward to use. Just personal opinion, of course, and I know there are
others who like it -- that's fine with me as well. (But I switched to
Mint.)
Likewise, though with me it was Debian I went to, with Xfce
buck wrote:
What's the recommended way to do this now?
format(.01 + .01 + .01 + .01 + .01 + .01, 'g') == format(.06, 'g')
There's no recommended way. What you're asking for can't be
done. Whatever trick you come up with, there will be cases
where it doesn't work.
Why do you think you want
Markus Kettunen added the comment:
It's quite common to use wide character strings to support Unicode in C and C++.
In C++ this often means using std::wstring and std::wcout. Maybe these are more
common than wprintf? In any case the console output breaks as Py_Initialize
hijacks the host
STINNER Victor added the comment:
In C++ this often means using std::wstring and std::wcout. Maybe these are
more common than wprintf? In any case the console output breaks as
Py_Initialize hijacks the host application's standard output streams which
sounds quite illegitimate to me.
On
Markus Kettunen added the comment:
On Linux, std::wcout doesn't use wprintf(). Do you mean that std::wcout also
depends on the mode of stdout (_setmode)?
Yes, exactly. I originally noticed this bug by using std::wcout on Windows.
--
___
Python
Vinay Sajip added the comment:
The default for syslog-ng's so_keepalive() option is No (don't keep the socket
open). Since you haven't responded with more information, I'll assume that
you're using this default setting, and that syslog-ng is terminating the
connection. Reopen if you have
New submission from Nicolas Limage:
The current version of the ipaddress library implements containment
relationship in a way that a network is never contained in another network :
from ipaddress import IPv4Network,IPv4Address
IPv4Network(u'192.168.22.0/24') in IPv4Network(u'192.168.0.0/16')
Changes by Nicolas Limage nicolas.lim...@gmail.com:
--
nosy: -Nicolas.Limage
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21828
___
New submission from Claudiu Popa:
There's a problem with ctypes.test.test_values on Windows.
First, the test is wrong because it uses the following:
if __debug__:
self.assertEqual(opt, 0)
elif ValuesTestCase.__doc__ is not None:
self.assertEqual(opt, 1)
ValuesTestCase doesn't have a
Changes by Claudiu Popa pcmantic...@gmail.com:
--
nosy: +zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21829
___
___
Python-bugs-list
Terry Chia added the comment:
Hello,
I have attached a patch that should resolve this issue. Do let me know if
anything needs fixing as this is my first contribution.
--
keywords: +patch
nosy: +terry.chia
Added file: http://bugs.python.org/file35739/issue17888.patch
Alexander Belopolsky added the comment:
I would like to hear from others on this feature. One concern that I have is
whether it is wise to truncate the fractional seconds part in '%s'. Also, if
we support '%s' in strftime we should probably support it in strptime as well.
--
nosy:
Changes by Jim Jewett jimjjew...@gmail.com:
--
stage: - needs patch
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21800
___
Christian Ullrich added the comment:
Actually, this appears to be fixed in pip 1.5.6 (and 1.5.5, commit
79408cbc6fa5d61b74b046105aee61f12311adc9, AFAICT), which is included in 3.4.1;
I cannot reproduce the problem in 3.4.1. That makes this bug obsolete.
--
Nick Coghlan added the comment:
It's ultimately up to Michael as the module maintainer, but the class
attribute approach would match the way maxDiff works.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21820
Nick Coghlan added the comment:
Oh, one point - the don't trigger on non-strings could likely go in a bug
fix release for 3.4, but the flag to turn it off entirely would be a new
feature for 3.5.
--
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
There is an issue open for the -O/-OO and .pyo file issue. Or maybe we closed
it won't fix, I forget. -O/-OO have problems.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
Berker Peksag added the comment:
Here's a patch for tarfile.
--
keywords: +patch
nosy: +berker.peksag, lars.gustaebel, serhiy.storchaka
stage: - patch review
type: - enhancement
versions: -Python 3.4
Added file: http://bugs.python.org/file35740/issue21717_tarfile.diff
STINNER Victor added the comment:
Ping?
--
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19259
___
___
Aivar Annamaa added the comment:
Just found out that ast.Attribute in Python 3.4 has similar problem
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21295
___
Changes by Boris Dayma koush...@gmail.com:
--
nosy: +Borisd13
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7511
___
___
Python-bugs-list mailing
Michael Foord added the comment:
I agree that it looks like a bug that this behaviour is triggering for
non-strings. There is separate code (which uses maxDiff) for comparing
collections.
Switching off the behaviour for 3.4 / 2.7 and a new class attribute for 3.5 is
a good approach.
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +zach.ware
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17570
___
Zachary Ware added the comment:
What about adding a new Platform Quirks page listing all the known
differences in usage between the three major platforms? Then in places where
the instructions are a bit different per platform, like:
./python.exe -m test -j3
write something like
python
Zachary Ware added the comment:
As previously pointed out, the current patches are not adequate.
--
stage: patch review - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17570
___
Steve Dower added the comment:
The difference may be the ALLUSERS=1 option. Windows Installer is supposed to
auto-detect this when an installer is run as an admin, but maybe something in
our authoring is preventing this detection?
When I get a chance I'll try both and see if the logs show
Donald Stufft added the comment:
I believe in pip 1.5.6 we switched from shutil.move to shutil.copytree which I
believe will reset the permissions/SELinux context?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21030
Changes by Aaron Meurer asmeu...@gmail.com:
--
nosy: +Aaron.Meurer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21821
___
___
Python-bugs-list
Berker Peksag added the comment:
Here's a patch to add an optional encoding parameter to captured_stdout.
--
keywords: +patch
nosy: +berker.peksag
stage: needs patch - patch review
Added file: http://bugs.python.org/file35741/issue7982.diff
___
Yury Selivanov added the comment:
Ryan,
Can you explain the use case for it? What's the problem you're trying to solve?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21684
___
Yury Selivanov added the comment:
Fixed in 3.4 and 3.5.
Thanks for the bug report!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21801
___
___
Roundup Robot added the comment:
New changeset cc0f5d6ccb70 by Yury Selivanov in branch '3.4':
inspect: Validate that __signature__ is None or an instance of Signature.
http://hg.python.org/cpython/rev/cc0f5d6ccb70
New changeset fa5b985f0920 by Yury Selivanov in branch 'default':
inspect:
Martin v. Löwis added the comment:
Christian: thanks for the update. It's actually that the bug is fixed, not
obsolete :-)
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21030
Martin v. Löwis added the comment:
Steve: how is the auto-detection supposed to work, and what is the rationale?
Shouldn't it be possible that even someone with administrator privileges still
might want to install just for me? And how would they then specify that on
the command line, given
Changes by Martin v. Löwis mar...@v.loewis.de:
--
resolution: accepted - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2213
___
Steve Dower added the comment:
It's described at
http://msdn.microsoft.com/en-us/library/aa367559(v=vs.85).aspx, and frankly it
is incredibly confusing.
It is possible to reset ALLUSERS on the command line by specifying ALLUSERS=
--
___
Python
New submission from David M Noriega:
When trying to use python3-ldap package on Windows 7, found I could not get a
TLS connection to work and traced it to its use of ssl.wrap_socket. Trying out
the following simple socket test fails
import socket
import ssl
sock = socket.socket()
Berker Peksag added the comment:
I've updated Éric's patch. Minor changes:
- Updated versionadded directive
- A couple of cosmetic changes (e.g. removed brackets in the list comprehension)
--
assignee: docs@python -
components: -Documentation
nosy: +berker.peksag
versions: +Python 3.5
Changes by Ned Deily n...@acm.org:
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21830
___
___
Python-bugs-list mailing
STINNER Victor added the comment:
@Guido, @Yury: What do you think of log_destroyed_pending_task.patch? Does it
sound correct?
Or would you prefer to automatically keep a strong reference somewhere and then
break the strong reference when the task is done? Such approach sounds to be
error
Martin v. Löwis added the comment:
Much of the text refers to Installer 5.0. msi.py currently targets installer
2.0. Does the auto-detection also work on such installers?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19351
David Bolen added the comment:
I've been experimenting with setting up a Windows 8.1 buildbot, and found this
ticket after finding a problem with test_threaded_import, testing against the
3.4 branch.
I seem to be have a low syscheckinterval issue similar to that discussed here
on some
Steve Dower added the comment:
No idea, TBH, though I'd guess that the behaviour comes from the installed
version of Windows Installer and the database schema comes from the authored
version.
Nonetheless, if the solution is to add ALLUSERS=1 to the command line when
doing silent all-user
Mark Lawrence added the comment:
@Giampaolo can you add anything to this?
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12378
___
Steve Dower added the comment:
This has been confirmed as a bug in VC14 (and earlier) and there'll be a fix
going in soon.
For those interested, here's a brief rundown of the root cause:
* the switch in build_filter_spec() switches on a 64-bit value
* one case is 0x4001 and the
Martin v. Löwis added the comment:
Thanks a lot for this investigation; I'm glad you are working on this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15993
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +tim.golden, zach.ware -haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15993
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15993
___
___
Python-bugs-list
Josh Rosenberg added the comment:
Patch needs some work. See comments on patch.
--
nosy: +josh.rosenberg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18032
___
brian morrow added the comment:
Not sure if this is still relevant, but I've supplied a python2.7 patch for
this issue. All regression tests still pass and the underlying socket
connection is closed:
bmorrow@xorange:~/cpython$ ./python -m smtpd -n -c DebuggingServer
localhost:2525
import
Nick Coghlan added the comment:
A little additional explanation of why the switch to copytree would have
fixed this, at least in the SELinux case: under SELinux, files typically
get labelled with a context based on where they're created. Copying creates
a *new* file at the destination with the
akira added the comment:
*If* the support for %s strftime format code is added then it should
keep backward compatibility on Linux, OSX: it should produce an
integer string with the correct rounding.
Currently, datetime.strftime delegates to a platform strftime(3) for
format specifiers that are
Alexander Belopolsky added the comment:
It is not clear what the returned value for %s strptime should be:
I would start conservatively and require %z to be used with %s. In this case,
we can easily produce aware datetime objects.
I suspect that in the absence of %z, the most useful option
Yury Selivanov added the comment:
@Guido, @Yury: What do you think of log_destroyed_pending_task.patch? Does it
sound correct?
Premature task garbage collection is indeed hard to debug. But at least, with
your patch, one gets an exception and has a chance to track the bug down. So
I'm +1 for
Roundup Robot added the comment:
New changeset 8e0b7393e921 by Raymond Hettinger in branch '2.7':
Issue #11974: Add tutorial section on class and instance variables
http://hg.python.org/cpython/rev/8e0b7393e921
--
nosy: +python-dev
___
Python
Josh Rosenberg added the comment:
Are you 100% sure your CA files is in the precise PEM format required by Python
for CA certs, as described in
https://docs.python.org/3/library/ssl.html#ssl-certificates ?
The most likely cause of your failure and success would be if you were using
some
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
versions: +Python 3.5 -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11974
___
Raymond Hettinger added the comment:
I'll load this into 3.4 and 3.5 shortly.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11974
___
___
Changes by Josh Rosenberg shadowranger+pyt...@gmail.com:
--
title: mmap ehancement - resize with sequence notation - mmap enhancement -
resize with sequence notation
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5888
Mark Lawrence added the comment:
This works perfectly for me using 3.4.1.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12066
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +loewis, steve.dower
versions: +Python 3.4, Python 3.5 -Python 2.7, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12239
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +loewis, steve.dower
versions: +Python 3.5 -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python
3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12639
New submission from Benjamin Peterson:
Reported by Chris Foster on the security list:
$ ./python
Python 2.7.7+ (2.7:8e0b7393e921, Jun 24 2014, 03:01:40)
[GCC 4.4.3] on linux2
Type help, copyright, credits or license for more information.
a = bytearray('hola mundo')
b = buffer(a, 0x7fff,
Roundup Robot added the comment:
New changeset 8d963c7db507 by Benjamin Peterson in branch '2.7':
avoid overflow with large buffer sizes and/or offsets (closes #21831)
http://hg.python.org/cpython/rev/8d963c7db507
--
nosy: +python-dev
resolution: - fixed
stage: - resolved
status: open
New submission from Kevin Norris:
Code such as this:
class Foo:
def __str__(self):
# Perhaps this value comes from user input, or
# some other unsafe source
return something_untrusted
def isidentifier(self):
# Perhaps it
Changes by Benjamin Peterson benja...@python.org:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21832
___
___
anon added the comment:
I think the case where i is negative can be handled by
bits_at(i, pos, width) = bits_at(~i, pos, width) ^ ((1 width) - 1)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19915
Changes by pturing ptur...@gmail.com:
--
nosy: +pturing
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18643
___
___
Python-bugs-list mailing list
Terry J. Reedy added the comment:
Rereading this, I see interlocked behavior (implementation bug) and enhancement
(design bug) issues. I have been focused on just the former.
Consider the exception traceback in msg107441: there are *two* filename, line#
pairs. Now consider this warning for
Changes by Demian Brecht demianbre...@gmail.com:
--
nosy: +dbrecht
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17229
___
___
Python-bugs-list
89 matches
Mail list logo