[issue6059] uuid.uuid4 cause segfault in emesene

2011-03-04 Thread Izidor Matušov

Izidor Matušov  added the comment:

This bug is still present in Gentoo. Find while trying to  Steps to reproduce

1, install gentoo (testing on amd64 machine)
2, run commands in python
from gtk import glade
import uuid
uuid.uuid4()

It results in Segmentation fault.

--
nosy: +izidor

___
Python tracker 
<http://bugs.python.org/issue6059>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6059] uuid.uuid4 cause segfault in emesene

2011-03-04 Thread Izidor Matušov

Izidor Matušov  added the comment:

After searching at Gentoo's bugzilla, I've found that there is probably problem 
in gentoo's libuuid library implementation: 
http://bugs.gentoo.org/show_bug.cgi?id=317557

--

___
Python tracker 
<http://bugs.python.org/issue6059>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17659] First weekday

2013-04-08 Thread Izidor Matušov

New submission from Izidor Matušov:

There is no way how to figure out the first weekday: Does a week start with 
Monday or Saturday? (Or any other day?)

According to documentation, module locale doesn't provide this information. 
Module calendar uses European convention (Monday is the first weekday).

Purpose of this issue is to have a way how to return first weekday (Monday, 
Sunday, etc)

Known workarounds:
  * 
http://blogs.gnome.org/patrys/2008/09/29/how-to-determine-the-first-day-of-week/
  * 
https://github.com/projecthamster/hamster/blob/master/src/hamster/lib/stuff.py#L153
  * 
http://stackoverflow.com/questions/4265697/how-to-determine-the-first-day-of-week-in-python

--
components: Library (Lib)
messages: 186280
nosy: IzidorMatusov
priority: normal
severity: normal
status: open
title: First weekday
type: enhancement

___
Python tracker 
<http://bugs.python.org/issue17659>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17659] no way to determine First weekday (based on locale)

2013-04-13 Thread Izidor Matušov

Izidor Matušov added the comment:

Yes, I need to find out calendar-week-start-day information based on the 
current locale.

Or in the other words, I need to find out what the correct parameter for 
calendar.Calendar([firstweekday]) object is. With locale en_US it should be 
Sunday, with locale sk_SK it should be Monday, and so on.

I guess it could be find out from LC_TIME locale.

There is already API for such small bits of information:


locale.localeconv()
Returns the database of the local conventions as a dictionary. This dictionary 
has the following strings as keys:


However, there is no category for LC_TIME so far.

--

___
Python tracker 
<http://bugs.python.org/issue17659>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com