[issue44151] Improve parameter names and return value ordering for linear_regression

2021-05-16 Thread Miki Tebeka
Miki Tebeka added the comment: I'm +1 on the changes proposed by Raymond. In my teaching experience most developers who will use the built-in statistics package will have highschool level math experience. On the other hand, they'll probably to Wikipedia and the entry there uses dependent

[issue43737] Documentation of modulo operator should document behaviour clearly when second operator is negative

2021-04-09 Thread Miki Tebeka
Miki Tebeka added the comment: I agree with Raymond, this is not "beginner friendly". I've been using Python for 25 year and teaching it for about 10 and this topic never came up. -- nosy: +tebeka ___ Python tracker <https://bu

[issue41254] Add to/from string methods to datetime.timedelta

2020-07-09 Thread Miki Tebeka
Miki Tebeka added the comment: I think the lack sub second parts in these formats is a disadvantage. There's a merit in using a standard but IMO it's more natural to write someting like "2s" in a configuration value than "P2S" w

[issue41254] Add to/from string methods to datetime.timedelta

2020-07-09 Thread Miki Tebeka
New submission from Miki Tebeka : I suggest adding datetime.timedelta methods that convert to/from str. The reason is that I have several places where configuration contains various timeouts. I'd like to write '50ms' and not 0.05 which is more human readable. See https://golang.org/pkg/time

[issue38222] pathlib Path objects should support __format__

2019-09-19 Thread Miki Tebeka
Miki Tebeka added the comment: I don't think it violates " Explicit is better than implicit." There's a lot of work done to make pathlib.Path objects work in places where str or bytes is expected (e.g PEP 519), IMO this is an

[issue38222] pathlib Path objects should support __format__

2019-09-19 Thread Miki Tebeka
New submission from Miki Tebeka : Currently pathlib.Path cannot be used with string formatting directives. IMO it should. >>> from pathlib import Path >>> path = Path('/path/to/enlightenment') >>> print(f'path is: {path:>50}') Traceback (most recent

[issue28972] Document all "python -m" utilities

2016-12-17 Thread Miki Tebeka
Miki Tebeka added the comment: Thanks Guido, however I think my blog is not the right place - it's dog ugly and read by about 7 people on a good day :) I think that adding this to the official docs will add to the "batteries included" motto. I'll try to find a time and come up wi

[issue28972] Document all "python -m" utilities

2016-12-16 Thread Miki Tebeka
Miki Tebeka added the comment: Eric - sorry I wasn't clear. I'm not talking about the -m behavior in general but on the modules in the standard library that can be used with it. A lot of windows are happy to know about "python -m tarfile" to they can extract tar files without

[issue28972] Document all "python -m" utilities

2016-12-14 Thread Miki Tebeka
New submission from Miki Tebeka: Several modules can be invoked with -m and are pretty handy (json.tool, zipfile, tarfile ...). There should be a section in the documentation that groups all of these "python -m" tools together. Something like http://pythonwise.blogspot.nl/2015

[issue22524] PEP 471 implementation: os.scandir() directory scanning function

2014-11-25 Thread Miki Tebeka
Miki Tebeka added the comment: Can we also update iglob [1] as well? [1] https://docs.python.org/2/library/glob.html#glob.iglob -- nosy: +tebeka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22524

[issue22240] argparse support for python -m module in help

2014-09-10 Thread Miki Tebeka
Miki Tebeka added the comment: Thanks Paul, will work on that. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22240 ___ ___ Python-bugs-list

[issue22240] argparse support for python -m module in help

2014-09-10 Thread Miki Tebeka
Miki Tebeka added the comment: I don't like changing code just to accommodate testing. Will try to think of a way to solve this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22240

[issue22240] argparse support for python -m module in help

2014-09-08 Thread Miki Tebeka
Miki Tebeka added the comment: Anything else I need to solve to get this patch accepted? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22240

[issue22240] argparse support for python -m module in help

2014-08-26 Thread Miki Tebeka
Miki Tebeka added the comment: Support for directory invocation as well. -- Added file: http://bugs.python.org/file36476/prog3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22240

[issue22240] argparse support for python -m module in help

2014-08-24 Thread Miki Tebeka
Miki Tebeka added the comment: New patch with handling of zip files. -- Added file: http://bugs.python.org/file36453/prog2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22240

[issue22240] argparse support for python -m module in help

2014-08-24 Thread Miki Tebeka
Miki Tebeka added the comment: How can you run a package without -m? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22240 ___ ___ Python-bugs

[issue22240] argparse support for python -m module in help

2014-08-24 Thread Miki Tebeka
Miki Tebeka added the comment: Made the test more robust by using sys.executable in the comparison. -- Added file: http://bugs.python.org/file36461/prog3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22240

[issue22240] argparse support for python -m module in help

2014-08-22 Thread Miki Tebeka
Miki Tebeka added the comment: For zip file the help should probably be: usage: python file.zip -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22240

[issue22240] argparse support for python -m module in help

2014-08-20 Thread Miki Tebeka
New submission from Miki Tebeka: python -m module -h starts with usage: __main__.py It should be usage: python -m module -- components: Library (Lib) files: prog.diff keywords: patch messages: 225586 nosy: tebeka priority: normal severity: normal status: open title: argparse

[issue17557] test_getgroups of test_posix can fail on OS X 10.8 if more than 16 groups

2014-02-11 Thread Miki Tebeka
Miki Tebeka added the comment: I still see this in 3.4rc1 == FAIL: test_getgroups (test.test_posix.PosixTester) -- Traceback (most recent call last): File

[issue19240] iglob should try to use `readdir`

2013-10-12 Thread Miki Tebeka
New submission from Miki Tebeka: Currently glob.iglob calls os.listdir internally. Which means that if there are many files in the directory - a big list of them is created in memory. iglob should try to use readdir and be a true iterator, not consuming a lot of memory. See one possible

[issue1228112] code.py use sys.excepthook to display exceptions

2012-08-20 Thread Miki Tebeka
Miki Tebeka added the comment: Seems like #12643 did solve this. Closing. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1228112

[issue14895] test_warnings.py EnvironmentVariableTests is a bad test

2012-05-23 Thread Miki Tebeka
New submission from Miki Tebeka miki.teb...@gmail.com: EnvironmentVariableTests depends on format of string representation of objects. While working on Jython 2.7 the test failed due to: AssertionError: [u'ignore::DeprecationWarning'] != ['ignore::DeprecationWarning'] Attached is a patch

[issue3177] Add shutil.open

2012-04-27 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: Just to note there's http://pypi.python.org/pypi/desktop/0.4 out there. -- nosy: +tebeka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3177

[issue14384] Add default kw argument to operator.itemgetter and operator.attrgetter

2012-03-22 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: python-ideas post at https://groups.google.com/d/msg/python-ideas/lc_hkpKNvAg/ledftgY0mFUJ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14384

[issue14384] Add default kw argument to operator.itemgetter and operator.attrgetter

2012-03-21 Thread Miki Tebeka
New submission from Miki Tebeka miki.teb...@gmail.com: This way they will behave more like getattr and the dictionary get. If default is not specified, then if the item/attr not found, an execption will be raised, which is the current behavior. However if default is specified, then return

[issue14214] test_concurrent_futures hangs

2012-03-09 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: Of course now the tests pass and I can't reproduce it. Sorry. You can close the issue or wait to see if someone else has the same problem. -- ___ Python tracker rep...@bugs.python.org http

[issue14214] test_concurrent_futures hangs

2012-03-07 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: I happended several times. Ran it this morning an got passed it, however other tests failed though: == ERROR: test_anydbm_creation (test.test_dbm.TestCase-dbm.ndbm

[issue14214] test_concurrent_futures hangs

2012-03-06 Thread Miki Tebeka
New submission from Miki Tebeka miki.teb...@gmail.com: Running make test on 3.3a source tree on Ubuntu 11.10 (64bit) hangs at test_concurrent_futures -- components: Tests messages: 155043 nosy: tebeka priority: normal severity: normal status: open title: test_concurrent_futures hangs

[issue13865] distutils documentation says Extension has optional argument

2012-01-25 Thread Miki Tebeka
New submission from Miki Tebeka miki.teb...@gmail.com: The Extension documentation says: 2.3.5. Other options There are still some other options which can be used to handle special cases. The optional option is a boolean; if it is true, a build failure in the extension will not abort

[issue13865] distutils documentation says Extension has optional argument

2012-01-25 Thread Miki Tebeka
Changes by Miki Tebeka miki.teb...@gmail.com: -- assignee: - docs@python components: +Documentation nosy: +docs@python versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13865

[issue12614] Allow to explicitly set the method of urllib.request.Request

2011-07-26 Thread Miki Tebeka
Changes by Miki Tebeka miki.teb...@gmail.com: -- hgrepos: +48 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12614 ___ ___ Python-bugs-list mailing

[issue12614] Allow to explicitly set the method of urllib.request.Request

2011-07-26 Thread Miki Tebeka
Changes by Miki Tebeka miki.teb...@gmail.com: -- hgrepos: +49 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12614 ___ ___ Python-bugs-list mailing

[issue12614] Allow to explicitly set the method of urllib.request.Request

2011-07-26 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: My bad about the hg location, it was a private repo (for some reason this is the bitbucket default). I tried to remove the other repos, but for some reason this doesn't work. The right one is https://bitbucket.org/tebeka/cpython#request

[issue12614] Allow to explicitly set the method of urllib.request.Request

2011-07-25 Thread Miki Tebeka
Changes by Miki Tebeka miki.teb...@gmail.com: -- hgrepos: +46 Added file: http://bugs.python.org/file22753/request-method.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12614

[issue12614] Allow to explicitly set the method of urllib.request.Request

2011-07-22 Thread Miki Tebeka
New submission from Miki Tebeka miki.teb...@gmail.com: Currently urllib.request.Request decides if it's a GET or POST by the presence of data. However sometimes you want to do an POST request without data (in my case, it Crucible REST API). Or provide another method. The attached patched

[issue12614] Allow to explicitly set the method of urllib.request.Request

2011-07-22 Thread Miki Tebeka
Changes by Miki Tebeka miki.teb...@gmail.com: -- type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12614 ___ ___ Python-bugs

[issue12614] Allow to explicitly set the method of urllib.request.Request

2011-07-22 Thread Miki Tebeka
Changes by Miki Tebeka miki.teb...@gmail.com: -- components: +Library (Lib) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12614 ___ ___ Python

[issue12403] Mention sys.displayhook in code module docs and the compile builtin docs

2011-06-25 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: Yeah, I though about using dup2 from stdout/stderr to the socket. However this means I can connect only one client at a time. Which was an issue I was trying to avoid. Didn't think about print statements though ... Thanks

[issue12402] Overriding code.InteractiveConsole.write does not work

2011-06-24 Thread Miki Tebeka
New submission from Miki Tebeka miki.teb...@gmail.com: Consider the following code: import code class Console(code.InteractiveConsole): def write(self, data): print(DATA: {0}.format(data)) c = Console() c.interact() Then enter 1 at the prompt. The output

[issue12402] Overriding code.InteractiveConsole.write does not work

2011-06-24 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: I'm trying to read/write data from a socket. Does this mean I need to roll up my own Interpreter? (e.g. no way to override writing to stdout?) Since this is the expected behaviour, will close this one. -- status: closed - open

[issue12403] Allow overriding of writing to stdout in code.InteractiveConsole

2011-06-24 Thread Miki Tebeka
New submission from Miki Tebeka miki.teb...@gmail.com: Currently, code.InteractiveConsole lets your override write which is the error stream. Allow overriding of normal (stdout) writing as well. This will enable to spawn interpreters into custom stdin/stdout. See twisted.manhole for example

[issue11797] 2to3 does not correct reload

2011-04-07 Thread Miki Tebeka
New submission from Miki Tebeka miki.teb...@gmail.com: The following code is not changed by 2to3:: import os reload(os) reload has moved to the imp module. -- components: 2to3 (2.x to 3.0 conversion tool) messages: 133223 nosy: tebeka priority: normal severity: normal

[issue11797] 2to3 does not correct reload

2011-04-07 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: Raymond: Sometimes I store configuration in Python files and would like to reload the configuration. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11797

[issue6064] Add daemon argument to threading.Thread constructor

2011-02-25 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: Thank you! On Fri, Feb 25, 2011 at 2:08 PM, Antoine Pitrou rep...@bugs.python.org wrote: Antoine Pitrou pit...@free.fr added the comment: I corrected the patches (they were breaking the property of inheriting daemon by default

[issue9527] Add aware local time support to datetime module

2011-01-30 Thread Miki Tebeka
Changes by Miki Tebeka miki.teb...@gmail.com: -- nosy: -tebeka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9527 ___ ___ Python-bugs-list

[issue3548] subprocess.pipe function

2011-01-03 Thread Miki Tebeka
Changes by Miki Tebeka miki.teb...@gmail.com: -- nosy: -tebeka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3548 ___ ___ Python-bugs-list

[issue2736] datetime needs an epoch method

2010-12-17 Thread Miki Tebeka
Changes by Miki Tebeka miki.teb...@gmail.com: -- nosy: -tebeka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2736 ___ ___ Python-bugs-list

[issue9111] cmd.do_help documentation should mention docstrings

2010-06-28 Thread Miki Tebeka
New submission from Miki Tebeka miki.teb...@gmail.com: cmd.Cmd looks for help either by searching for help_XXX method or by the docstring of do_XXX. The latter is not mentioned in the docs. -- components: Library (Lib) messages: 108883 nosy: tebeka priority: normal severity: normal

[issue1083] Confusing error message when dividing timedelta using /

2010-03-31 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: It's marked on 2.7 due to the following (this is svn 79528) from datetime import timedelta d = timedelta(1) d / 2 datetime.timedelta(0, 43200) d // 2 datetime.timedelta(0, 43200) from __future__ import division d / 2 Traceback (most

[issue1083] Confusing error message when dividing timedelta using /

2010-03-18 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: I see the same problem when from __future__ import division on the 2.x series. Seem like the timedelta objects is missing the __truediv__ method. -- nosy: +tebeka versions: +Python 2.7 ___ Python

[issue6064] Add daemon argument to threading.Thread constructor

2009-06-17 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: I'm attaching a new diff (svn diff threading.diff), hope this one's OK. -- Added file: http://bugs.python.org/file14312/threading.diff ___ Python tracker rep...@bugs.python.org http

[issue6064] Add daemon argument to threading.Thread constructor

2009-06-17 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: I'm diffing against the 2.7 branch, I guess your comes from the 3.2? Will checkout 3.2 and do it there as well. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6064

[issue6064] Add daemon argument to threading.Thread constructor

2009-06-17 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: Attaching a diff against the py3k branch on revision 73468 -- Added file: http://bugs.python.org/file14314/threading3k.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue6080] Itertools objects are missing send

2009-05-21 Thread Miki Tebeka
New submission from Miki Tebeka miki.teb...@gmail.com: Some (most?) of the itertools functions generators do not supprt send. from itertools import count n = count(0) n.next() 0 n.send(1) Traceback (most recent call last): File stdin, line 1, in module AttributeError: 'itertools.count

[issue6080] Itertools objects are missing send

2009-05-21 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: My bad, thought that every iterator is supposed to implement send. I still think that count and repeat can support and use it. -- status: open - closed ___ Python tracker rep...@bugs.python.org

[issue6064] Add daemon argument to threading.Thread constructor

2009-05-21 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: I think that self.__daemonic = daemon or self._set_daemon() is wrong, need to thing about it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6064

[issue6064] Add daemon argument to threading.Thread constructor

2009-05-20 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: Attaching a patch against trunk (at revision 72805). -- keywords: +patch Added file: http://bugs.python.org/file14029/threading.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue6064] Add daemon argument to threading.Thread constructor

2009-05-19 Thread Miki Tebeka
New submission from Miki Tebeka miki.teb...@gmail.com: It would be nice if threading.Thread constructor will have a daemon argument as well. This way we'll be able to write Thread(target=some_function, daemon=1).start() Instead of currently writing t = Thread(target=some_function

[issue5825] Patch to add remove method to tempfile.NamedTemporaryFile

2009-04-23 Thread Miki Tebeka
New submission from Miki Tebeka miki.teb...@gmail.com: Adding remove method to NamedTemporaryFile will reduce the need to import os.unlink when creating a NamedTemporaryFile with delete=False. -- components: Library (Lib) files: tempfile.diff keywords: patch messages: 86387 nosy: tebeka

[issue1468223] Hitting CTRL-C while in a loop closes IDLE on cygwin

2009-03-28 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: Happily(?) I don't use Windows anymore. Closing it. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1468223

[issue4124] Patch for adding default to itemgetter and attrgetter

2009-02-03 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: Can't we find a faster dog for lambda :) Anyway, I agree that we need to see more demand for that before going on. Let's keep this ticket open and see if someone else comes along. ___ Python tracker rep

[issue4124] Patch for adding default to itemgetter and attrgetter

2009-02-02 Thread Miki Tebeka
Miki Tebeka miki.teb...@gmail.com added the comment: Hmmm, too much time has passed and my 1bit memory has overflowed since :) IIRC it has to do with the fact that not all nodes in BeautifulSoup has a name attribute. I wanted to count how may tr there were, so len(filter(lambda n: n == tr

[issue4017] Tkinter cannot find Tcl/Tk on Mac OS X

2008-12-19 Thread Miki Tebeka
Changes by Miki Tebeka miki.teb...@gmail.com: -- nosy: -tebeka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4017 ___ ___ Python-bugs-list

[issue4356] Add key argument to bisect module functions

2008-11-21 Thread Miki Tebeka
Miki Tebeka [EMAIL PROTECTED] added the comment: I agree you can get around this with defining __cmp__, however same goes to sort and it was added anyway. My take on it is that sometimes I need to find something in a big list of objects, and I don't like to do DSU and not add __cmp__

[issue4356] Add key argument to bisect module functions

2008-11-19 Thread Miki Tebeka
New submission from Miki Tebeka [EMAIL PROTECTED]: It'd be helpful of the functions in the bisect modules will have a key argument just like sort. -- messages: 76060 nosy: tebeka severity: normal status: open title: Add key argument to bisect module functions

[issue4356] Add key argument to bisect module functions

2008-11-19 Thread Miki Tebeka
Changes by Miki Tebeka [EMAIL PROTECTED]: -- components: +Library (Lib) type: - feature request versions: +Python 2.7, Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4356

[issue4017] IDLE 2.6 broken on OSX (Leopard)

2008-10-05 Thread Miki Tebeka
Changes by Miki Tebeka [EMAIL PROTECTED]: -- nosy: +tebeka ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4017 ___ ___ Python-bugs-list mailing list

[issue3593] subprocess + stdout redirection + wait + svn= hang

2008-08-18 Thread Miki Tebeka
New submission from Miki Tebeka [EMAIL PROTECTED]: The attached script hangs on Ubuntu + Python 2.5.2. When make the limit smaller (like 10) or not redirecting stdout, it works. Running the svn command from shell took about 4sec, I gave up on the script after a minute. I tried it both with svn

[issue3548] subprocess.pipe function

2008-08-12 Thread Miki Tebeka
New submission from Miki Tebeka [EMAIL PROTECTED]: Attached is a patch that add pipe command to the subprocess module. pipe([ls], [grep, test_]) will return the output of ls | grep test_. -- components: Library (Lib) files: pipe.patch keywords: patch messages: 71062 nosy: tebeka

[issue3548] subprocess.pipe function

2008-08-12 Thread Miki Tebeka
Miki Tebeka [EMAIL PROTECTED] added the comment: Not sure about the name, maybe chain will be better? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3548

[issue1592] operations on closed shelves fail cryptically

2008-07-25 Thread Miki Tebeka
Miki Tebeka [EMAIL PROTECTED] added the comment: Any reason this is not in trunk yet? -- nosy: +tebeka ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1592

[issue3345] Patch for CGIHTTPServer.is_cgi function documentation

2008-07-11 Thread Miki Tebeka
New submission from Miki Tebeka [EMAIL PROTECTED]: The current documentation is wrong and does not specify the fact that this functions sets cgi_info (maybe also rename the function?) -- assignee: georg.brandl components: Documentation files: CGIHTTPServer.py.diff keywords: patch

[issue3088] test_multiprocessing hangs on OS X 10.5.3

2008-07-02 Thread Miki Tebeka
Miki Tebeka [EMAIL PROTECTED] added the comment: Still hangs for me on revision 64665 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3088 ___ ___ Python-bugs

[issue3088] test_multiprocessing hangs on OS X 10.5.3

2008-07-02 Thread Miki Tebeka
Miki Tebeka [EMAIL PROTECTED] added the comment: I just run make test and it never moves past test_multiprocessing. Maybe it's my machine which is dual cpu quad core (total of 8 cores)? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3088

[issue3154] Quick search box renders too long on FireFox 3

2008-06-27 Thread Miki Tebeka
Miki Tebeka [EMAIL PROTECTED] added the comment: I see the big search box on http://docs.python.org/dev/. The gray box is just me highlighting the problematic area in the picture, not in the actual web site. Sorry I wasn't clear about that. My settings is FF3 on Untuntu 8.04

[issue3154] Quick search box renders too long on FireFox 3

2008-06-27 Thread Miki Tebeka
Miki Tebeka [EMAIL PROTECTED] added the comment: Changing the default font in FF to 14 points seems to fix the problem (my default is 22). ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3154

[issue3088] test_multiprocessing hangs on OS X 10.5.3

2008-06-20 Thread Miki Tebeka
Miki Tebeka [EMAIL PROTECTED] added the comment: Still hangs for me on the 2.6 trunk on Ubuntu 8.04 -- nosy: +tebeka ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3088

[issue3154] Quick search box renders too long on FireFox 3

2008-06-20 Thread Miki Tebeka
New submission from Miki Tebeka [EMAIL PROTECTED]: See gray area in attached screenshot -- assignee: georg.brandl components: Documentation files: doc.png messages: 68479 nosy: georg.brandl, tebeka severity: normal status: open title: Quick search box renders too long on FireFox 3

[issue3154] Quick search box renders too long on FireFox 3

2008-06-20 Thread Miki Tebeka
Miki Tebeka [EMAIL PROTECTED] added the comment: Using final version (on Ubuntu 8.04) ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3154 ___ ___ Python-bugs

[issue3088] test_multiprocessing hangs on OS X 10.5.3

2008-06-20 Thread Miki Tebeka
Miki Tebeka [EMAIL PROTECTED] added the comment: Jesse, I just run make test, it runs until test_multiprocessing and then hangs there ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3088

[issue2736] datetime needs and epoch method

2008-05-11 Thread Miki Tebeka
Miki Tebeka [EMAIL PROTECTED] added the comment: I think the name is not good, should be toepoch or something like that. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2736

[issue2736] datetime needs and epoch method

2008-05-01 Thread Miki Tebeka
New submission from Miki Tebeka [EMAIL PROTECTED]: If you try to convert datetime objects to seconds since epoch and back it will not work since the microseconds get lost: dt = datetime(2008, 5, 1, 13, 35, 41, 56) seconds = mktime(dt.timetuple()) datetime.fromtimestamp(seconds) == dt

[issue2669] bsddb iterkeys sliently fails when database modified during iteration

2008-04-22 Thread Miki Tebeka
New submission from Miki Tebeka [EMAIL PROTECTED]: db = bsddb.btopen(/tmp/n) for i in range(5): db[str(i)] = None db {'1': '', '0': '', '3': '', '2': '', '4': ''} for k in db.iterkeys(): print k del db[k] 0 The Python dict object raises a RuntimeError when

[issue2227] time.strptime too strict? should it assume current year?

2008-03-20 Thread Miki Tebeka
Miki Tebeka [EMAIL PROTECTED] added the comment: Here is a patch, hope it'll make it to 2.6 -- keywords: +patch nosy: +tebeka Added file: http://bugs.python.org/file9788/_strptime.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2227

[issue2229] Search in 2.6 docs does not work

2008-03-03 Thread Miki Tebeka
New submission from Miki Tebeka: Try searching for anything on http://docs.python.org/dev/search.html No result is shown (at least on FireFox and IE7). -- components: Documentation messages: 63242 nosy: tebeka severity: normal status: open title: Search in 2.6 docs does not work type

[issue908316] pdb should hash stdout

2008-02-06 Thread Miki Tebeka
Miki Tebeka added the comment: Looks closed to me, tried `./t.py t.py`, it worked Added file: http://bugs.python.org/file9374/t.py Tracker [EMAIL PROTECTED] http://bugs.python.org/issue908316

[issue1220212] os.kill on windows

2008-01-11 Thread Miki Tebeka
Miki Tebeka added the comment: Users should substitute their popen and exec calls with subprocess As long as popen and exec are available, users are free to use them (and probably will :) The Popen(...).terminate() works only if I'm the one who started the process. However there are cases

[issue1530] doctest should return error if not all tests passed

2007-12-10 Thread Miki Tebeka
Miki Tebeka added the comment: Thank you for accepting it :) __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1530 __ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1530] doctest should return error if not all tests passed

2007-11-30 Thread Miki Tebeka
New submission from Miki Tebeka: python -mdoctest mymodule should return an error to the OS when a test fails. See patch. -- components: Library (Lib) files: doctest.py.diff messages: 58020 nosy: tebeka severity: normal status: open title: doctest should return error if not all tests

[issue1453] Python does not honor CFLAGS environment variable

2007-11-16 Thread Miki Tebeka
New submission from Miki Tebeka: Setting CFLAGS environment variable do not show up in the build process, the gcc flags do not include the CFLAGS flags. -- components: Build messages: 57588 nosy: tebeka severity: normal status: open title: Python does not honor CFLAGS environment

[issue1453] Python does not honor CFLAGS environment variable

2007-11-16 Thread Miki Tebeka
Miki Tebeka added the comment: OK, let's close it then. (However note that in two projects I've checked - vim and pcre the CFLAGS environment variable do get reflected in the build process) Any standard way to add custom compilation flags?. __ Tracker [EMAIL

[issue1215] Python hang when catching a segfault

2007-09-28 Thread Miki Tebeka
Miki Tebeka added the comment: Because it hangs Python :) I know, while 1: pass also hangs Python, however it'll nice if this behaviour was documented or (IMO better) that Python will raise an InvalidArgument exception on SIGSEGV (like it does for SIGKILL

[issue1215] Python hang when catching a segfault

2007-09-27 Thread Miki Tebeka
New submission from Miki Tebeka: The following code hangs Python: #!/usr/bin/env python import segfault import signal from os import _exit from sys import stdout def handler(signal, stackframe): print OUCH stdout.flush() _exit(1) if __name__ == __main__: from sys import argv