New submission from Florent Xicluna :
I use the socketserver.ThreadingMixIn to create a TCPServer.
I set the server thread as daemon (t.daemon=True).
But I want the client threads to run as non-daemon.
According to the documentation, the "daemon_threads" class attribute should do
New submission from Florent Xicluna :
http://docs.python.org/dev/library/socketserver.html#asynchronous-mixins
Still there's getName or setDaemon in some example.
--
assignee: docs@python
components: Documentation
messages: 145274
nosy: docs@python, flox
priority: low
severity: n
Florent Xicluna added the comment:
Same behavior on Python 3.2 with this code:
from multiprocessing import Pool
from time import sleep
def Process(x):
try:
print(x)
sleep(.6-x/10.)
raise Exception('Exception: %d' % x)
finally:
print('F
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue13126>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue13119>
___
___
Python-bugs-list mailing list
Unsubscribe:
Florent Xicluna added the comment:
Antoine wrote:
> You could instead enumerate() all threads and set their daemon flag
> to False, before shutting down the interpreter.
If it is intended to work this way, it should be mentioned in the documentation.
Currently the documentati
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue13187>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue992389>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue10197>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue1757072>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
nosy: +flox
title: os.path.expanduser brakes when using unicode character in the username
-> os.path.expanduser breaks when using unicode character in the username
___
Python tracker
<http://bugs.pyth
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue12170>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue11085>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue12737>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue12458>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
nosy: +flox
stage: -> needs patch
type: -> behavior
versions: -Python 2.6, Python 3.1, Python 3.4
___
Python tracker
<http://bugs.python.org/i
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue13213>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
status: pending -> closed
___
Python tracker
<http://bugs.python.org/issue7723>
___
___
Python-bugs-list mailing list
Unsubscri
Florent Xicluna added the comment:
Proposed patch to refresh the socketserver examples.
--
keywords: +patch
stage: needs patch -> patch review
versions: +Python 3.2
Added file: http://bugs.python.org/file23459/issue13141.diff
___
Python trac
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue13193>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue12989>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
stage: -> needs patch
versions: +Python 3.3 -Python 3.2
___
Python tracker
<http://bugs.python.org/issue992389>
___
___
Python-
Florent Xicluna added the comment:
Well, the actual behavior is a little bit more complex to describe.
>>> re.match('[.-_a-z]', '-')
>>> re.match('[._-a-z]', '-')
<_sre.SRE_Match object at 0x100418e80>
>>> re.match(
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue12753>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue7322>
___
___
Python-bugs-list mailing list
Unsubscribe:
Florent Xicluna added the comment:
Fixed. Thank you for the patch.
--
nosy: +flox
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.o
Changes by Florent Xicluna :
--
nosy: +flox
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue13237>
___
___
Python-bugs-list mailing list
Un
Florent Xicluna added the comment:
This is PEP 401.
"[Because] the != inequality operator ... was a horrible, finger pain inducing
mistake, the FLUFL reinstates the <> diamond operator as the sole spelling.
This change is important enough to be implemented for, and released in
New submission from Florent Xicluna :
According to issue 9203 the computed gotos should be enabled by default since
3.2.
However, it is not visible from the interpreter.
Python 3.2.2 (default, Sep 7 2011, 10:55:43)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
>>> from
Florent Xicluna added the comment:
With the #error, I can confirm that computed gotos are enabled on OS X.
About sysconfig, we may change the code to set None if the value is "undef". I
don't know the impact.
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -404,7 +404,7 @
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue12675>
___
___
Python-bugs-list mailing list
Unsubscribe:
Florent Xicluna added the comment:
I would prefer to preserve the inheritance by default, and to change the
daemonic attribute only if it is explicitly set to True or False.
This way it will be backward compatible.
Patch attached.
--
versions: -Python 2.6
Added file: http
New submission from Florent Xicluna :
The PEP 387 suggests that deprecated objects or arguments are removed in
version (n+1).
I've listed these DeprecationWarnings in 3.2, which are still in 3.3.
I assume that most of these deprecated objects or arguments could be removed
before next re
Florent Xicluna added the comment:
In addition, we have some object and attributes which are triggering
"PendingDeprecationWarning" in 3.2.
We may keep these warnings in 3.3, or choose to turn some of them into
"DeprecationWarning", to prepare their removal in 3.5.
Florent Xicluna added the comment:
in 3.x, same issue.
IMHO documentation should be fixed.
--
assignee: -> docs@python
components: +Documentation
nosy: +bethard, docs@python, flox
stage: -> needs patch
versions: +Python 3.2, Python 3.3
___
Changes by Florent Xicluna :
--
resolution: -> fixed
stage: patch review -> committed/rejected
___
Python tracker
<http://bugs.python.org/issue13141>
___
__
Changes by Florent Xicluna :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue13141>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by Florent Xicluna :
--
nosy: +flox
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue11440>
___
___
Python-bugs-list mailing list
Un
Florent Xicluna added the comment:
The decision should be left to the user.
IMHO, we could disable this automatic fixer.
--
___
Python tracker
<http://bugs.python.org/issue11
Changes by Florent Xicluna :
--
nosy: +flox
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue12501>
___
___
Python-bugs-list mailing list
Un
Florent Xicluna added the comment:
I missed these warnings in C modules.
*array*
"fromstring" and "tostring" methods
*io* (like _pyio)
argument "max_buffer_size" of BufferedWriter and BufferedRWPair
*sys*
"sys.getcheckinterval" and "sys
New submission from Florent Xicluna :
The docstring should say "ustr.encode" instead of "ustr.decode".
The documentation page is correct.
>>> print(array.array.fromunicode.__doc__)
fromunicode(ustr)
Extends this array with data from the unicode string ustr.
The
Changes by Florent Xicluna :
--
resolution: -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
title: wrong docstring for array.fromunicode -> wrong docstrings in array module
___
Python tracker
<http://
Florent Xicluna added the comment:
for the RTLD_ constants, refer to issue #13226.
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue2470>
___
___
New submission from Florent Xicluna :
Now that callable() is back in 3.2, we may replace hasattr(obj, '__call__')
with callable(obj).
The built-in function is easier to read and gives better performance than
attribute lookup.
$ ./python -m timeit "hasattr(None, '__ca
Florent Xicluna added the comment:
Proposed patch.
--
keywords: +patch
Added file: http://bugs.python.org/file23510/issue13258_callable.diff
___
Python tracker
<http://bugs.python.org/issue13
Florent Xicluna added the comment:
Updated with a special note for "packaging".
--
Added file: http://bugs.python.org/file23511/issue13258_callable_v2.diff
___
Python tracker
<http://bugs.python.o
Florent Xicluna added the comment:
We have so many alternatives, it's funny ...
def callable(obj):
return hasattr(obj, '__call__') or hasattr(obj, '__bases__')
def callable(obj):
return isinstance(obj, collections.abc.Callable)
def callable(obj):
retu
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue13266>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
nosy: +flox
versions: +Python 3.3 -Python 2.6, Python 3.1
___
Python tracker
<http://bugs.python.org/issue4945>
___
___
Python-bug
New submission from Florent Xicluna :
these last references to old/new classes should be dropped.
See patch.
--
assignee: docs@python
components: Documentation
files: all_classes_belong_to_new_style.diff
keywords: patch
messages: 146455
nosy: docs@python, flox
priority: normal
severity
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue10015>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
stage: -> needs patch
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue12657>
___
___
Python-bugs-list
Changes by Florent Xicluna :
--
components: +XML
type: -> behavior
versions: +Python 2.7, Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/issu
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue13275>
___
___
Python-bugs-list mailing list
Unsubscribe:
Florent Xicluna added the comment:
Well argparse exists since 2006 (ref [1]), and "should work on Python >= 2.3"
(ref [2]).
It was merged in the standard library with Python 3.2.
However, I agree we may switch to the advanced string formatting for this
module.
[1] http://
Changes by Florent Xicluna :
--
nosy: +flox
stage: -> patch review
versions: -Python 3.4
___
Python tracker
<http://bugs.python.org/issue13041>
___
___
Py
Changes by Florent Xicluna :
--
nosy: +bethard
___
Python tracker
<http://bugs.python.org/issue13280>
___
___
Python-bugs-list mailing list
Unsubscribe:
Florent Xicluna added the comment:
the type>class change reflects the current output on 3.x
--
___
Python tracker
<http://bugs.python.org/issue13270>
___
_
Changes by Florent Xicluna :
--
resolution: -> fixed
stage: patch review -> committed/rejected
___
Python tracker
<http://bugs.python.org/issue13270>
___
__
Florent Xicluna added the comment:
After changeset c72063032a7a I get this complain:
Python/bltinmodule.c: In function ‘builtin___build_class__’:
Python/bltinmodule.c:43: warning: unused variable ‘nbases’
--
nosy: +flox
___
Python tracker
<h
Changes by Florent Xicluna :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue13270>
___
___
Python-bugs-list mailing list
Unsubscri
New submission from Florent Xicluna :
>>> len(dir())
4
>>> import urllib.request import *
>>> len(dir())
88
In this list we find 14 modules:
['base64', 'collections', 'ssl', 'bisect', 'http', 're', 'em
Florent Xicluna added the comment:
We should only expose the names which are documented.
The modules and the objects from urllib.parse don't need to be exposed in
urllib.request.
I suggest to apply this patch on 3.3 only.
--
keywords: +patch
stage: needs patch -> patch revi
Florent Xicluna added the comment:
This patch looks good.
Is it relevant for minor releases 2.7.3 and 3.2.3? I cannot confirm.
--
nosy: +flox
priority: normal -> low
versions: +Python 3.2, Python 3.3
___
Python tracker
<http://bugs.pyth
Changes by Florent Xicluna :
--
stage: -> needs patch
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue13286>
___
___
Python-bugs-list
Changes by Florent Xicluna :
--
components: +Library (Lib)
nosy: +flox
versions: +Python 3.3 -Python 2.6, Python 3.1
___
Python tracker
<http://bugs.python.org/issue13
Florent Xicluna added the comment:
unfortunately, I did not find the fix and the test in the upstream repository.
AFAIK, upstream should be there:
https://bitbucket.org/effbot/et-2009-provolone/src
--
components: +XML -Extension Modules
type: feature request -> behavior
versi
Florent Xicluna added the comment:
Proposed patch for 3.3.
--
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file23544/issue2892_etree_iterparse.diff
___
Python tracker
<http://bugs.python.org/iss
Florent Xicluna added the comment:
Changeset cff78ffb932a fixed the issue for 3.2.
I will consider backporting.
--
resolution: -> fixed
stage: needs patch -> patch review
versions: -Python 3.2
___
Python tracker
<http://bugs.python.org/
Florent Xicluna added the comment:
Confirmed in 3.3.
The patch does not apply cleanly on trunk.
--
stage: test needed -> needs patch
versions: +Python 3.3 -Python 3.1
___
Python tracker
<http://bugs.python.org/iss
Changes by Florent Xicluna :
--
stage: -> needs patch
versions: +Python 3.3 -Python 3.1
___
Python tracker
<http://bugs.python.org/issue6057>
___
___
Python-
Florent Xicluna added the comment:
ElementTree 1.3 added the "iterfind" method to Python 2.7 and 3.2.
http://docs.python.org/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element.iterfind
--
resolution: -> out of date
stage: test needed -> committed/rejec
Florent Xicluna added the comment:
This behavior is verified with unit tests.
I don't plan to change it.
--
resolution: -> wont fix
stage: -> committed/rejected
status: open -> pending
___
Python tracker
<http://bugs.pyt
Changes by Florent Xicluna :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue8277>
___
___
Python-bugs-list mailing list
Unsubscri
Florent Xicluna added the comment:
3.1 is no longer in scope for this issue.
--
resolution: -> out of date
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Florent Xicluna added the comment:
On 3.2 it is fixed (I didn't find the related changeset).
Not backported to 2.7.
--
versions: -Python 3.1, Python 3.2
___
Python tracker
<http://bugs.python.org/i
Florent Xicluna added the comment:
No more bug with Python 3.2.
On 2.7, we still experience the behavior described in msg75290.
--
versions: -Python 2.6, Python 3.1, Python 3.2
___
Python tracker
<http://bugs.python.org/issue4
Florent Xicluna added the comment:
Documentation should be fixed for 3.2 and 2.7.
Patch welcomed.
--
assignee: -> docs@python
components: +Documentation
nosy: +docs@python
stage: test needed -> needs patch
___
Python tracker
New submission from Florent Xicluna :
There's two names which should be fixed in "xmlrpc" package:
--- a/Lib/xmlrpc/client.py
-elif isinstance(other, (str, unicode)):
--- a/Lib/xmlrpc/server.py
-response = xmlrpclib.dumps(
-xmlrpclib.
Florent Xicluna added the comment:
Proposed fix, with some tests.
--
keywords: +patch
stage: test needed -> patch review
Added file: http://bugs.python.org/file23549/issue13291_xmlrpc.diff
___
Python tracker
<http://bugs.python.org/issu
Florent Xicluna added the comment:
Thank you. Patch updated.
--
Added file: http://bugs.python.org/file23551/issue13291_xmlrpc_v2.diff
___
Python tracker
<http://bugs.python.org/issue13
New submission from Florent Xicluna :
versionadded is missing here:
http://docs.python.org/library/functions.html#bytearray
--
assignee: docs@python
components: Documentation
messages: 146633
nosy: docs@python, flox
priority: normal
severity: normal
stage: needs patch
status: open
title
Florent Xicluna added the comment:
binary data should be wrapped with Binary.
http://docs.python.org/dev/library/xmlrpc.client.html#binary-objects
--
components: +Library (Lib), XML
nosy: +flox
resolution: -> invalid
stage: -> committed/rejected
status: open -&g
Changes by Florent Xicluna :
--
stage: needs patch -> patch review
versions: +Python 3.3
___
Python tracker
<http://bugs.python.org/issue1467929>
___
___
Py
Changes by Florent Xicluna :
--
nosy: +flox
stage: needs patch -> patch review
versions: +Python 3.3 -Python 3.2
___
Python tracker
<http://bugs.python.org/iss
New submission from Florent Xicluna :
Since Python 3 makes clear the distinction between bytes and string, there is
no more reason to use the xmlrpc.client.Binary wrapper for binary objects.
The xmlrpc library may deal with bytes and bytearray normally.
To support backward compatibility, the
Changes by Florent Xicluna :
--
keywords: +patch
stage: -> patch review
Added file: http://bugs.python.org/file23564/issue13297_xmlrpc_bytes.diff
___
Python tracker
<http://bugs.python.org/issu
Florent Xicluna added the comment:
FWIW, I opened a feature request #13297.
--
___
Python tracker
<http://bugs.python.org/issue13293>
___
___
Python-bugs-list m
Changes by Florent Xicluna :
--
assignee: -> flox
___
Python tracker
<http://bugs.python.org/issue2979>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue13298>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Florent Xicluna :
See msg146725 on issue 13291.
on linux
>>> datetime(1, 2, 10, 11, 41, 23).strftime("%Y")
'1'
on osx
>>> datetime(1, 2, 10, 11, 41, 23).strftime("%Y")
'0001'
>>> datetime.strptime('
Florent Xicluna added the comment:
This last issue is in the datetime module. issue #13305
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issu
Florent Xicluna added the comment:
FWIW, issue #1777412 added support for years < 1000 to Python 3.3 strftime.
--
nosy: +belopolsky, haypo
stage: test needed -> needs patch
versions: -Python 2.7, Python 3.2
___
Python tracker
Florent Xicluna added the comment:
There's many discrepancies between OS X and Linux about time formatting...
OS X
>>> from datetime import datetime
>>> datetime(1900, 1, 1).strftime("%6Y")
'6Y'
Linux
>>> from datetime import datetime
&g
Florent Xicluna added the comment:
Proposed patch to fix the issue in xmlrpc.client
--
keywords: +patch
Added file: http://bugs.python.org/file23577/issue13305_xmlrpc_patch.diff
___
Python tracker
<http://bugs.python.org/issue13
Florent Xicluna added the comment:
Latest comment is unrelated to this feature request.
It goes with issue #13305.
--
___
Python tracker
<http://bugs.python.org/issue2
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue3173>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Florent Xicluna :
After changeset 55a3b563f0db the Gentoo buildbot is complaining.
==
FAIL: test_strptime (test.test_time.TimeTestCase
Florent Xicluna added the comment:
It seems that "mktime" is buggy on Gentoo.
You can try to reset its state in some way before to retry strftime:
t = time.gmtime(time.time())
s = time.strftime('%Z', t)
print(s)
time.mktime((-1, 1, 1, 0, 0, 0, -1, -1, -1))
s = time.strft
1 - 100 of 1386 matches
Mail list logo