Yuriy Zhuravlev added the comment:
>Any RFC I'm looking at says that the value is required, so your syntax is
>simply not valid and is rejected by the parser.
Perhaps but this cookies sets not by me (maybe JS ads widget or etc). And I
can't fix it. I can't auth users because their c
New submission from Yuriy Zhuravlev:
After I migrated my site to Python 3.5 from 3.4 many users of my site have not
been able to login. After small research I found out that users cookies there
was a key without value and new Python get empty SimpleCookie result.
Example for Python 3.5.2
Yuriy Syrovetskiy added the comment:
You don't need `raw=True`, `.cast('b')` already must do this. But
unfortunately, is is not implemented yet.
--
nosy: +cblp
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15944
Yuriy Taraday added the comment:
Can we move forward and land this patch? It seems to be working and for some
reason it even makes that microbenchmark work faster.
--
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http
Yuriy Taraday added the comment:
Adding Benjamin Peterson as original author of multiprocessing (according to hg
logs)
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21078
Yuriy Taraday added the comment:
Oh, sorry.
--
nosy: -benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21078
___
___
Python-bugs
New submission from Yuriy Taraday:
We're going to use BaseManager for simple secure local RPC and for the secure
part we can't use pickle, so we have to use serializer argument to switch to
xmlrpclib.
We need to be sure that argument won't go away so we need it to be documented
and supported
Yuriy Taraday added the comment:
Can someone please point out why do we have to do that dance with recursion
limit?
I've came upon this problem as well. I had some (bad) API I had to work with.
It always raised the same exception with the only difference in the message. So
I thought I could
Yuriy Senko added the comment:
Added validation of input data. Check whether low = mode = high. If low ==
high return low as a result.
--
nosy: +Chaka_bum, asvetlov
Added file: http://bugs.python.org/file29709/issue_13355.patch
___
Python tracker
Yuriy Senko added the comment:
Patch ported from
http://code.google.com/p/mock/issues/attachmentText?id=190aid=19name=mock.patchtoken=6pDNkNBcNLDftg-PsUE8roPb6T4%3A1363712167613
--
keywords: +patch
nosy: +Chaka_bum, asvetlov
Added file: http://bugs.python.org/file29713
Yuriy Syrovetskiy c...@cblp.su added the comment:
@vinay.sajip
My time.timezone is -14400. What is yours?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14902
Yuriy Syrovetskiy c...@cblp.su added the comment:
And datetime.datetime.now().tzinfo is always None.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14902
New submission from Yuriy Syrovetskiy c...@cblp.su:
rev 152c78b94e41
test test_logging failed -- Traceback (most recent call last):
File /home/cblp/my/cpython_default/Lib/test/test_logging.py, line 2903, in
test_time
self.assertEqual(f.formatTime(r), '1993-04-21 08:03:00,123
Yuriy Syrovetskiy c...@cblp.su added the comment:
My local timezone is Europe/Moscow, UTC+4, no daylight saving since 2011.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14902
Yuriy Syrovetskiy c...@cblp.su added the comment:
Can the datagramHandler.host change during execution? If so, the address family
of the socket can change. So, we should create a socket for every new message.
Check my patch #2.
Also I extended socket.create_connection to support UDP
Yuriy Syrovetskiy c...@cblp.su added the comment:
test_logging is not broken, but just fails.
test test_logging failed -- Traceback (most recent call last):
File /home/cblp/my/cpython_default/Lib/test/test_logging.py, line 2903, in
test_time
self.assertEqual(f.formatTime(r), '1993-04-21
New submission from Yuriy Syrovetskiy c...@cblp.su:
IPv4 operations may fail on IPv6 systems, and vice versa. So we have to create
sockets with the proper address family.
Maybe this behaviour could be incapsulated in socket object, but didn't find a
good way to do it.
No documentation
Yuriy Syrovetskiy c...@cblp.su added the comment:
More correct description: IPv4 operations may fail on IPv6 systems, and vice
versa; so we have to detect the proper address family before creating a socket.
--
___
Python tracker rep
Yuriy Syrovetskiy c...@cblp.su added the comment:
On my computer, connect() on a UDP socket always finishes successfully. What's
wrong?
I tried that C example from man getaddrinfo(3).
--
___
Python tracker rep...@bugs.python.org
http
New submission from Yuriy Pilgun p...@ukrpost.net:
Reading UTF-16 text file with module 'codecs' fails, if surrogate pair is
located at 72-character boundary.
Attached python script fails with message:
UnicodeDecodeError: 'utf16' codec can't decode bytes in position 70-71:
unexpected end
Yuriy iro...@mail.ru added the comment:
+test_var = Py_BuildValue(?, 0);
+if (PyBool_Check(test_var) test_var == Py_True) {
+PyErr_SetString(TestError, Failed to Create boolean);
+return NULL;
+}
+
+test_var = Py_BuildValue(?, 1);
+if (PyBool_Check
Yuriy iro...@mail.ru added the comment:
sorry ^_^
+test_var = Py_BuildValue(?, 0);
+if (!PyBool_Check(test_var) || test_var == Py_True) {
+PyErr_SetString(TestError, Failed to Create boolean);
+return NULL;
+}
+
+test_var = Py_BuildValue(?, 1
New submission from Yuriy iro...@mail.ru:
If a value created by Py_VaBuildValue and parameter b is transfered - a
PyLong_Type value is returned despite of the fact that it would be reasonable
if PyBool_Type were returned. Are there any reasons for this?
modsupport.c Ln 214
Yuriy iro...@mail.ru added the comment:
Thank you, how is it possible to ask the developers to add such a flag?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10880
Yuriy iro...@mail.ru added the comment:
case 'g':
{
int n;
n = va_arg(*p_va, int);
if (n == 0)
Py_RETURN_FALSE;
else
New submission from Yuriy Taraday yorik@gmail.com:
I have straight IP in my proxy exception list like 192.168.0.2 without mask
specification.
The proxy_bypass_macosx_sysconf function verifies each item in this list by
regexp r(\d+(?:\.\d+)*)(/\d+)? that produces two groups: IP and mask
Yuriy Taraday yorik@gmail.com added the comment:
The strange thing is that in both 2.7 and 3.1 branches there is no such code at
all. Inernet Config is used there without mentioning any exceptions despite the
fact that ic module is marked as deprecated and proxy bypass is real
Yuriy Taraday yorik@gmail.com added the comment:
I'm completely lost 2.7 tree in svn.
My last post was about 3.1.2 release. As I understand, System Configuration
framework is being used since 2.6.5 and 3.2.
So, this bug is about all this versions.
--
versions: +Python 2.7, Python
Yuriy Taraday yorik@gmail.com added the comment:
os.popen is obsolete and as I understand is removed from 3k. Use subprocess
module instead.
http://docs.python.org/library/os.html?highlight=popen#os.popen
--
nosy: +yorik.sar
___
Python tracker
Yuriy Taraday yorik@gmail.com added the comment:
Can this change be included in the 2.6 release?
It's small enough but necessary for our current development.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8117
New submission from Yuriy Taraday yorik@gmail.com:
Screnario:
- start logging, log something;
- stop logging (stop application, for example);
- start logging again after rotate interval passes.
log4j's RotatingFileAppender's behavior:
After restart, logfile is rotated if nessesary
31 matches
Mail list logo