Mark Summerfield [EMAIL PROTECTED] added the comment:
[snip]
13) Implement a grouptuples(...) method as per Mark Summerfield's
suggest on 2008-05-28 09:38. grouptuples would take the same filtering
parameters as the other group* functions, and would return a list of 3-
tuples (unless only 1
Ivan Vilata i Balaguer [EMAIL PROTECTED] added the comment:
The attached version of ``optparse_unicode.py`` doensn't depend on a
UTF-8 locale, sorry.
Added file: http://bugs.python.org/file10650/optparse_unicode2.py
___
Python tracker [EMAIL PROTECTED]
New submission from Amaury Forgeot d'Arc [EMAIL PROTECTED]:
On windows, test_httpservers fails with the error:
File C:\python\py3k\Lib\http\server.py, line 1104, in run_cgi
exec(open(scriptfile).read(), {__name__: __main__})
File string, line 3, in module
File
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
The attached patch uses subprocess when fork is not available.
test_httpservers now passes on windows
--
keywords: +patch
Added file: http://bugs.python.org/file10651/httpserver.patch
___
Jesse Noller [EMAIL PROTECTED] added the comment:
I switched to a more aggressive skip as it doesn't seem /dev/shm is the culprit
(at least from overnight runs). I committed it in r64375 on trunk
and I am going to wait for the build bots to run on trunk before merging.
Raghuram Devarakonda [EMAIL PROTECTED] added the comment:
Richard, I see the following very clearly mentioned in the doc:
If you want a given stdin to be used, make sure to set the instance’s
use_rawinput attribute to False, otherwise stdin will be ignored.
Even though this seems like
roudkerk [EMAIL PROTECTED] added the comment:
This patch to sharedctypes should fix the problem by adding a
__reduce_ex__() method to a shared ctype object instead of using copy_reg.
--
keywords: +patch
Added file: http://bugs.python.org/file10652/sharedctypes.py.patch
Arnaud Bergeron [EMAIL PROTECTED] added the comment:
Would these do?
self.assertEqual(slice(None, -10).indices(10), (0, 0, 1))
self.assertEqual(slice(None, -11, ).indices(10), (0, 0, 1))
self.assertEqual(slice(None, -12, -1).indices(10), (9, -1, -1))
If yes, test_slice.patch
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
But why this is win32 specific?
Is it because windows cannot fork(), so data has to be copied through
the pickle mechanism?
In this case let's remove the if win32 statement, and always execute
the body.
--
nosy:
roudkerk [EMAIL PROTECTED] added the comment:
But why this is win32 specific?
Is it because windows cannot fork(), so data has to be copied through
the pickle mechanism?
In this case let's remove the if win32 statement, and always execute
the body.
Yes, on Windows pickling is needed to
Thomas Heller [EMAIL PROTECTED] added the comment:
roudkerk schrieb:
roudkerk [EMAIL PROTECTED] added the comment:
This patch to sharedctypes should fix the problem by adding a
__reduce_ex__() method to a shared ctype object instead of using copy_reg.
I can confirm that the patch fixes the
Changes by Antoine Pitrou [EMAIL PROTECTED]:
--
nosy: +gvanrossum
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3112
___
___
Python-bugs-list mailing
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Does anyone know why there is the following test in pythonrun.c:
http://hg.pitrou.net/public/py3k/py3k/file/c143699d8dee/Python/pythonrun.c#l1346
Can PyErr_Display be called with something else than a PyException instance?
Jesse Noller [EMAIL PROTECTED] added the comment:
Thomas' patch applied and runs clean for me - does anyone have a problem
with me submitting it?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3125
___
Jean Brouwers [EMAIL PROTECTED] added the comment:
Three questions on the sizeof.patch:
1) In the first line of function dict_sizeof()
+ res = sizeof(PyDictObject) + sizeof(mp-ma_table);
is the sizeof(mp-ma_table) counted twice?
2) Since functions list_sizeof and dict_sizeof
New submission from David Vitek [EMAIL PROTECTED]:
If copystat fails in copytree on a non-windows box, you will get:
NameError: global name 'WindowsError' is not defined:
...
except WindowsError:
--
components: Library (Lib)
files: p.patch
keywords: patch
messages: 68373
nosy:
Raghuram Devarakonda [EMAIL PROTECTED] added the comment:
This is same as #2549 which also reported the same problem. In fact, the
problem was originally found in #1545. As I said there, the proposed
patch has a very small problem. Can you please take a look?
--
nosy: +draghuram
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Two other questions:
1) Should I expose a PyErr_DisplaySingle API to display an exception
without chaining?
2) Should PyErr_Display return an integer value (0: success, -1:
failure) rather than void as it currently does?
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
roudkerk wrote:
Yes, on Windows pickling is needed to pass data to a child process. In
other contexts these objects are NOT picklable because you would have to
worry about garbage collection of the original object before the copy is
Robert Schuppenies [EMAIL PROTECTED] added the comment:
Jean Brouwers wrote:
1) In the first line of function dict_sizeof()
+ res = sizeof(PyDictObject) + sizeof(mp-ma_table);
is the sizeof(mp-ma_table) counted twice?
Yes, you are right. I'll fix this.
2) Since functions
New submission from George Sakkis [EMAIL PROTECTED]:
I'd like to propose a new function for inclusion to the inspect module
-- getcallargs(func, *args, **kwds) -- that returns a dict which maps
the formal arguments of a function (or other callable) to the values
passed as args and kwds, just as
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Committed change r64389.
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3133
___
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Here is a draft patch for those who want to take a look.
(it works but the final cleanup is waiting for the API decisions
mentioned above)
--
keywords: +patch
Added file: http://bugs.python.org/file10656/exc_reporting.patch
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment:
Kind of fixed: test_socket_ssl was removed in both trunk and py3k branches.
tests are now in test_ssl.py
--
nosy: +amaury.forgeotdarc
resolution: - fixed
status: open - closed
___
Python
Benjamin Peterson [EMAIL PROTECTED] added the comment:
Seems this was done in r64385.
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2885
___
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
dependencies: -Create the urllib package
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2775
___
___
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
I'm going to knock this one down to critical since it's working for me
now on OS X and buildbot looks green. We can address any additional
patches after the beta release.
--
priority: release blocker - critical
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
There are green buildbots now so I'm releasing beta 1.
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3089
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
There are green buildbots now so I'm releasing beta 1.
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3089
___
Brett Cannon [EMAIL PROTECTED] added the comment:
And I don't know if the proper additions to 2to3 and a warning in
urllib.urlopen() in 2.6 has been done (is urllib.urlopen() so different
from urllib2.urlopen() that the warning should be from any usage, or
only if incompatible arguments are
New submission from Leandro Lucarella [EMAIL PROTECTED]:
When using logging.config.fileConfig() in a large project, with several
nested loggers, is very counterintuitive and annoying that this function
disable all non-configured-via-fileConfig() loggers, because it forces
the config file to
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
assignee: - vsajip
nosy: +vsajip
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3136
___
___
Barry A. Warsaw [EMAIL PROTECTED] added the comment:
This must have been a packaging snafu for 3.0a5. The candidate 3.0b1
tarball looks fine.
--
resolution: - invalid
status: open - closed
___
Python tracker [EMAIL PROTECTED]
Richard King [EMAIL PROTECTED] added the comment:
There were some other things I wanted too so I just made my own cmd.py.
-Rick
Raghuram Devarakonda wrote:
Raghuram Devarakonda [EMAIL PROTECTED] added the comment:
Richard, I see the following very clearly mentioned in the doc:
If you want
34 matches
Mail list logo