Changes by Simon Cross :
--
nosy: +hodgestar
___
Python tracker
<http://bugs.python.org/issue6280>
___
___
Python-bugs-list mailing list
Unsubscribe:
Simon Litchfield added the comment:
>From the manual for logging.handlers.SysLogHandler --
emit(record)
The record is formatted, and then sent to the syslog server. If
exception information is present, it is not sent to the server.
Ideal, for me, would be to have each traceback line logged
Simon Arlott added the comment:
Access to rl_reset_line_state (and possibly others in the Redisplay
section) are also required, otherwise it's not possible to recover from
KeyboardInterrupt during raw_input() if readline isn't in the expected
editing mode.
Example:
1. call raw_i
Simon Cross added the comment:
The attached patch adds a simple implementation of time.timegm that
calls calendar.timegm. It includes a short test to show that
time.timegm(time.gmtime(ts)) == ts for various timestamps.
I implemented a pure C version by pulling in the various functions
needed
New submission from Simon Anders :
The '-3' command line option in Python 2.6 is supposed to warn whenever
encountering something that would throw an error in Python 3. Mixing of
tabs and spaces has become illegal in Python 3. However, Python 2.6,
called with '-3', passe
Simon Law added the comment:
zooko: You may be interested in http://pypi.python.org/pypi/cygwinreg/
--
nosy: +sfllaw
___
Python tracker
<http://bugs.python.org/issue1697
Changes by Simon Cross :
--
nosy: +hodgestar
___
Python tracker
<http://bugs.python.org/issue6230>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Simon Cross :
--
nosy: +hodgestar
___
Python tracker
<http://bugs.python.org/issue6232>
___
___
Python-bugs-list mailing list
Unsubscribe:
Simon Jagoe added the comment:
I will try to test this with the different combinations of python and sqlite
versions.
--
___
Python tracker
<http://bugs.python.org/issue8
Simon Jagoe added the comment:
Sorry for the waste of time. I have compiled Python 2.6.5 against sqlite3
3.6.22 (Lucid version) and 3.6.16-1ubuntu1 (Karmic version).
The test I posted originally fails with sqlite3 3.6.22 and passes with sqlite3
3.6.16-1ubuntu1, so it would appear to be a
Simon Cross added the comment:
I can confirm that I see the ('debian', 'squeeze/sid', '') on py3k and trunk
but that the Python 2.6 under Ubuntu reports ('Ubuntu', '10.04', 'lucid').
--
_
Simon Cross added the comment:
I think the problem might be that linux_distribution() reads
/etc/debian_version first. The contents of the relevant files in /etc look like:
$ cat /etc/debian_version
squeeze/sid
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME
Simon Cross added the comment:
Patch attached to check /etc/lsb-release before checking other files. Taken
from Ubuntu Python 2.6 copy of platform.py. Applies against trunk (r83728) with
a small offset against py3k (r83728).
--
keywords: +patch
Added file: http://bugs.python.org
Simon Cross added the comment:
I think the intended means of accessing this information is via the lsb_release
command
(http://refspecs.freestandards.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/lsbrelease.html).
That said, I don't know if the file format will change drastically u
New submission from Simon Percivall:
When called by `_create_pseudo_member_()`, the dictionary iteration of
`_value2member_map` in `_decompose()` in enum.py may lead to a "RuntimeError:
dictionary changed size during iteration". For me, it happened in `re.compile`.
```
Traceback (m
New submission from Simon Schuler:
Hello,
the following code doesn't work any longer in the new Python version 3.6.
import sys
import os
import subprocess
from multiprocessing import Pool, Value, Queue
import multiprocessing
import logging
import logging.handlers
import pickle
Simon Schuler added the comment:
Attached is a sample program to illustrate the problem. When I use a
multiprocessing pool the exception is raised.
--
Added file: http://bugs.python.org/file46160/sample.py
___
Python tracker
<http://bugs.python.
Simon Schuler added the comment:
I want to handle the logging of the main and all my started processes. They
should all log to the same Queue.
Have a look at the sample.py program. In addition there is a inconsistency in
using a multiprocessing pool or just the process class directly. The
Simon Schuler added the comment:
I don't have any lock object. I just use the multiprocessing pool and a
QueueHandler in order to be able to log from all processes.
--
___
Python tracker
<http://bugs.python.org/is
Simon Percivall added the comment:
Run this a couple of times (it fails for me the first time, but it's a race, so
YMMV):
```
import enum
from concurrent.futures import ThreadPoolExecutor
class MyEnum(enum.IntFlag):
one = 1
with ThreadPoolExecutor() as executor:
print
New submission from Simon Grantham:
Placing the word "coding:" in a hash tag comment in a file causes a syntax
error. Eg:
~ $ cat tst.py
# coding: Wow! How odd!
~ $ python tst.py
File "tst.py", line 2
SyntaxError: encoding problem: Wow
~ $
--
components: Inter
Changes by Simon Grantham :
--
type: -> compile error
___
Python tracker
<http://bugs.python.org/issue29226>
___
___
Python-bugs-list mailing list
Unsubscrib
Simon Grantham added the comment:
Thanks Ammar. Curiously, the comment I had put in my code was a note
regarding usage and actually didn't contain the word "coding:" but the
word "encoding:".
# curl -v --header "Transfer-Encoding: chunked" -d @somefile.tx
Simon Grantham added the comment:
My googling skills are a bit amiss too. I searched for some kind of
encoding pragma before reporting. Perhaps just a footnote in the basic
documentation of a python comment is the easiest solution.
Simon
On 1/10/2017 12:58 PM, Ammar Askar wrote:
> Am
New submission from Simon McVittie:
dbus-python has a regression test for
https://bugs.freedesktop.org/show_bug.cgi?id=23831 which repeatedly initializes
the interpreter, imports dbus and finalizes the interpreter. This test passes
in Python up to 3.5, but is failing under Python 3.6 nightly
Simon McVittie added the comment:
This might be a duplicate of https://bugs.python.org/issue24853 but there
wasn't enough detail on that bug for me to be sure.
--
___
Python tracker
<http://bugs.python.org/is
Simon McVittie added the comment:
http://bugs.python.org/issue27736 might be related, or even a duplicate of this.
--
nosy: +smcv
___
Python tracker
<http://bugs.python.org/issue24
Simon Baird added the comment:
https://github.com/search?q=%22TAU+%3D+2+%2A+Math.PI%22&type=Code
https://github.com/search?q=%22TAU+%3D+PI+*+2%22&type=Code
--
___
Python tracker
<http://bugs.python.org
New submission from Simon Wagner:
Wrong version of zipfile.py is packaged with the Windows installer for Python
3.2 and 3.3. It seems to be the version from 3.1.
Other files might also be wrong, I did not check.
--
components: Installation, Windows
messages: 183892
nosy: Simon.Wagner
Simon Wagner added the comment:
I compared the file in http://hg.python.org/cpython/file/3.3/Lib/zipfile.py
with the zipfile.py that is distributed with
http://www.python.org/ftp/python/3.3.0/python-3.3.0.msi
They differ in several places. I checked several times, so this is either an
error
Simon Wagner added the comment:
yep, those match. Sorry for the inconvenience.
So I will have to wait a while before I can use long path names.
--
___
Python tracker
<http://bugs.python.org/issue17
Changes by Simon Wagner :
--
resolution: -> invalid
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue17392>
___
___
Python-bugs-list
Changes by Simon Cross :
--
nosy: +hodgestar
___
Python tracker
<http://bugs.python.org/issue17423>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Simon Conseil:
There is an encoding issue between codecs.open and sax (see attached file). The
issue is reproducible on Python 3.3.1, it is working fine on Python 3.3.0
--
components: Library (Lib)
files: report.txt
messages: 188508
nosy: sconseil
priority: normal
Simon Conseil added the comment:
thanks everybody !
--
___
Python tracker
<http://bugs.python.org/issue17915>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Simon Nicolussi:
A fix for a DeprecationWarning (#17678) had the unfortunate side effect of
changing the expected interface of the request object higher up in the call
stack.
For example, the documentation for CookieJar.add_cookie_header(request) states
that the request
Simon Nicolussi added the comment:
Requests 1.2.1 has been released to address this issue. An origin_req_host
property has been added to the request object as a workaround.
The original problem of mismatched documentation and behaviour still persists
New submission from Simon Zack:
Python already has tuple unpacking in many places, I wonder if this has been
considered for arguments yet, it seems rather convenient and a natural
extension to me.
Here's what I mean:
def func((a, b, c)):
print(a, b, c)
func((1, 2, 3))
should print
Changes by Simon Zack :
--
components: +ctypes
versions: +Python 3.4
___
Python tracker
<http://bugs.python.org/issue22961>
___
___
Python-bugs-list mailin
New submission from Simon Zack:
The ctypes.WinError function returns:
OSError(None, descr, None, code)
However OSError does not appear to allow None as a first argument, and converts
it to 22 which is the EINVAL "Invalid Argument" error. This is rather confusing
as there was
Simon Zack added the comment:
Ok, my bad, I was creating my own OSErrors so I was just testing it out. I just
found the default to be rather confusing as I thought None would not be mapped
to anything.
--
___
Python tracker
<http://bugs.python.
Simon Zack added the comment:
+1 to this feature, this will dramatically simplify property setting code.
--
nosy: +simonzack
___
Python tracker
<http://bugs.python.org/issue14
Simon Zack added the comment:
For those who want to use this right away, I've added a python implementation
of the patch, which passes the unit tests. There's a slight difference in
usage, where instead of using super() directly, super_prop(super()) needs to be
used, so we can still
New submission from Simon Conseil:
Hi,
There is an issue in the webbrowser module for Mac OS when the BROWSER
environment variable is set:
Python 2.7.10 (default, Jul 14 2015, 19:46:27)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
Type "help", "copyright
Simon Conseil added the comment:
New version of the patch to rename the _name attribute to name as in other
BaseBrowser subclasses.
--
Added file: http://bugs.python.org/file40291/webbrowser.patch
___
Python tracker
<http://bugs.python.
Changes by Simon Conseil :
Removed file: http://bugs.python.org/file40290/webbrowser.patch
___
Python tracker
<http://bugs.python.org/issue24955>
___
___
Python-bug
Changes by Simon Charette :
--
nosy: +charettes
___
Python tracker
<http://bugs.python.org/issue25137>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Simon Charette:
I attached a file with a reproduction test case that passes on Python 2.7 and
3.4 but fails on 3.5.0 and 3.5.1
This might be solved by the improvement planed in #25410.
--
components: Extension Modules
files: test.py
messages: 256945
nosy: charettes
Simon Conseil added the comment:
I have looked at the webbrowser tests and it seems not so easy: currently the
MacOS browser classes are not tested, and they don't the GenericBrowser base
class. Instead they use custom code with os.popen, so it would require some
work either replace os.
New submission from Simon Fraser:
grp.getgrgid is capable of accepting a string:
from grp import getgrgid
print(getgrgid('0'))
However, pwd.getpwuid can't do the same:
from pwd import getpwuid
print(getpwuid('0'))
Traceback (most recent call last):
File "
Changes by Simon Cross :
--
nosy: +hodgestar
___
Python tracker
<http://bugs.python.org/issue26252>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Simon Hoinkis:
MIPS64 needs ffi's n32.S linking in for _ctypes to work otherwise build errors
will occur (e.g. python-setuptools).
--
components: ctypes
files: mips64.patch
keywords: patch
messages: 237150
nosy: Simon Hoinkis
priority: normal
severity: normal
s
New submission from Simon Ye:
Based off of https://github.com/Homebrew/linuxbrew/pull/330.
Currently building python on linux only looks for sqlite include paths in a
hardcoded set of system paths, but if the user specifies -I/-L options during
compilation, python setup.py looks there for
Changes by Simon Ye :
--
nosy: +yesimon
___
Python tracker
<http://bugs.python.org/issue21571>
___
___
Python-bugs-list mailing list
Unsubscribe:
Simon Hoinkis added the comment:
Could someone review this issue?
--
___
Python tracker
<http://bugs.python.org/issue23575>
___
___
Python-bugs-list mailin
New submission from Simon Holland:
tkinters radiobutton's have an option 'indicatoron=0' which should display
Radio Buttons as actual labelled buttons.
button = tk.Radiobutton(self, text=option, variable = var, value = answer,
indicatoron=0)
Screenshots of expected and
Changes by Simon Holland :
--
nosy: +gpolo, serhiy.storchaka
___
Python tracker
<http://bugs.python.org/issue28723>
___
___
Python-bugs-list mailing list
Unsub
Simon Holland added the comment:
Thank you
On 17 November 2016 at 15:29, Serhiy Storchaka
wrote:
>
> Serhiy Storchaka added the comment:
>
> Works to me on Linux (identical results with Tkinter and Tk). In any case
> if there is some bug on your platform, this is not Tkinter
Simon Holland added the comment:
FYI, it seems that the Tk team are unable to use cocoa for this
functionality so indicatoron has not worked on OSX for Radiobuttons or
Checkbuttons for over 4 years.
On 17 November 2016 at 18:21, Simon Holland wrote:
>
> Simon Holland added the c
New submission from Simon de Vlieger :
When I have replaced sys.stdin with my own file-like object and I try to do a
multiprocessing.Pool(processes=x) I get errors about sys.stdin not having a
fileno or close method.
For at least fileno it is described in the docs
(http://docs.python.org
New submission from Jakob Simon-Gaarde :
Hi
It seems like the parse_constant keyword parameter for registering a callback
function is no longer called in Python 2.7.
http://docs.python.org/library/json.html#json.load
I am using Python 2.7.3 on Ubuntu 12.04
I have created and attached a
Jakob Simon-Gaarde added the comment:
Ok, I accept that at some point it was decided to take away the call to
parse_constant hook on "true" and "false" values. But how does it help me to
know this, I still need to react on these values?
It seems a little overkill to pars
Changes by Simon de Vlieger :
--
nosy: +ikanobori
___
Python tracker
<http://bugs.python.org/issue21052>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Simon Bernier St-Pierre :
--
keywords: +patch
pull_requests: +13493
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/13586
___
Python tracker
<https://bugs.python.org/issu
Change by Simon Bernier St-Pierre :
--
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue36686>
___
__
New submission from Simon Bernier St-Pierre:
Because of the special way Path and PurePath are instantiated, they can't be
inherited like a normal class. Here's an example of the issue:
>>> import pathlib
>>> class MyPath(pathlib.Path):
... pass
...
>>>
New submission from Simon Bernier St-Pierre :
I had trouble figuring out how to simply inherit stdin, stdout, or stderr in
the asyncio.create_subprocess_exec / asyncio.subprocess_exec docs. My
experiments show that passing either None or `sys.std*` works but the way the
docs are written make
Change by Simon Bernier St-Pierre :
--
nosy: sbstp
priority: normal
severity: normal
status: open
title: subprocess encoding
___
Python tracker
<https://bugs.python.org/issue36
Change by Simon Bernier St-Pierre :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue36687>
___
___
Pyth
Simon Bernier St-Pierre added the comment:
Could be cool to also mention that `encoding` / `errors` does not work yet.
https://bugs.python.org/issue31087
--
___
Python tracker
<https://bugs.python.org/issue36
New submission from Simon Bernier St-Pierre:
I want to receive data on a UDP socket that was bound, without blocking the
event loop. I've looked through the asyncio docs, and I haven't found a way of
doing that using the coroutine API (yield from/await).
There is a sock_recv
Simon Bernier St-Pierre added the comment:
That could work. I came up with this
class MyProtocol(aio.DatagramProtocol):
def __init__(self, fut):
self._fut = fut
def datagram_received(self, data, addr):
self.fut.set_result((data, addr))
fut = aio.Future
Simon Bernier St-Pierre added the comment:
I want to have a loop that receives data like this:
socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
socket.bind(('0.0.0.0', port))
socket.setblocking(False)
while True:
data, addr = await loop.sock_recvfrom(sock, 4096)
Simon Bernier St-Pierre added the comment:
I created a patch for it on the asyncio github repo.
https://github.com/python/asyncio/pull/321
--
___
Python tracker
<http://bugs.python.org/issue26
Changes by Simon Bernier St-Pierre :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue26395>
___
___
Python-bugs-list mailing list
Un
201 - 275 of 275 matches
Mail list logo